I have set up a store in which the recommended products on the product match the respective retailer – for example, the bakery should display all other products of the bakery as recommended products for the product bread rolls. I have implemented the whole thing in the Dawn theme and cannot guarantee that it will work in the same way with all other themes.
First, we need to add a new meta definition to the products.
Step 1: add new meta field for products
Go to Settings -> Custom Data -> Products -> Add Definition
enter the following information:
name, namespace key and set “collection” as type
this should look something like this:
name: label
namespace: custom.label
type: collection
Next, we need to assign the vendor’s or brand’s products to a collection.
Of course you can use anything you like. For example, if you want to show all the other pants in the store as recommended products for one pair of trousers, you would have to create a collection at this point, which would then include all the pants accordingly.
Step 2: add the vendor’s or brand’s products to a collection
Simply create a collection here and assign all products of the brand or vendor to the collection. You can also do this automatically via conditions using Smart Collections.
Go to Products -> Collections -> Create collection
enter the following information:
title, description, select the type and add products according to the selected type (manual or smart with conditions)
Let’s call the retailer Golden Crust Bakery, for example, so that the next steps are easier to understand. We would now create a Golden Crust Bakery collection containing all of the bakery’s products.
Now we need to merge steps 1 and 2 and enter the collections in our new meta field on the product.
Step 3: edit the products
Go to Products -> select some products or all products using checkboxes -> bulk edit
If our “label” column is not displayed go to -> Columns -> select “label” or whatever you called it
enter the corresponding collection in the “label” field
e.g. collection “Golden Crust Bakery”
So now we are ready to go and can display the products on the product page.
Step 4: add a new featured collection on the product page
Go to theme -> customize -> choose the product page e.g. default product
insert the placeholder on the page at the point where the products are to be displayed via “new section” -> Featured Collection
In the settings for the new section, you now select our new meta entry “label” in the Category field via the database icon (connect dynamic source).
And we’re done!
I hope this has helped you. If you have any updates or additions to the problem, please let me know.
![problems [solved]](https://problemssolved.de/wp-content/uploads/2025/03/solved_logo.png)
