There also a liquid file called " cart-line-items ", it might be this one glitched.
Here you have :
{%- assign pair_products = ‘’ -%}
{%- assign cart_products = ‘’ -%}
{%- for line_item in cart.items -%}
{{- line_item.product.title | strip_html -}}
{%- unless line_item.product.has_only_default_variant -%}
{%- for option in line_item.options_with_values -%}
{{- option.name -}}:
{{- option.value -}}
{%- endfor -%}
{%- endunless -%}
{%- if line_item.selling_plan_allocation -%}
{{ line_item.selling_plan_allocation.selling_plan.name }}
{%- endif -%}
{%- assign property_size = line_item.properties | size -%}
{%- if property_size > 0 -%}
{%- for p in line_item.properties -%}
{%- assign property_first_char = p.first | slice: 0 -%}
{%- if p.last != blank and property_first_char != ‘_’ -%}
{{ p.first }}:
{%- if p.last contains '/uploads/' -%}
{{ p.last | split: '/' | last }}
{%- else -%}
{{ p.last }}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- assign discounted = false -%}
{%- assign sale = false -%}
{%- if line_item.original_price > line_item.final_price -%}
{%- assign discounted = true -%}
{%- endif -%}
{%- if line_item.variant.compare_at_price > line_item.price -%}
{%- assign sale = true -%}
{%- endif -%}
{%- if sale or discounted -%}
{%- if line_item.final_price == 0 -%}
{{ ‘products.product.free’ | t }}
{%- else -%}
{{- line_item.final_price | money_with_currency -}}
{%- endif -%}
{%- else -%}
{%- if line_item.final_price == 0 -%}
{{ ‘products.product.free’ | t }}
{%- else -%}
{{- line_item.final_price | money_with_currency -}}
{%- endif -%}
{%- endif -%}
{%- if sale and discounted == false -%}
{{- line_item.variant.compare_at_price | money_with_currency -}}
{%- endif -%}
{%- if discounted -%}
{{- line_item.original_price | money_with_currency -}}
{%- endif -%}
{%- if line_item.unit_price -%}
{%- capture unit_price_separator -%}
/{{ ‘general.accessibility.unit_price_separator’ | t }}
{%- endcapture -%}
{%- capture unit_price_base_unit -%}
{%- if line_item.unit_price_measurement.reference_value != 1 -%}
{{- line_item.unit_price_measurement.reference_value -}}
{%- endif -%}
{{- line_item.unit_price_measurement.reference_unit -}}
{%- endcapture -%}
{{ 'products.product.unit_price_label' | t }}
{% if line_item.unit_price == 0 %}{{ 'products.product.free' | t }}{% else %}{{ line_item.unit_price | money_with_currency }}{% endif %} {{ unit_price_separator }} {{ unit_price_base_unit }}
{%- endif -%}
{{ 'general.accessibility.decrease' | t }}
{%- render 'icon-toggle-minus' -%}
{%- assign quantity = line_item.quantity -%}
{%- if line_item.variant.inventory_policy == ‘deny’ and line_item.variant.inventory_management != nil and line_item.variant.inventory_quantity < quantity -%}
{%- assign quantity = line_item.variant.inventory_quantity -%}
{%- endif -%}
{{ ‘general.accessibility.increase’ | t }}
{%- render ‘icon-toggle-plus’ -%}
{{ 'cart.general.remove' | t }}
{%- if line_item.original_price > line_item.final_price -%}
{%- for discount in line_item.line_level_discount_allocations -%}
{%- render 'icon-tags' -%}
{%- assign discount_price = discount.amount | money_with_currency -%}
{{ ‘cart.general.discount_label’ | t: amount: discount_price, title: discount.discount_application.title }}
{%- endfor -%}
{%- endif -%}
{%- assign cart_products = cart_products | append: line_item.product.id | append: ‘,’ -%}
{%- assign upsell = line_item.product.metafields.theme.upsell -%}
{%- if upsell.value != nil and upsell.type == ‘product_reference’ -%}
{%- assign pair_products = pair_products | append: forloop.index0 | append: ‘,’ -%}
{%- endif -%}
{%- endfor -%}
{%- if pair_products != ‘’ -%}
{%- liquid
assign upsell_products = ‘’
assign pair_products = pair_products | split: ‘,’
assign cart_products = cart_products | prepend: ‘,’
for index in pair_products
assign arr_index = index | plus: 0
assign upsell_product = cart.items[arr_index].product.metafields.theme.upsell.value
for variant in upsell_product.variants
if variant.available
assign upsell_product_variant = variant.id
break
endif
endfor
if cart_products contains upsell_product.id or upsell_product.available == false
continue
endif
unless upsell_products contains upsell_product.handle
assign upsell_products = upsell_products | append: upsell_product.handle | append: ‘_’ | append: upsell_product_variant | append: ‘,’
endunless
endfor
-%}
{%- endif -%}