{% comment %} Renders a list of product's variants Accepts: - product: {Object} Product Liquid object - show_image: {Boolean} Shows image of the variant in the row - is_modal: {Boolean} Defines if this snippet lives in a modal (optional) Usage: {% render 'quick-order-list', product: product %} {% endcomment %} {% comment %} TODO: enable theme-check once `line_items_for` is accepted as valid filter {% endcomment %} {% # theme-check-disable %} {%- assign items_in_cart = cart | line_items_for: product | sum: 'quantity' -%} {% # theme-check-enable %}
{{ 'sections.quick_order_list.total_items' | t }}
{{ 'sections.quick_order_list.product_total' | t }}