Making a 2nd header show based on condition

Hello,

I want to make a specific menu show based on the condition of whether or not the products are womens or mens.

I am trying to make it so when a page has anything “mens” the mens menu shows and when the page has womens the womens menu shows. The menu is the header section. I duplicated it to have multiple.

Can someone please advise, thank you

Hi @korrynf

This is Richard from PageFly - Shopify Page Builder App

You can use this as a condition to match your logic.

For example you have 2 collections is:

Men: …shopify.com/collections/men = {% if handle contains ‘men’%}

Women: …shopify.com/collections/women = {% if handle contains ‘women’%}

Hope this can help you solve the issue

Best regards,

Richard | PageFly