Skip to main content

Can't enter VAT number for UK Businesess

More
5 years 6 months ago #331030 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

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

More
5 years 6 months ago #331048 by nicolas
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:
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'))){
to:
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'))){
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.207 seconds
Powered by Kunena Forum