Hide collapsible for specific collections

Hi,

I’m trying to hide a collapsible element for a specific collection. My store has 2 types of products:

  1. Supplements that require extra information like Dosage, formula, etc… are displayed in the collapsible rows
  2. Apparel has no such details

How can I hide the collapsible for the apparel?

I’m using the Ride theme.

Thanks for your help.

1 Like

Hi @theelitelabs ,

You can trick collapse content for your requirements like creating different headings and description metafields for formula/dose and material.

Like I creating description metafield in below screenshot.

Now to customize in

online store->theme → customize → choose product template

and select both meatfield using the insert dynamic source

insert both metafield to it.

Trick:

Enter data in material metafield when the product is an apparel and in dosage metafield when its supplements.

Hope it will help you…

Thanks @gr_trading . I’m gonna try it :slightly_smiling_face:

I had to create new metafields for the row’s title, but overall, it worked!

@theelitelabs

please check the below video to implement the same.