Hello everyone,
I would love to add a remove button in cart (example below). My theme is SYMMETRY
Thanks in advance for your responses.
Tony
A user wants to add a visible remove button to their cart using the Symmetry theme.
Current Situation:
Proposed Solution:
Add custom CSS code to unhide the remove button:
display: inline-blockAlternative Approaches Mentioned:
A demo screenshot was provided showing the working implementation with the CSS solution applied.
Hello everyone,
I would love to add a remove button in cart (example below). My theme is SYMMETRY
Thanks in advance for your responses.
Tony
To add a remove button in the cart for the Symmetry theme, you’ll need to edit the cart template. Here’s how:
cart-template.liquid file (it might also be called something like cart.liquid).{% for item in cart.items %}.Hi @Tony1701 ,
Can I send you a collaborator invitation? Because this needs a lot of changes and I will help you check it
Hi @Tony1701
Could you share your product page link so I can check?
Actually, the functionality is already there, but it’s hidden in the cart drawer, though visible on the cart page.
Just need to unhide it.
What you need to do is to go to Customizer => Theme Settings => Custom CSS and add this:
/* show remove link in cart drawer */
cart-drawer .cart-item__remove {
display: inline-block;
float: right;
margin-left: auto;
}
/* optional: better align remove link in drawer */
cart-drawer .cart-item__quantity {
display: flex;
align-items: center;
}
This is theme demo store with code added: