How can I make the vat tax required in the Magento-2 checkout? From the panel, I can set it as default only in the "create new account" form.
Magento – Magento 2 checkout: how to make vat number required
checkoutmagento2vat
checkoutmagento2vat
How can I make the vat tax required in the Magento-2 checkout? From the panel, I can set it as default only in the "create new account" form.
Best Answer
You can achieve via create plugin of class
\Magento\Checkout\Block\Checkout\LayoutProcessor
On after method of function process(), add required field to vat id field
PLugin class
Define di.xml