Re: VAT-mod for European companies
New version (1.3.0) uploaded today. As soon they have approved it it can be found here: http://www.zen-cart.com/index.php?ma...products_id=89
New in this version is that all prices in the store is shown without tax if customer from another country than the store is logged in with a verified VAT-number.
francy88: I'm terribly sorry that I missed the files in templates. I've checked and they are in the new version (1.3.0). Good luck!
Re: VAT-mod for European companies
ok thanks beez, I will try to install the new version of the module.
do you think that are the 3 template files (token from the old version of the module) that break the site?
Another question about 1.2.7 beta version:
if I create a new account on my site and I insert a VAT number during registration, this field not compares in database (under "address_book" table). Instead, if I insert this field from admin page (customers), it appears in DB, and the tax will removed during checkout.
Where is the problem??
thanks
Francesco
Re: VAT-mod for European companies
Quote:
Originally Posted by
francy88
do you think that are the 3 template files (token from the old version of the module) that break the site?
I don't think the emplate files would break the site that bad.
Quote:
Another question about 1.2.7 beta version:
if I create a new account on my site and I insert a VAT number during registration, this field not compares in database (under "address_book" table). Instead, if I insert this field from admin page (customers), it appears in DB, and the tax will removed during checkout.
Where is the problem??
I haven't noticed any problem there. Let me check and see if it works for me. There could be that you have missed something when you edited the files or maybe there is something with the old template files. I don't remember when the different changes were made. I'll get back when I checked it out.
Re: VAT-mod for European companies
francy88: I've tested it on my installation. When I register an account with VAT-number it works as it should for me. The tax is not added when the customer is from another country than the store. The VAT-number is stored in the "address_book" table. Am I not getting what you mean?
Re: VAT-mod for European companies
Hi Beez, I solved my problem.
At the begin I put the file "create_accout.php" under "includes/modules".
Now I put the same file under "includes/modules/classic" and all works...
Another question: if I try to change my VAT data in frontend (home » My Account » Address Book » Update Entry), the imput field "european tax number" is not populates with the old VAT number (inserted during registration).
Also, if I try to insert a new VAT number, database not updates.
Another test I have do is to create a new account without VAT number, and after that try to insert a VAT number under "home » My Account » Address Book » Update Entry"; but nothing changes....
How can I do??
sorry for my poor english, but I'm italian :P :P
Thank you very much!
Francesco
Re: VAT-mod for European companies
I've checked and it all works for me. I think you must have missed some changes in some files. Try to reapply the files from the latest version.
Re: VAT-mod for European companies
ok thanks.
which files I must change to apply changes on profile?
Francesco
Re: VAT-mod for European companies
Hey,
I just tried to install the mod and got a white screen too...
In my case the functions_vatmod.php is broken (in includes/... and admin/includes/...)
edit (from line 121 to end)
PHP Code:
'CZ'=>'CZ', //Czech Republic
'SI'=>'SI');//Slovania
'RO'=>'RO', //Romania
'BG'=>'BG'); //Bulgaria
return $intracom_array;
}
?>
to
PHP Code:
'CZ'=>'CZ', //Czech Republic
'SI'=>'SI', //Slovania
'RO'=>'RO', //Romania
'BG'=>'BG'); //Bulgaria
return $intracom_array;
}
?>
If I'm wrong and the array is broken with intend, please tell me ;)
MfG
Re: VAT-mod for European companies
hi overlord.
yes, the ")" was an error I've find too, and I've correct it.
but the site remains broken also after the modify... :no:
Re: VAT-mod for European companies
I hope you did not just see the ) but also the , instead of the ; ?!!