How to add a 'Remove From Cart' button in the Motion theme?

My theme is motion, how do i Add A “Remove From Cart” Button?

below code from shopify cart

{% comment %}
JS-load cart markup without bloat of a full layout.

This is used in both the mini cart drawer and cart page.
When a quantity is changed, this file is scraped and data-products
is fully replaced to account for possible cart discounts changing

The cart-wide discount div also replaces what is originally in the cart
as it can change anytime a cart-item changes
{% endcomment %}
{% layout none %}

0 %} data-cart-savings="{{ cart.total_discounts }}" {% endif %} data-cart-subtotal="{{ cart.total_price }}"> {% for item in cart.items %} {%- render 'cart-item', product: item -%} {% endfor %}
{{ 'cart.general.discounts' | t }}
{% for cart_discount in cart.cart_level_discount_applications %}
{{ cart_discount.title }} (-{{ cart_discount.total_allocated_amount | money }})
{% endfor %}
1 Like

@Soardist

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.