Jump to content

Prestashop 1.7.0.0/1/2 getTotalShippingCost broken


SBoss

Recommended Posts

Hi Everyone,

 

The method getTotalShippingCost in the Cart is broken - the costs can never be re-calculated after changing the delivery option. Neither changing the option in the cart, nor passing a different method to the function will change anything.
 

        static $_total_shipping;
 
        if (null === $_total_shipping) {
 
At least a parameter to skip the cache should be implemented.
 
Regards,
Sebastian
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...