Manually Select Collections (Not Individual Items) As Related Products

[Studio 2.0 theme] I’d like to be able to specify which collection to display as related/recommended products on the product page, however I need the collection to be different for each product. Is this possible?

I have different product lines based on design schemes, for example: for a pair of earrings in the “Argenta” line (currently in a collection called “Argenta”), I’d like necklaces and bracelets and anything else from that scheme to automatically display below it. Currently I’m doing this by tagging them “argenta” and then searching/selecting them in the Search & Discovery app to add them as recommendations, because you can’t search/add based on collections. But later on, as I add new products to the scheme, they won’t show as related unless I go back and edit every single product already tagged in that scheme.

So ideally, as I add a product to the catalogue, I could select a collection (or tag, if that’s easier to set up) that will recommend products automatically only from that collection (or tag). I’m a one-woman business with a small budget so I’m also hoping there’s an economical way to achieve this, by app or by code - I’m pretty good with HTML/CSS but definitely no genius. Any help you can offer is greatly appreciated!

You can configure a meta field for a product to select a collection and then go and loop through the products in that selected collection!

like this!

1 Like

Hi @artofadornment

May I suggest you use metafield to setup.

1 Like

OMG that was so easy!!! Thank you! I figured it was way more involved than that. I’ll mark this as solved, but describe the steps it took to add it below in detail for newbies like me to follow later. :slightly_smiling_face:

Thank you so much!! I’ll describe what steps I took thanks to this solution:

1.) Go to Settings > Metafields. Click “Products” from the list.

2.) Click “Add Definition” button. Follow the screenshot in the solution above, and save. Be sure to tick the “storefronts” box under Access Options.

3.) Close tab and open theme editor, and select product page view from page template list. Click to “Add Section”.

4.) Select “Featured Collection”, then click on it to open details. Scroll down to below Description Style to Collection, and click on the hamburger icon (“connect dynamic source”) above “Select Collection” box.

5.) Your new metafield will be in the list. Select it and save the product page template.

  1. ) Open a product listing to edit it, and at the very bottom you’ll see the Metafields section. Click on your field’s name and select whichever collection you like. :slightly_smiling_face: