How To Put Add Fill-Up Form If Counts Of Item Is More Than 1 And If Item.Product.Tag Condition Met in shopify?

Viewed 11

I would like to add an additional fill-up form on our checkout page if the count in the cart is more than 1 and if item.product.tag condition met in Shopify.

please see the below sample code:

{%- if item.product.tags contains "SpecialItem" -%}
   {% assign viberCount = viberCount | plus: 1 %}
   {% assign hasSpecialItem = true %}
   {% render 'questions-lp-class', index: forloop.index, product:   item.product.title, viberCount: viberCount %}
{%- endif -%}

Hoping that you could help me on this.

Thank you in advance.

0 Answers
Related