Add text in front of price

Topic summary

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:

  • Cannot locate the {{ product.price }} liquid variable in the product.json file
  • Only finding a “price” object with type and settings configurations
  • Unclear how to implement the text prefix across multiple product templates

Additional Context:

  • User is new to Shopify and unfamiliar with collaborator codes
  • Concerned about whether changes need to be applied individually to each product template
  • Expressed interest in learning the implementation method for future text modifications

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.

Summarized with AI on November 6. AI used: claude-sonnet-4-5-20250929.

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:

www.baysonr.com

Thanks.

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

1 Like