We are using ‘dawn’ theme and the “You may also like” Product recommendation shows random products right now. We want that when a user clicks on men products, they should be shown random men product recommendations under ‘you may also like’ and when a user clicks on women products then they should be shown random women product recommendations under ‘you may also like’. Can anyone please help with that?
Hi,
Go to sections/product-recommendations.liquid and change ‘recommendations.products’ => ‘collections[product.collections[0].handle].products limit : 4’
https://i.imgur.com/O2PQoBp.png
It will help you display the first collection of products.
Hope it helps!
If my answer can help you solve your issue, please mark it as a solution. Thank you and good luck.
We tried this just now. It then shows first 4 products and not random/dynamic products from that particular collection. Also, if we click on the first product, it shows the same product in product recommendations as well.
Hi, @monkthatsells .
Thanks for your message, I would be happy to offer you some further insight into this. There is an algorithm that identifies recommended products, it predicts the most relevant products based on the product a customer is interacting with. The criteria that the algorithm uses depends on your online store, as well as your plan, however, here are the following criteria in general:
- Purchase history - Finds products that have historically been purchased together.
- Product description - Finds products with similar descriptions.
- Related collections - Finds products from collections that the current products are part of, excluding collections with handles
all
andfrontpage
.
This is outlined in our Product recommendations guide here in more detail, f you wanted to take a closer look.
There may be a way to customize this utilizing coding, as @LitExtension mentioned. However, this is how the product recommendations algorithm works natively with our themes. You may also want to reach out to a Shopify Expert to see if there are any alternative methods you could look into to set up specific recommendations within your theme.
I hope this information gets you on the right track, feel free to reach back out here with any questions you may have!