Can't enter VAT number for UK Businesess

  • Posts: 16
  • Thank you received: 2
3 years 1 week 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: 81378
  • Thank you received: 13037
  • MODERATOR
3 years 6 days 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.044 seconds
Powered by Kunena Forum