Skip to content

Commit

Permalink
fix: Make VAT and EORI fields optional for non-EU checkout (#1219)
Browse files Browse the repository at this point in the history
INT-778
Make VAT and EORI fields optional for non-EU checkout
  • Loading branch information
GravendeelJochem authored Jan 9, 2025
1 parent 95a5a9b commit 1950afa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Hooks/TaxFieldsHooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ public function extendDefaultsWithTaxFields(array $fields): array
return array_merge($fields, [
Pdk::get('fieldEoriNumber') => [
'hidden' => false,
'required' => true,
'required' => false,
],
Pdk::get('fieldVatNumber') => [
'hidden' => false,
'required' => true,
'required' => false,
],
]);
}
Expand Down

0 comments on commit 1950afa

Please sign in to comment.