Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there,
I'm using DAWN. 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. 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 tried to configure product metafield, but looks like I am not permitted.
Anyone can please help me? Thank you in advance.
Best Regards,
Tara
Solved! Go to the solution
This is an accepted solution.
Yes, for future merchants, I am copying the steps from another person and it works really well for me.
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.
@Tara123 to achieve this in the Dawn theme, you can use tags or metafields to specify a unique collection for related/recommended products for each product. When you add a product, assign a tag or metafield corresponding to the desired collection. Then, modify your theme's Liquid code to display related products based on these tags or metafields, filtering products from the specified collection only. This customization may require some advanced Liquid coding knowledge or the assistance of a Shopify developer.
Thanks for the quick reply. However, can you please help share the specific steps? Screenshots would be helpful. I don't have coding knowledge either.
Also as above attached screenshot, I'm not permmited to add product metafield definition.
I have figured it out by referencing to other person's discussions previously. Thanks.
For future merchants can you share specifics.
You can mark your own responses as solutions.
Thanks.
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
Yes, for future merchants, I am copying the steps from another person and it works really well for me.
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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024