Hello,
How can I add a text block only on certain product pages?
I want to add a text block showing dimensions, but only on one type of product.
E.g. “Length (inches): 21” but only display on certain types of products - products in one specific collection. And not show up in any other collection’s product page.
Thank you
Hi @jlocklear146 ,
You can totally create a different template with the text block within the theme editor:
-
From your Shopify admin, go to Online Store > Themes > Customize
-
Select Products from the page selector then click on Create template
- Edit the template then save it.
Next, you’ll need to assign products to that template:
-
From your Shopify admin, go to Products.
-
Use the search filter to locate the product that you want to change, or click on the product from the list of existing products.
-
In the Online store section, use the dropdown menu to select a new theme template to apply to the selected product.
-
Click Save.
You can refer to this Shopify guide.
I hope my answer helps.
This is perfect - thank you!