I have a products object:
assign rel_products = collection.products
How can I check for a specific product within this object? By id
preferably. I'm doing this check so I can continue
in a for loop:
{% if rel_products contains related_product.id %}
{% continue %}
{% endif %}
This code above isn't working.