Re: custom templates not showing up to be assigned to pages

Solved

custom templates not showing up to be assigned to pages

fiji
Visitor
1 0 2

I created a custom template in flow theme but when it comes to assign the template to pages the template don't show up 

Accepted Solution (1)

KetanKumar
Shopify Partner
37043 3644 12026

This is an accepted solution.

@fiji 

oh sorry for that 

if you have work draft theme so  doesn't show 

if work with draft theme so please first create live theme that custom template after create draft then will show this 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing

View solution in original post

Replies 11 (11)

KetanKumar
Shopify Partner
37043 3644 12026

This is an accepted solution.

@fiji 

oh sorry for that 

if you have work draft theme so  doesn't show 

if work with draft theme so please first create live theme that custom template after create draft then will show this 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Kinh
Tourist
12 1 3

What??

NB5
Visitor
1 0 1

Thank you!

KetanKumar
Shopify Partner
37043 3644 12026

@NB5 

its my pleasure to help us 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
asia-acorn
Shopify Partner
10 1 3

Just in case someone is having trouble understanding this solution:
You cannot assign a template to a page if the theme you're working on is not live. You'll need to make it live first, at which point you can set the template in the pages section, and then set it as a draft again.

KetanKumar
Shopify Partner
37043 3644 12026

@asia-acorn 

oh sorry for that issue can you please share store url so i will check and let you know 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
SGIVD
Visitor
1 0 1

Could you kindly clarify if when you are creating a theme on a shop that is currently not live, and you don't want to push life until the launch date, there's any other way to make the theme appear? I'm using the latest version of Dawn, and I successfully created one new theme and was able to assign it, but the second theme I created doesn't show up on the dropdown ''Online Store- Theme Template'' when I want to assign it to a Page (On Sales Channels- Online Store- Pages- The page I want to connect with a theme''. I tried Shopify's customer service and they didn't know why it wasn't showing up, so I have no solution. I'm able to see the theme and edit in on the Customise portal of the website, just not assign it.

mrmclau
Visitor
1 0 0

I am having the exact same problem

asia-acorn
Shopify Partner
10 1 3

@SGIVDand @mrmclau 
So sorry for the late response, I hope you were able to get an answer to your question.
Based on my current experience, there is no way to apply a template to a theme's page without first making that theme live. The switch only takes maybe a single minute, make the theme live, assign the template to the page, switch the theme back. If you have high traffic to your site already you could always pick a low-traffic moment to do it, but alas it doesn't seem to be possible without first making the theme live.

PartPurple
Shopify Partner
21 1 1

You can get around this by making duplicate "-test" versions of the template and section on your live theme, then creating a test page or article, then applying the test template to your "-test" page. You can go into Preview mode on your unpublished theme, then go to the test URL in your browser (while you're in Preview mode) and you should be able to tweak from there.

 

Keep in mind that your new theme will probably have very different styles and Liquid structure. Be prepared for a mess when you first copy over and view your test file this way. You'll get errors for any snippets that you haven't copied over yet. Just edit the template or CSS in your test theme, copy over any snippets you're missing, and you can preview anything you want before going live.

 

It will look like this:

  • Live theme
    • templates
      • mycustompage-test.liquid (new file name)
    • sections
      • mycustomsection-test.liquid (new file name)
    • snippets (you can use the same file names as your unpublished theme as long as those files don't already exist in your live theme)
      • snippet-1.liquid
      • snippet-2.liquid

 

  • Unpublished theme
    • templates
      • mycustompage.liquid
    • sections
      • mycustomselection.liquid
    • snippets
      • snippet-1.liquid
      • snippet-2.liquid

 

  • Shopify admin
    • duplicate page/article "My Stuff"
    • rename page/article "My Stuff Test"
    • assign template "mycustompage-test" or "mycustomarticle-test" accordingly
    • keep it hidden
    • keep it safe save
    • make note of the page slug; probably a handleized version of the page name

Visit "yourshop.com/pages/my-stuff-test" or "yourshop.com/blogs/blogname/my-article-test" and edit your unpublished theme to make changes.

 

(You can use different file names for the new files on your live theme; "-test" is just what I use. It doesn't matter what you name them as long as you can identify them in the template selection dropdown on the page/article admin page.)

Nate31
Visitor
1 0 0

I was having trouble with it, but I fixed mine by publishing my store, the option then came up.