Update sidecart (ajax)
Hi!
I have created a shoppage with brizy elements on a blocksy theme. I have set so my page don't refresh when adding a product to the cart. The problem is that my sidecart dosen't update now unless I refresh the page. Is there any solution to this, Im thinking like a ajax plugin or something.
The shoppage: https://stickerklick.se/butik/
Thanks!
-
Hi,
On the Shop page isn't possible to add the Add to cart button. The button from Products element isn't the "Add to cart" element but something like a "Read more" button. By default, it links the visitor to the Product page and on this page, you can add the "Add to cart" button.
Best regards,
Sandra0 -
Hi!
I don´t think I explained the problem correctly. What I mean is can you make the sidecart update when pressing the "add to cart" button without refreshing the entire page?
Thanks
0 -
Hi,
Thank you for the clarification. Unfortunately, it isn't possible to update the cart without refreshing the entire page. It is refreshing because it is making a request to the server and therefore it needs to refresh the entire page.
Let us know if we can help you with something else.Thanks!
Best regards,
Sandra0 -
Hi!
Yes I understand how the process works, but Im wondering if there is any ajax cart plugins that might work or override the page refresh?
Thanks!
0 -
Hi,
Unfortunately, at the moment we can't recommend a similar cart plugin that will not refresh the page. We are using the cart element proving by the WooCommerce.
Best regards,
Sandra0 -
I tried to add a custom short code
[products limit="30" columns="4" category="mixtes"]
(limit:total limit, columns:number of listings, category product category link shortcode)
You can use the woocommerce catalog.
This way you can click "Add Item" directly on the catalog page to add the item to my cart.
I am also looking for a way to delete extra items from my cart without reloading the page.
If you have a good idea, I hope you can share it with me.Translated with www.DeepL.com/Translator (free version)
0 -
Hi,
Thank you for sharing here the solution you found. Hope it will help other users.
Regarding updating the cart without reloading the page - unfortunately, at the moment, we don't have a workaround or a solution for this. In such a way is working the Cart element from WooCommerce https://jmp.sh/TqB65GX.
Best regards,
Sandra0
Please sign in to leave a comment.
Comments
7 comments