How to add line item properties to the bundle item on the cart

 Some themes may not add line item properties to the cart. Add the code snippet to the cart item liquid file in the theme code editor (e.g. main-cart.liquid, etc)

{%- if item.product.vendor == 'BYOB' -%}
  {% assign propertySize = item.properties | size %}
  {% if propertySize > 0 %}
    <ul>
      {% for property in item.properties %}
        <li>{{ property.first }}: {{ property.last }}</li>
      {% endfor %}
    </ul>
  {% endif %}
{%- endif -%}

Besides the product vendor, you can use the product type. Just replace item.product.vendor with item.product.type

Line item property has been a Shopify official feature for over five years. If your theme does not support it, this is a defect of your theme but not our app.

Reference: Display line item properties

Still need help? Contact Us Contact Us