I am using an app that allows a popup window to be added in the code when a button is clicked. I have added:
{% if product.tags contains “date” %} onclick=“popup” {% endif %} to the code when “add to cart” button is selected and it works fine.
I also want this same popup for if certain product variants are added to cart. Is this possible?