All things Shopify and commerce
Hi there,
When I activate a discount to my store, the cart has this error message at the bottom of the cart area: I18n Error: Missing interpolation value "savings" for "You're saving {{ savings }}".
This is what the code is in my theme:
{% if cart.total_discounts > 0 %}
{% assign cartTotalDiscounts = cart.total_discounts | money %}
<p class="cart__savings">{{ 'cart.general.savings_html' | t: savings: cartTotalDiscounts }}</p>
{% endif %}
How do I get rid of this and instead have "you're saving $XXX"
Thanks heaps 🙂
I'm also getting this error code at check-out: I18n Error: Missing interpolation value "savings" for "You're saving {{ savings }}"
How do you fix this? I'm not savvy with code so I might need a Shopify expert to help me if the problem involves code. If not, and it's an easy fix, that would be best! Thanks!!!
Hi there, @aliceyoo. Thanks for taking the time to reach out to the Shopify Community, and following up on this thread! My name is Imogen. It's good to meet you!
If possible, can you provide us with a screenshot of where this error is appearing? You mention that this is appearing in your checkout, so we'd love to see if you can provide us a screenshot so we can see where, along with a link to your store and the steps you've taken to trigger the message, so we can test replicating.
Additionally, does this issue persist when trying out a different theme in your store? If you haven't tried this yet, please give it a try and let us know what results!
Imogen | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025