- Posts: 16
- Thank you received: 2
Can't enter VAT number for UK Businesess
5 years 6 months ago #331030
by gennie007
Can't enter VAT number for UK Businesess was created by gennie007
-- 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
-- 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.
5 years 6 months ago #331048
by nicolas
Replied by nicolas on topic Can't enter VAT number for UK Businesess
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:
to:
in the file administrator/components/com_hikashop/helpers/vat.php so that the VAT number is not checked anymore for UK businesses.
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:
Code:
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'))){
Code:
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'))){
The following user(s) said Thank You: gennie007
Please Log in or Create an account to join the conversation.
Time to create page: 0.207 seconds