Skip to main content

Adding acceptable VAT number formats.

More
14 years 7 months ago - 14 years 7 months ago #38882 by obsolum
Hi,

I currently use the VAT format check and was wondering if I can manually add acceptable formats somewhere? The management of my company wants to make the VAT field required, but that would require a default field like "-- NONE --" to be accepted because some customers will not have a VAT number.

Thanks!
Last edit: 14 years 7 months ago by obsolum.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #39051 by nicolas
There is no option for that.
You would have to edit the file administrator/components/com_hikashop/helpers/vat.php to add your accepted value in the getRegex function.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #39052 by nicolas
There is no option for that.
You would have to edit the file administrator/components/com_hikashop/helpers/vat.php to add your accepted value in the getRegex function.

Please Log in or Create an account to join the conversation.

Time to create page: 0.133 seconds
Powered by Kunena Forum