Jump to content

[SOLVED]I found a bug with multiple zones and client groups


Recommended Posts

Hi guys,

I'm playing around on my test server and found a serious bug.

What did I do I created 2 zones :
1. Belgium
2. Netherlands

I link the country Belgium to the zone Belgium and the country Netherlands to zone Netherlands.

then I have 2 carriers.
One for the zone Belgium and one for the zone Netherlands.

so far so good, no problem.

but......
because I have different client groups I added these groups :
1. show prices TVA include (for normal customers)
2. show prices TVA exclude (for business clients)
3. show prices TVA exclude with a reduction of -10% (for very good business clients)

what happens next is incredibel :-)
Go to the shop and all products are showing prices TVA excluded with the text : TVA included
When I do log in with a client from group 2 : show prices TVA exclude then I get the same prices as nobody logged in, only the text TVA included is changed into TVA exclude.
so the problem is that the shop is starting to show prices TVA exclude with the text tva included.

So this is a major bug, because mulitple zones is creating this bug.

the moment I log in as a customer from group 3 then everything is okey, it show the prices TVA excluded and -10%.

so anybody that has an idea what to change in order to show the prices for group 1 and 2 correct?

like to hear it back because strange enough nobody saw this before. :-)

when using only 1 zone then the group prices are shown perfectly.

Deech

Link to comment
Share on other sites

Did some other testing and I can confirm that the problem occurs when you add a second zone.

so when you create one zone EUROPE
and you link the countries Belgium and the Netherlands to Europe, then there is no problem.

the moment you create a zone : Belgium and relink the country Belgium to the zone Belgium that's the moment it goes wrong.

maybe some hardcore prestashop guys can test this also like I did?

Link to comment
Share on other sites

found the problem and this was a hugh mistake of me...shame shame.

what happens, the moment you make new zones you must set them also in the prices, taxes !!!

in backoffice go to Payment – Taxes and edit the row with desired VAT.
Choose the zones, where the tax should be activated, and all the prices for that zone will be displayed with VAT.


so shame on me and sorry for this post :-)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...