_cl_options property

If you create an order with products that are using the Live Product Options app, then you will see the "_cl_options" property as shown below:

The app uses this property to connect the options configuration with the order item. This value is used in order processing to find the configured options and archive them. 

Additionally, using this property, the app will be able to edit the cart item after it has already was added to the cart. 

Cart

Most themes automatically hide all properties that start with an underscore "_".

Automatic

The app does automatically hide the "cl_options" property if it's still shown on the cart page. 

Manual

If you want to prevent showing the property for a short period, then you can follow the steps to hide them in your themes cart template.

In the theme code editor, search for "cart" to show your themes cart related code. 

Common locations are:

  • sections/cart-template.liquid  (most themes)
  • templates/cart.liquid 
in your  cart-template.liquid file, look for the liquid code that loops over the cart item properties:
{%- for p in item.properties -%} 
  ....
{%- endfor -%}
	

Add the following code right at the beginning of the loop to hide all properties starting with "_":

{%- for p in item.properties -%} 
  {%- if p.first.first == '_' -%}{% continue %}{%- endif -%}
  ....
{%- endfor -%}

Checkout

All properties starting with "_" are automatically hidden in the Shopify checkout.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.