A space to discuss online store customization, theme development, and Liquid templating.
Hello,
I have created a new template based on "page". But when I go to assign it, I don't see my created template in the drop-down menu. Here is screenshot:
Please let me know what I am doing wrong.
thanks
Solved! Go to the solution
This is an accepted solution.
Make sure the alternate template was created in the /templates folder and not as a snippet or section somehow.
Alternative templates from unpublished themes will not show.
To preview and develop alternate templates, in unpublished themes, on the frontend use the ?view parameter in tandem with the normal ?preview_theme_id used to preview unpublished themes.
I.e. for page.customname.liquid would mean shopify.com/pages/page-handle?preview_theme_id=1234567&view=customname
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
Make sure the alternate template was created in the /templates folder and not as a snippet or section somehow.
Alternative templates from unpublished themes will not show.
To preview and develop alternate templates, in unpublished themes, on the frontend use the ?view parameter in tandem with the normal ?preview_theme_id used to preview unpublished themes.
I.e. for page.customname.liquid would mean shopify.com/pages/page-handle?preview_theme_id=1234567&view=customname
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Thanks,
Basically, I am using a git subtree and the dev branch I am currently working on is not the published one.
That's why it wasn't showing.
Hello sir, how are you doing,
I have go through your post and I am fully happy to help you but I will like to first see your store link .