Why the new template I created cannot be shown in the choice of theme setting in the product admin?

I have created the new product page temple, with new product.json code and its liquid added. however, when i enter the product admin, the new page template cannot be shown in the choice of theme setting in the product. thx

If you have created a new product page template in Shopify, but it’s not appearing as an option in the Theme settings for your products, there are a few possible reasons for this:

  1. Template file not properly named: Make sure that the file name of your new product template follows the correct naming convention. In Shopify, product page templates should be named with the format product.template-name.liquid. Replace “template-name” with a unique name for your template.

  2. Template file not placed in the correct directory: Ensure that the template file is located in the correct directory within your theme. It should be placed in the “templates” folder of your theme. If the “templates” folder does not exist, you can create it.

  3. Cache issue: If you have recently made changes to your theme or added a new template, it’s possible that your Shopify store’s cache is still holding the old information. Try clearing your Shopify store’s cache by going to “Online Store” > “Themes” > “Actions” (next to your theme) > “Edit code” > “Clear cache” (located in the top-right corner).

  4. Template not assigned to the product: Double-check that the new template is assigned to the specific product you are viewing in the product admin. You can assign the template to a product by going to the product’s editing page in the Shopify admin and scrolling down to the “Template” section. From there, select the desired template from the dropdown menu.

sorry, i cant find clear cache. And it just dont work :disappointed_face:

Hi there, I know this is almost a year old but did you ever find a solution to this? I’m having the same issue and do not have a clear cache option..

No clear cache option either. No way for the custom collection json to appear on the collection page right now.

One thing to also double check is that if you’re developing a theme, make sure that the new template.json e.g. collection.collectionName.json is placed in the live theme. Placing a new template into a development theme that sitting alongside your live production theme will not show up as a collection template in your collections. It has to be the live theme.

1 Like