I started getting the same error message on our site as well. We haven’t made any changes to the code, so it seems to be a bug in Shopify.
Topic summary
Multiple Shopify store owners are experiencing a “translation missing: en.products.product.discounted_price_html” error appearing on their product pages. The issue emerged suddenly across different stores without any code changes, suggesting a potential Shopify platform bug or update.
Key Points:
- Users report the error appeared simultaneously across multiple stores
- Shopify Support has not identified a clear cause
- Some users temporarily hid discount badges as a workaround
Proposed Solutions:
-
Check Language Editor: Navigate to Online Store > Themes > Actions > Edit languages and search for “discounted_price” terms to ensure translations are filled in
-
Edit Translation Files: Manually add the missing key to the en.json file in the Locales folder:
"discounted_price_html": "Discounted Price: {{ discounted_price }}"
-
Review Liquid Code: Verify that product template files correctly wrap the discounted_price variable in translation tags
-
Minimog Theme Specific: Users of the Minimog theme should check the default.en.json file and product-price.liquid file for proper translation key implementation
The discussion remains ongoing with no confirmed resolution from Shopify.
