Can't enter VAT number for UK Businesess

  • Posts: 10
  • Thank you received: 1
  • Hikaauction Standard Hikamarket Multivendor Hikaserial Subscription Hikashop Business
1 month 2 weeks ago #331030

-- HikaShop version -- : 4.4.1
-- Joomla version -- : 3.9.25
-- PHP version -- : 7.3.27
-- Browser(s) name and version -- : firefox

PLease see the link to the hikamarket forum for all the details
www.hikashop.com/forum/19-hikamarket/902...-numbers.html#330966

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

  • Posts: 72763
  • Thank you received: 11096
  • MODERATOR
1 month 2 weeks ago #331048

Hi,

VAT numbers are checked based on the setting "VAT number check" in the HikaShop configuration.
Now since the UK is not in the EU anymore, VAT numbers should not be checked anymore I suppose.
You can change the line:

if(empty($zone_code) || !in_array($zone_code,array('AT','BE','BG','CY','CZ','DK','EE','EL','DE','PT','GR','ES','FI','HR','HU','LU','MT','SI',
		'FR','GB','IE','IT','LV','LT','NL','PL','SK','RO','SE'))){
to:
if(empty($zone_code) || !in_array($zone_code,array('AT','BE','BG','CY','CZ','DK','EE','EL','DE','PT','GR','ES','FI','HR','HU','LU','MT','SI',
		'FR','IE','IT','LV','LT','NL','PL','SK','RO','SE'))){
in the file administrator/components/com_hikashop/helpers/vat.php so that the VAT number is not checked anymore for UK businesses.

The following user(s) said Thank You: gennie007

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

Time to create page: 0.045 seconds
Powered by Kunena Forum