Welcome to Eight Docs

Line Item Properties (Starting With _)

This additional information you sometimes find on your Cart page are called Line Item Properties, and it is required by the app to be able to adjust the prices on the cart page correctly:




By default, Shopify considers line item properties starting with _ (a so-called underscore) as hidden (more information). However, it is your theme, rather than Bundle Builder, that decides whether these show or not.


Hide Line Item Properties in themes

If you wish to hide the Line Item Properties, we recommend you create a backup of your theme before you make any changes.

Inside either the cart-template.liquid or cart.liquid file, find the line which looks similar to:

{%- for p in properties -%}


Immediately below that line, paste in these two lines:

{% assign first_character_in_key = p.first | truncate: 1, '' %}
{% unless p.last == blank or first_character_in_key == '_' %}


Find the corresponding {%- endfor -%} for the loop and immediately above that line, paste:

{%- endunless -%}


Your code should now look something like this:



Was this article helpful?