Hello!
I am having an issue with customers adding items with options to cart from the collection page. On the product page, these options are required for adding to cart, so I need to switch out the add to cart button on the collection page with a button that says “select options” that directs the customer to the product page to select options before adding to cart.
I added tags for “options” to the relevant products. Then I added this code to my collection.liquid:
{% if product.tags contains ‘options’ %}
{% endif %}
But I’m getting a syntax error. Is anyone able to help identify the error?
Thank you!
Julia