frankit Posted February 10, 2014 Share Posted February 10, 2014 Hi there, I'm using PS 1.5.6.0. I've noticed that during address creation, the VAT number field appear only for a bunch of countries and I don't fully understand why. Apart from the strange js behavior that you can show the VAT# field just by selecting a country considered applicable by prestashop, even if you leaved the company field empty (while there is a script that should show/hide the VAT field just according to the company one), I don't understand why prestashop consider the VAT# field applicable only to this static list of countries: $intracom_array = array( 'AT'=>'AT', //Austria 'BE'=>'BE', //Belgium 'DK'=>'DK', //Denmark 'FI'=>'FI', //Finland 'FR'=>'FR', //France 'FX'=>'FR', //France m�tropolitaine 'DE'=>'DE', //Germany 'GR'=>'EL', //Greece 'IE'=>'IE', //Irland 'IT'=>'IT', //Italy 'LU'=>'LU', //Luxembourg 'NL'=>'NL', //Netherlands 'PT'=>'PT', //Portugal 'ES'=>'ES', //Spain 'SE'=>'SE', //Sweden 'GB'=>'GB', //United Kingdom 'CY'=>'CY', //Cyprus 'EE'=>'EE', //Estonia 'HU'=>'HU', //Hungary 'LV'=>'LV', //Latvia 'LT'=>'LT', //Lithuania 'MT'=>'MT', //Malta 'PL'=>'PL', //Poland 'SK'=>'SK', //Slovakia 'CZ'=>'CZ', //Czech Republic 'SI'=>'SI', //Slovenia 'RO'=>'RO', //Romania 'BG'=>'BG' //Bulgaria ); what if I'm from switzerland and I want to make an order specifing the VAT number of my company?? I just can't, why?? Here I see that many other countries even outside the EU should be able to specify their own VAT number. Since that array is declared in the vatnumber module (but accessed via ajax during address creation even if the module is uninstalled), I suppose that those countries are the only ones that can be treated from the vatnumber module (that I dont even know that well what is meant for). If so, I think this could be considered as a bug. But what am I missing? maybe PS use the VAT number for some other purpose I'm not aware of? why limit to that static list? 1 Link to comment Share on other sites More sharing options...
frankit Posted April 9, 2015 Author Share Posted April 9, 2015 Bump! I saw that on ps 1.6.x I still cannot specify a VAT number if I'm from a country not specified in that list (switzerland for example) and the behaviour is exactly the same. Anybody knows why?! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now