natiaz Posted January 13, 2016 Share Posted January 13, 2016 Hi all, I have a Prestashop install with a lot of modules in a 1.6.1.3 version. When I add a product (or products) to the cart, if you go to the checkout page, the last products added appears repeated in the blockcart, but not in my order. If you recharge the page everything appears correctly. I've been able to find the problem (I think) but I don't know how to resolve it. When you add a new product, is saved in the cart_product table with the id_address_delivery equal to 0, when you access to the checkout page, the id_address_delivery is updated but the blockcart.tpl has already been loaded, so it shows the id_address_delivery for this last products as 0. How can I prevent the blockcart.tpl to load before this table update? Thanks in advance! Link to comment Share on other sites More sharing options...
Knowband Plugins Posted January 14, 2016 Share Posted January 14, 2016 Hi, Are you using any third party checkout module? One of our checkout module customer was facing the same issue, we made changes in ajax-cart.js file in order to fix his issue. Check our checkout module link in signature. Link to comment Share on other sites More sharing options...
natiaz Posted January 14, 2016 Author Share Posted January 14, 2016 Hi, Yes I'm using your SuperCheckout module v3.0.4. Which changes did you made in the ajax-cart.js? All that I need is that the cart_product table update made before the blockcart.tpl load, so the product id comparation made in the js works correctly, as it does when you recharge the checkout page. Thanks Link to comment Share on other sites More sharing options...
Knowband Plugins Posted January 14, 2016 Share Posted January 14, 2016 Hi, Please create ticket form below official URL. https://addons.prestashop.com/en/write-to-developper?id_product=18016 Also share your admin and FTP details while creating ticket with above link. It is mainly theme dependent issue. We will fix it soon. 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