Using variable in product description in theme with .json code

Topic summary

A user needs to update 500+ product pages by adding dynamic text that references each product’s title (e.g., “Our {{ PRODUCT TITLE }} is made from 100% wool”). The challenge is that their theme’s product template uses .json files rather than traditional Liquid files.

Proposed Solution:

  • Add a “Custom liquid” block/section through the theme Customizer to insert the dynamic content.

Outstanding Concern:

  • Whether this custom liquid approach will properly populate product descriptions for Google Marketplace, or if a separate description block is still required.
  • The answer depends on the page’s structured data implementation—mismatches could cause issues with how Google displays the product information.
Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

I have 500+ updates to do to a clients site. I want to create a product template that uses a variable to reference the product title.

ex. "Our {{ PRODUCT TITLE }} is made from 100% wool.

When I go to edit code on the product template, its coded in .json. I cant figure out where to add the txt and code.

Any advice?

Usually this is done by adding a “Custom liquid” (ot similar, depending on the theme) block/section in Customizer.

If I do this, will it be pulled as a description for Google marketplace? Or will I still require the description block?

Depends on what you have in structured data on this page. If does not match may as well get misrepresentation or similar problem.