Changes to template affecting all templates

Solved

Changes to template affecting all templates

JRDJRD
Tourist
3 1 0

I'm using the streamline theme, most of my products are in the default product template but I created a new one for accessories. When I go into the customize theme settings, select the accessories product template and add a rich text section it adds it to all the products in my store, not just the ones that are using the accessories template. Isn't the entire point of having different templates is to be able to have different product pages?  What am I doing wrong?

Accepted Solution (1)
JRDJRD
Tourist
3 1 0

This is an accepted solution.

I figured it out! I had to edit the code. It was using the same Section/product-section.liquid file, so I duplicated that, named it something else and changed the template code to that name.

View solution in original post

Replies 3 (3)

PaulNewton
Shopify Partner
7746 679 1617

Hi @JRDJRD  double check to make sure ALL products have the default template assigned and not the one your editing.

Also try clearing browser cache or on a different browser to rule out local issues.

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


JRDJRD
Tourist
3 1 0

Thanks. I have 97 products using the default template and 13 products using the accessories template. I select the accessories template, add a rich text box, save. I then select to view the default template and the rich text is also added that template. I've looked on my live site and it's applied to all items in both templates.

I get the same result on different browsers. 

JRDJRD
Tourist
3 1 0

This is an accepted solution.

I figured it out! I had to edit the code. It was using the same Section/product-section.liquid file, so I duplicated that, named it something else and changed the template code to that name.