Hi:
Just changed to Enterprise theme. And want to add text in front of the price on product page.
Example:
Sale Price $99 MSRP $199
Thank you
Phil
A user recently switched to the Enterprise theme and wants to add custom text (“Sale Price” and “MSRP”) before product prices on product pages.
Current Challenge:
{{ product.price }} liquid variable in the product.json fileAdditional Context:
Status: The issue remains unresolved with no responses from other community members yet. The user needs guidance on editing theme files to add price prefixes.
Hi:
Just changed to Enterprise theme. And want to add text in front of the price on product page.
Example:
Sale Price $99 MSRP $199
Thank you
Phil
Hi:
I can’t find the {{ product.price }}. in the product. json
The code I found is “price”
“price”: {
“type”: “price”,
“settings”: {
“show_tax_and_shipping”: true
},
“description_VgLHr9”: {
“type”: “description”,
“settings”: {
“show_as_collapsible_content”: false,
“icon”: “none”,
“open”: false
}
},
“price”: {
“type”: “price”,
“settings”: {
“show_tax_and_shipping”: true
}
},
“divider-0”: {
“type”: “divider”,
“settings”: {
“show_line”: true,
“spacing”: “mt-8 mb-8”
}
},
Sorry. I am new with the Shopify. how do I share the collaborator code? I have many different template for products, do I have to change them one by one? Please advise. Thank you Phil
This is Great. Can you share on how to do this? Just in case I need to change the text later. Thank you very much