How to properly add remove button for items in cart (Minimal Theme)

avixst
New Member
5 0 0

I'm trying to add a "remove" button to my shop using this line of code in cart-template.liquid

<a href="/cart/change?line={{ forloop.index }}&quantity=0" rel="{{ item.id }}">Remove Item</a>

after pasting it in the loop as instructed the remove button never ends up where i want it to be
3c946e451544a18696e2c11495cf9430.png7fed35d8782cbb218279af68b57d65c4.png

Is there a place to past the code to get this properly displayed either below the title of the product or below the quantity bar? Any help is appreciated, Thanks!

My shop is http://www.avixst.com if anyone wants to take a look at the layout

0 Likes
hardik355
Shopify Partner
184 17 25

Hi  

Hope you are well. Can you check this link it will be help you how to add remove button properly. https://jilt.com/blog/how-to-add-an-empty-cart-button-to-shopify/

If helpful then please Like and Accept Solution.
Thanks 

0 Likes