How to display free shipping calculator text in Sense theme?

Topic summary

Goal: Show a dynamic message that tells shoppers how much more they need to add to reach free shipping (threshold: 1800 ₺) in Sense theme, ideally in both cart and checkout, with text color #9C1C00.

Constraint: Checkout customization is only possible on Shopify Plus, so non-Plus stores can’t add this message there.

Cart implementation: Add a Liquid snippet in main-cart-footer.liquid after the “totals” div (around line ~65). The logic assigns a variable (for_free_shipping = 180000 minus cart.total_price) and, if positive, displays “Add X to get free shipping!” using money_with_currency. A screenshot and code snippet were provided and are central to understanding the solution.

Outcome: The cart-side message works as desired. Checkout remains unchanged due to platform limits.

Unaddressed/notes: The requested text color (#9C1C00) wasn’t covered in the provided solution; styling would require additional CSS. Screenshots were included for placement context. Status: Resolved for cart; checkout and styling requests remain open.

Summarized with AI on January 6. AI used: gpt-5.

I’m using Sense theme, in my store if you get the cart total to be 1800 ₺ or more you get Free Shipping.

How do I add a text that calculates how much is the total of the cart and tells the buyer that if he adds to the cart an X ₺ he will get free shipping?

I would like to show it both in the cart and in the checkout, where I draw blue lines.

also if possible can I make the color of that text #9C1C00 ?

Store URL: Feracekosesi.com

Hey @Abayacorner ,

Checkout can only be edited if you are on Shopify Plus plan.

How about editing only the cart side?

Hey @Abayacorner ,

Refer to the screenshot below. Go to your theme’s “Edit Code” option and search for “main-cart-footer.liquid” and add this code after the “totals” div around line 65


  {% assign for_free_shipping = 180000 | minus: cart.total_price %}
  {% if for_free_shipping > 0 %}
  

Add {{ for_free_shipping | money_with_currency }} to get free shipping!

  {% endif %}

Screenshot for reference

1 Like

Thank you that worked like a charm