FROM CACHE - en_header

Error "translation missing: en.cart.general.savings" on cart page. Any suggestions?

atxer
Shopify Partner
16 0 5

So I recently coded the majority of a theme with major customizations and it's all working fine, the only thing is i'm getting a "translation missing: en.cart.general.savings" on the cart page now. I've checked the settings.json and I can't find any translation errors in edit languages. It looks like this on the cart page... It doesn't effect checkout or anything it's just ugly lol. The strange thing is it seems to show the amount shown right after the error, so i'm honestly lost.

Screen Shot 2020-12-18 at 10.30.46 PM.png

 

 

Replies 12 (12)
Jivan_Suhagiya
Shopify Partner
518 74 114

Hi,
Actually its locals error, please check that "savings" property under "cart" -> "general" present in your en.json or en.default.json file

Jivan_Suhagiya_0-1608353079101.png

 

If helpful then please Like and Accept Solution.
Email: suhagiyajivan1992@gmail.com
Skype: jivan.suhagiya
First kind of Checkout Reminder APP: https://apps.shopify.com/checkout-reminder
atxer
Shopify Partner
16 0 5

Should I just add it and make sure it's referenced? Also thank you for your response! This is what the file looks like

Screen Shot 2020-12-19 at 12.01.02 AM.png

Jivan_Suhagiya
Shopify Partner
518 74 114

yes, add it
make sure like
"general":{

"savings":"Savings"

}

If helpful then please Like and Accept Solution.
Email: suhagiyajivan1992@gmail.com
Skype: jivan.suhagiya
First kind of Checkout Reminder APP: https://apps.shopify.com/checkout-reminder
atxer
Shopify Partner
16 0 5

Hmm I wonder if i'm just doing something wrong. It won't let me save the json and says that it has a token error. I even played with spacing on the code and it still wouldn't save. It also wouldn't save the first general code just by itself without the savings one.

Screen Shot 2020-12-19 at 12.44.16 AM.pngScreen Shot 2020-12-19 at 12.43.43 AM.png

Jivan_Suhagiya
Shopify Partner
518 74 114

can you please ping me on skype for quick chat?

If helpful then please Like and Accept Solution.
Email: suhagiyajivan1992@gmail.com
Skype: jivan.suhagiya
First kind of Checkout Reminder APP: https://apps.shopify.com/checkout-reminder
Jivan_Suhagiya
Shopify Partner
518 74 114

add this above "empty_cart_1"

"general":{

"savings":"Savings"

},
so it will be like this
"cart":{

"general":{

"savings":"Savings"

},
"empty_cart_1":.....

If helpful then please Like and Accept Solution.
Email: suhagiyajivan1992@gmail.com
Skype: jivan.suhagiya
First kind of Checkout Reminder APP: https://apps.shopify.com/checkout-reminder
trophi75
New Member
8 0 0

Hi Jivan

 

I have the same problem, I have followed your instructions, but unfortunately it does not work.
Can you please help me?Page CartPage CartCode ShopifyCode Shopify

Jivan_Suhagiya
Shopify Partner
518 74 114

Hi @trophi75 
is that issue fixed? if you still need help, feel free to ping me on skype for quicker chat

If helpful then please Like and Accept Solution.
Email: suhagiyajivan1992@gmail.com
Skype: jivan.suhagiya
First kind of Checkout Reminder APP: https://apps.shopify.com/checkout-reminder
trophi75
New Member
8 0 0

Hi Jivan,

I have partially solved because the problem occurs when I create automatic discounts. I eliminated this method and everything went back to normal.

Perhaps it will be a problem with my theme, which was purchased from a third party.

enzo-garcia-vii
New Member
1 0 0

Hello eveyone!

I am new here. I encountered the same issue and wondering why this has happened. I would appreciate any help, please.

enzogarciavii_2-1631140784799.png

 

enzogarciavii_1-1631140701409.png

Thank you for your help.

Regards

Enzo

 

eastendpets
New Member
1 0 0

I am having the same issue! its saying en.cart.general.savings where it should sale discount. Its also no displaying my sale prices on the collection page despite having a discount set up for an entire collection. Screen Shot 2021-09-14 at 10.19.02 PM.png

roadfury
Tourist
8 0 0

I'm here because I had the exact same issue. I seemed to have found the solution!

 

Add this code above the "pages": { (Blue arrow pointing at it in the screenshot):

},
"cart": {
"general": {
"savings": "Savings"
}

The previous replies kept on referencing to place code under "cart": { but that cart was under "pages": {. And that seems to be the problem. We need to create a whole new string starting off cart, not pages.

 

Doing this solved my issue. Hope it helps your guys' too! (^0^)

 

-Meli

 

Correct Json addition for cart.general.savings -Melissa.JPG