- Posts: 50
- Thank you received: 2
Adding acceptable VAT number formats.
14 years 7 months ago - 14 years 7 months ago #38882
by obsolum
Adding acceptable VAT number formats. was created 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!
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.
14 years 7 months ago #39051
by nicolas
Replied by nicolas on topic Re: Adding acceptable VAT number formats.
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.
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.
14 years 7 months ago #39052
by nicolas
Replied by nicolas on topic Re: Adding acceptable VAT number formats.
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.
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