VAT field dissapears for Greek customers
- LukSkywalker
- Topic Author
- Offline
- Junior Member
-
Less
More
9 years 4 weeks ago #78865
by LukSkywalker
VAT field dissapears for Greek customers was created by LukSkywalker
Hi Tuan,
When someone choose "Greece" in the Country field, the VAT Number field disappears so Greek customers are not able to fill it. Greece is a country of the European Union, so they should be able to use the VAT Number field.
Also, when the invoice is generated, it appears GR as country identifier, but it should appear EL. You can check it in the VIES page .
When someone choose "Greece" in the Country field, the VAT Number field disappears so Greek customers are not able to fill it. Greece is a country of the European Union, so they should be able to use the VAT Number field.
Also, when the invoice is generated, it appears GR as country identifier, but it should appear EL. You can check it in the VIES page .
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 4 weeks ago #78922
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic VAT field dissapears for Greek customers
Hi Jose
Could you send me the link to the registration page on your site? I am going to check to see why it happens and get it sorted
Regards,
Tuan
Could you send me the link to the registration page on your site? I am going to check to see why it happens and get it sorted
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- LukSkywalker
- Topic Author
- Offline
- Junior Member
-
9 years 4 weeks ago - 9 years 4 weeks ago #78930
by LukSkywalker
Replied by LukSkywalker on topic VAT field dissapears for Greek customers
Hi Tuan,
I modified the source code of the javascript file (paymentmethods.js) to show the vat field; it seems there is some code specifically for the Greek country. This is my code (line 296 and below):
Regards,
Jose
I modified the source code of the javascript file (paymentmethods.js) to show the vat field; it seems there is some code specifically for the Greek country. This is my code (line 296 and below):
Code:
if ($('#vat_country_code')){
// Dealing with Greece country
$('#vat_country_code').text(msg.country_code);
if (msg.country_code == 'EL') || (msg.country_code == 'GR') {
msg.show_vat_number_field = 1;
}
}
Regards,
Jose
Last edit: 9 years 4 weeks ago by LukSkywalker.
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.