Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 752 Bytes

2021-03-21-add-vat-id-required-to-each-country-setting.md

File metadata and controls

13 lines (13 loc) · 752 Bytes
title issue
Add VAT id required to each country setting
NEXT-14118

Core

  • Added new property vatIdRequired in class Shopware\Core\System\Country\CountryEntity.
  • Added requiredVatIdField function to Shopware\Core\Checkout\Customer\SalesChannel\RegisterRoute to validate vatIds field.

Administration

  • Added block sw_settings_country_detail_content_field_vat_id_required in module/sw-settings-country/page/sw-settings-country-detail/sw-settings-country-detail.html.twig

Storefront

  • Changed plugin class CountryStateSelectPlugin in src/Storefront/Resources/app/storefront/src/plugin/forms/form-country-state-select.plugin.js to add or remove required attribute to VAT id field when user changes the country.