In the Cart Show fields per value of price and quantity

Hi :slightly_smiling_face:

I try to show this form for each product == 0 in the cart.

{% if item.original_line_price == 0 %}
            
                

                  
                  
                  
                

                

                  
                  
                  
                

                

                  
                  
                  
                

                

                  

                  
                

            
      
          {% endif %}

It works but if i have 2 time the same product it show me only 1 form instead of 2.

Do you have an idea ?

Thanks :slightly_smiling_face:

Regards,

@MarcPaul ,

Try like this.

{% if item.original_line_price == 0 %}
           {% for quantity in item.quantity %}
            
                

                  
                  
                  
                

                

                  
                  
                  
                

                

                  
                  
                  
                

                

                  

                  
                

            
      
         {% endfor %}
          {% endif %}

Thank you so much for the reply.

Sadness it doesn’t show anythings.

@MarcPaul

Can you please provide your store URL ? So that I can check this in detail

Just to edit to give more info:

Currently on the website I show 1 voucher per product_ID detected.

But i would like to create something better to show this one when the product_original_price == 0 or equivalent :slightly_smiling_face:

https://7kj0uqk6b0ucrjt1-58604650675.shopifypreview.com

Share preview for the cart

Is someone has an idea ?