Skip to main content
All CollectionsSettings TabAdvanced Settings
Hide Properties Starting With Single Underscore "_"

Hide Properties Starting With Single Underscore "_"

How to hide custom attributes under product titles in the cart drawer.

Updated over a week ago

Overview

This setting controls whether UpCart hides line item properties that begin with a single underscore in the cart drawer.

Line item properties are often used by apps that let customers personalize products — like uploading images, adding custom text, or selecting colors.

We mention “in the cart drawer” specifically, because depending on your theme, the Shopify Cart Page might still display these properties, even if they start with an underscore, as shown in the GIF below.

Enabled

When enabled, any line item properties beginning with an underscore will be hidden in the cart drawer. This helps keep your cart layout clean and compact.

Disabled

When disabled, line item properties starting with an underscore will be visible in the cart drawer. This provides customers with more product details, though it may make the layout appear less tidy.

Did this answer your question?