Cart widget - line item

This subcomponent renders Line item in the cart widget

Contenst of a single line item


          {% include "cccc/_cart/_cart_line_item" with {'item': lineItem} %}
        

When defining project specific variables, when it comes to cart items, be mindful of defining "purchase scope" variables

List of predefined variables:


          {% set title = item.purchasable.product.title %}
{% set id = item.id %}
{% set basePrice = item.purchasable.salePrice %}
{% set piece = item.qty %}
{% set itemIage = item.purchasable.product.productImage.one() %}