All things Shopify and commerce
How to remove you saved message from my cart page
To remove the "You saved" message from the cart page on a Shopify store, you will need to edit the code of the cart template. Here are the steps to do this:
Log in to your Shopify store and go to the "Online Store" section of the admin dashboard.
Click on "Actions" and select "Edit Code".
In the "Templates" folder, locate the "cart.liquid" file.
Search for the line of code that displays the "You saved" message. It should look something like this:
<span class="cart-savings">{{ 'cart.general.savings' | t }}: {{ cart.total_savings }}</span>
5. Once you have found the line, you can either delete it or comment it out by adding {% comment %} and {% endcomment %} around the line.
6. After making the changes, click on "Save" to update the code.
7. Refresh the cart page on your store and the "You saved" message should no longer be displayed.
It's important to keep in mind that this changes will be in your theme and if you change your theme the changes will be lost, so it's advisable to use a child theme. If you are not comfortable working with code, it's best to consult a developer for help. It's also important to make a backup of the original file before making any changes.
Thanks Tahirumar. But I don't see cart.liquid file under the template folder. All are .json file and one is gift_card.liquid. Any idea?
Im having this same issue, Im not finding a cart.liquid section.
There is only a main-cart.liquid but it doesn't contain any lines that reference "cart-savings" or "cart.general.savings"
Could this have changed when Shopify rolled out the new cart?
User | RANK |
---|---|
43 | |
40 | |
24 | |
24 | |
22 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023