Hello, I’m having an issue with a bit of code.
Two of my products were displaying the Shop Pay Installments message twice
The code was:
{%- form 'product', product, id: 'product-form-installment', class: 'installment caption-large' -%}
{% for tag in product.tags %}
{% unless product.tags contains 'pro table' %}
{{ form | payment_terms }}
{% endunless %}
{% endfor %}
{%- endform -%}
As a temp fix I’ve just removed to clean up the site a bit.
Now I know it’s the {% unless product.tags contains ‘pro table’ %} causing the issue but I’m not sure why it would display twice when none of the products have any “Pro table” tags.
I would still like the shop pay message to display on all of my products but obviously only once.
Any help or guidance to create an exclusion would be greatly appreciated.

