Skip to main content

synchronize two carts

12 years 5 months ago #155868 by orchideelab
Hi,
i need to use 2 carts, because I decide which one to show, depending on the screen resolution.
My problem is that when i add a product to the cart, only one cart is updated (the one with the highest ID nr) If i refresh the page, second cart is updated.
How can I solve?

Please Log in or Create an account to join the conversation.

12 years 5 months ago #155875 by Xavier
Replied by Xavier on topic synchronize two carts
Hi,

Initially the system was not made to have many carts in one page when adding a product in ajax.
So thanks to disable the option "Use AJAX add to cart button when possible" in the Advanced parameters of HikaShop > Configuration > Main. This way it will refresh the page each time a product is added to the cart, so that will refresh the two carts.

We have in our todo list to renew this system to handle as many carts as we want.

Please Log in or Create an account to join the conversation.

Time to create page: 0.041 seconds
Powered by Kunena Forum