Shopify themes, liquid, logos, and UX
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.
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.
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
@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 🙂
@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
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024