I know this has been asked many times, but I still cannot figure it out after reading all of the support posts and the tutorials. I cannot get my line item properties to show in my cart. It is a multiple check box option. Any help at all would be very very appreciated!
Here is the code on the product page:
{{ product.title }}
Cheeses (Choose Four)
Aged Cheddar
Aged Gouda
Belgioioso Sharp Provolone
Brie
Ghost Pepper Monterey Jack
Havarti
Jarlsberg Swiss
Sharp Provolone
Sicilian Pepato
Stella Blue Cheese
Stella Fontinella
{%- if shop.taxes_included or shop.shipping_policy.body != blank -%}
Here is the code in may cart:
{{ item.product.title }} {% assign property_size = item.properties | size %} {% if property_size > 0 %} {% for p in item.properties %} {% assign first_character_in_key = p.first | truncate: 1, '' %} {% unless p.last == blank or first_character_in_key == '_' %} {{ p.first }}: {% if p.last contains '/uploads/' %} {{ p.last | split: '/' | last }} {% else %} {{ p.last }} {% endif %}{% endunless %} {% endfor %} {% endif %}
{%- assign variant_options = 'template ’ | split: ’ ’ -%}
{%- if item.product.has_only_default_variant != true -%}
{%- assign variant_options = item.options_with_values -%}
{%- endif -%}
{%- assign property_size = item.properties | size -%}