Logo change by product template Prestige Template

Teddy9
Shopify Partner
144 3 37

Hi,

 

How can we automatically change the header logo for the boys brand product pages and the girls brand product pages? This question is concerning: https://le-chic-garcon.myshopify.com/

 

Things good to know;

Boys brand

we created custom product page template for the boys brand

we attached every boys product to the boys product templates

handle: le-chic

 

Girls brand

we created custom product page template for the girls brand

we attached every girls product to the girls product templates

handle: le-chic-garcon

note:

We did managed to change the collection header logo automatically for the boys and girls collection pages but we don't know how to do the same for the product pages.

product template header logo switch.jpg

 

Replies 4 (4)

Lucid_Polygon
Shopify Partner
349 63 91

If you have the products tagged with "Boys" or "Girls", then you need a small if condition coding to show one or the other logo. 

How did you change it on the collection page? It should be an if condition as well. Something like that can be done from the product page. 

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
Teddy9
Shopify Partner
144 3 37

Hey @Lucid_Polygon,

 

Thank you for your swift reply.

The password for the store is: 'jolo' in case you want to take a quick look.

 

In regards to the collection pages we managed that with some help and added the script as seen attached to the header.liquid file under 'USEFULL VARIABLES'

 

Cheers,

 

Teddy

Lucid_Polygon
Shopify Partner
349 63 91

@Teddy9  Yup, you need something similar on your header to achieve this. Prestige is a paid theme, I don't have it. need to see the code to be able to give exact answer 🙂

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution

ExpertRookie
Shopify Partner
1518 249 314

@Teddy9 ,

 

You will need to add a some code to implement your requirements on product details page. You should hire an expert to do it for you

- Was my reply helpful? Please Like and Accept Solution to let me know!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me on expert.rookie.team@gmail.com regarding any help.