문제

I have a situation where a shop can only sell to B2B customers. The boss suggests that the simplest way to force this validation is using the VAT ID - if a customer doesn't enter a VAT ID, then the checkout cannot continue.

Does anyone know how to best implement this? I don't find a specific extension for that yet.

도움이 되었습니까?

해결책

You can make the "company" field required as described here:

https://stackoverflow.com/questions/5456794/magento-make-the-field-company-required

Not sure about the exact steps for default vat field number, seems thy are same as for the company field.

If you are looking for the extension, try "customer attributes" module, where you can create any fields, like VAT and make them mandatory from the admin panel, no need to change database or templates.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top