Hi, someone can help. How to change the setting of the "Add to cart" button. After adding to the cart, it immediately redirects to the cart, how to cancel it?
I am using debut theme.
Solved! Go to the solution
This is an accepted solution.
Hello Johan12,
As per the default Debut theme the page doesn't redirect to cart page but it displays a popup on the same page.
I guess you might have done some customization regarding this, please check if you have used any ajax and try to remove it.
Or else please share your web url so that I can take a look once.
Ohh it's great to hear this.
If you need any further information then you can post here for the assistance.
Hi Pallavi,
I am also experiencing the issue when you click the add to cart button it takes you to the cart page. I use the Debut theme and can't seem to recall ever changing this, but I am wanting the button to not redirect but simply have the item added and the person can keep shopping on the same page. Any ideas? my website is www.lunacollective.ca for reference.
I am using the Navigate theme and I believe the side-cart should be showing up. However, it is redirecting me to the cart page as well.
Any ideas how to solve this?
<form action="/cart/add" method="post" class="product-form" id="add-to-cart"> <div class="add-to-cart-form"></div> <input type="hidden" name="id" value="{{ product.variants.first.id }}" /> <select min="1" max="5" type="number" id="quantity" name="quantity" value="1"> {% for i in (1..5) %} <option value="{{ i }}">{{ i }}</option> {% endfor %} </select> <div> <button type="submit" class="btn--secondary" onclick="addItem('add-to-cart'); return false;" name="add">Añadir</button> </div> </form>
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |