Skip to content

Commit

Permalink
Merge pull request #3 from Vendic/bugfix/HAIMW-243-add_validation_to_…
Browse files Browse the repository at this point in the history
…checkout_billing_form

HAIMW-243: added vat_id validation to checkout billing form
  • Loading branch information
kis28viktor authored Dec 17, 2024
2 parents 6b8898d + 2449914 commit 10be04a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions etc/frontend/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,13 @@
</argument>
</arguments>
</type>
<type name="Hyva\Checkout\Model\Form\EntityForm\EavAttributeBillingAddressForm">
<arguments>
<argument name="entityFormModifiers" xsi:type="array">
<item name="add_vat_id_field_validation" xsi:type="object">
Vendic\HyvaCheckoutEuVatIdFormatValidator\Model\Form\AddVatIdFieldValidation
</item>
</argument>
</arguments>
</type>
</config>

0 comments on commit 10be04a

Please sign in to comment.