Error message translation missing in product page

Mathias8hrS
Excursionist
46 0 13

Hi, I recently adjusted some code to have my Dawn theme product page look more like the Debut page one (with picture slider). For some reason I now keep on getting this pop up:

translation missing: en.products.product.include_taxes translation missing: en.products.product.shipping_policy_html

I've checked in 'edit languages' and nothing seems to be missing. Any idea how to get rid of this or find the root cause?

Screenshot of the message:

Screenshot 2021-11-06 at 13.15.47.png

Thank you!

Replies 4 (4)
ChoosiZon
Navigator
386 64 100

You can delete the 2 lines in product.liquid file.

Donate
For faster response with a fee pls email to : choositech@outlook.com
Mathias8hrS
Excursionist
46 0 13

hi @ChoosiZon 

Which lines would that be then, you mean in the main-product.liquid section then? I would rather also just know what causes the error. I imagine there's a reason these lines are in there.

Thank you.

ChoosiZon
Navigator
386 64 100

@Mathias8hrS 

Can you go to Locales and open en.default.json file.

Copy the whole file and paste here.

Without seeing this, difficult to sort out.

 

Donate
For faster response with a fee pls email to : choositech@outlook.com
ChoosiZon
Navigator
386 64 100

@Mathias8hrS wrote:

hi @ChoosiZon 

Which lines would that be then, you mean in the main-product.liquid section then? I would rather also just know what causes the error. I imagine there's a reason these lines are in there.

Thank you.


The error means you have 2 translation keys in your html, but not have corresponding strings of translated text in the locale file. In this case the en.default.json file.

Donate
For faster response with a fee pls email to : choositech@outlook.com