Hi! Please help.. I’m having a hard time fixing the add to cart button on collection page to stop redirecting on cart page.
Is there any way to fix it?
Appreciate any help. Thanks in advance!
Hi! Please help.. I’m having a hard time fixing the add to cart button on collection page to stop redirecting on cart page.
Is there any way to fix it?
Appreciate any help. Thanks in advance!
Hello @roselyn_025 , share the store link.
Here’s the store link
https://partnersinwine.com.au/collections/frontpage
It’s a password protected.
password: wine
When you click on a single product for example:
https://partnersinwine.com.au/collections/frontpage/products/2018-rachis-syrah
and click add to cart button, it stays on the same page.
That’s what I wanted to do on collection pages, but it’s doesn’t work
$(document).ready(function(){
$('.product__add-to-cart-button').click(function(){window.history.back();})
});
Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: wahabahmadghori@gmail.com
@Wahab_Ahmad thanks for your reply. I tried that but didn’t work..
Hi Roselyn
I see that you were able to implement the non-redirect button on your collections which look great and work as I have been trying to get to for the past few days. Any help will be gladly appreciated. My website is www.meandatree.com. Cheers
David
Hi there,
How were you able to eliminate the redirect to cart? Need help with this been trying for a while . I got this far but glitchy when page button refreshes, and their is no “View Cart” button. https://www.meandatree.com/collections/best-natural-soaps
Much appreciated
Cheers
Quick Shop View cartAppreciate any help Thanks