5 Replies Latest reply: Oct 24, 2014 6:27 PM by Liam Dilley RSS

    Outputting Individual Product Quantities with Liquid

    Daryl Barnes Community Member

      I have 3 products in a shopping cart and I looped through them all to output the values for the quantity of each product in the cart.

       

       

      {module_shoppingcartsummary collection="currentcart" template=""}

       

      {% for productId in currentcart.items %}

       

               {{productId.quantity}}

       

              {% endfor %}

       

       

      But how do I use the productId to output just one of them using liquid?