didn't get customer tags for wishlist

Excursionist
15 11 0

i didn't get customer.tags for   wishlist page

 

 

{% capture id %}{{ product.id }}{% endcapture %}
{% for tag in customer.tags %}{% if tag contains id %}{% assign t = tag %}{% endif %}{% endfor %}
{% assign check = tag.size | minus:id.size | modulo:2 %}
{% if check == 0 %}{% assign display = true %}{% endif %}

 

 

condition fail becuse  customer.tags  hase no value and if condition didn't get  check value=0

0 Likes