Jump to content

Carrier compare and prices


Recommended Posts

Hello!

So i'm using prestashop 1.5.3.1

Default carriercompare module for that version shows prices correctly only when user is authenticated

So I updated to the newest version of this module from svn, but this module shows correct prices only when user is NOT logged in.

I have two carriers, one offers pickup in store and it is free, but second is not.

Configuration
Handling charges: 0
Free shipping starts at: 75
Free shipping starts at: 0 kg

First carrier price range: 0-1000 Euros  and it's 0
Second carrier price range: 0-1000 Euros  and it's 5

I have made 3 new zones and not using default ones.
Pick up in store is aviable for all zones, but second option is only for 1 zone wich depends on state you are located.

I've managed to locate the problem to this Cart::simulateCarriersOutput function
When user is logged in it returns both free, but when not logged in it returns correctly one for free, second for 5 euros.

Where could be the problem in this case?

Thank you!

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...

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...