Adding acceptable VAT number formats.

  • Posts: 50
  • Thank you received: 2
12 years 11 months ago #38882

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: 12 years 11 months ago by obsolum.

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

  • Posts: 83103
  • Thank you received: 13415
  • MODERATOR
12 years 11 months ago #39051

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.

  • Posts: 83103
  • Thank you received: 13415
  • MODERATOR
12 years 11 months ago #39052

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.054 seconds
Powered by Kunena Forum