@Karla8 it is showing 4 on product page
Topic summary
A user successfully filtered out specific products from the “You may also like” recommendations section by:
Implementation approach:
- Added a custom tag “AVIS” to products they wanted to exclude
- Used Liquid code with
{% if recommendation.tags contains "AVIS" %}and{% continue %}to skip tagged items
Current issue:
- The code successfully removes unwanted items
- However, the recommendations section now appears blank/empty instead of displaying the remaining products
- Another user confirmed seeing 4 recommendations on the product page, suggesting inconsistent behavior
Goal: Keep 4 “you may also like” items while excluding those tagged with “AVIS”
Status: The filtering logic works but needs adjustment to display the non-excluded recommendations properly. The user is seeking help to resolve the blank display issue.
1 Like
