Dynamically switch out Featured Collection at bottom of product pages without creating new templates

Hello! At the bottom of my product pages I have a ‘Featured Collection’ component where I show other products in the collection of the product that the user is currently viewing.

Right now, I’m creating a new template each time I want this collection to change at the bottom of the product page because I’m not sure how to do it dynamically.

Is there a way to do this with metaobjects? I can’t seem to figure it out.

Thank you!!

Elise

Hello Hannah2!

  • I am using: Dawn 15.0.1
  • I’m using the ‘Featured Collection’ component that comes OOTB with Shopify and I manually select the collection to show.
  • I don’t have any metaobject configurations for this piece. The only metaobjects I have used so far is the ‘Fabric’ metaobject.

Thank you!

Hi @elise-e ,

Yes, it can be done by metaobjects, or you can add it with Shopify Search & Discovery app.

If you want to create metaobjects, please send me store link and collaborator code in private message, I will send you invitation and add it

Hiya! Thank you! I’m fairly familiar with how to create metaobjects I’m just not sure how to do them so they work for this use case. I’m pretty good at following the steps if they are laid out, is it possible/are you open to kind of telling me the steps so I can try it? Thank you!!

Hi @elise-e ,

Sure, after you create metaobjects, you can bind to section itself via that variable.

Or I can send you a collaborator invite and add a code to it, then guide you

Okay that works! Feel free to send me a collab invite, do you need any info from me to send the invite? Thank you!

Hi @elise-e ,

Please send me store link and collaborator code in private message, I will send you invitation and check it

Hi @elise-e ,

Please follow these steps:

  • Step 1: Create metafield:

  • Step 2: change code in featured-collection.liquid file

it will work fine