Product reccommendations based on matching Vendor

Highlighted
Tourist
9 0 1

Hi there,

 

For the Product page I'd like to be able to customize the 'You May Also Like' output panel to only list products matching the Vendor of the current product. Is this doable? And if yes can soembody please point me to info explaining how, I've not been able to find anything specific to the Vendor.

 

Thanks in advance.

Grant

0 Likes
Highlighted
Tourist
9 0 1

Can somebody from Shopify please reply to this.

Thanks

Grant

 

0 Likes
Highlighted
Shopify Partner
2134 100 298

Most straightforward way is to make automated collections for those vendors.

Then depending on theme use that collection in the liquid loop for 'You May Also Like' that outputs those products

 

Or do the multiple collections single page customization 

https://community.shopify.com/c/Shopify-Design/Collection-Feature-a-subset-of-collections-on-a-page/...

 

If you need to load it in with ajax, or iframe, the vendors search is a possibility

https://shopify.dev/docs/themes/liquid/reference/filters/url-filters#link_to_vendor

https://shopify.dev/docs/themes/liquid/reference/filters/url-filters#url_for_vendor

https://shopify.dev/docs/themes/liquid/reference/objects/collection#collection-all_vendors

https://shopify.dev/docs/themes/liquid/reference/objects/collection#collection-current_vendor

 

Problem Solved? ✔️Accept and ? Like the solution so you can help others.
Buy me a coffee ☕ paypal.me/paulnewton or donate to eff.org
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
1 Like
Highlighted
Tourist
9 0 1

Thanks for that Paul, I'll take a look and see if I can get something working.

Cheers

Grant

 

1 Like