Hiding product bundle data on the cart page

When using Infinite Options' Product Bundles feature, there may be some strange text (e.g. _io_order_group, _io_parent_order_group) that appears at the cart screen: 

Some themes hide this data by default. If it is displaying on your theme, follow these steps to hide the data.

Note: We are unable to hide data from the Orders details page as that is out of our control.

Locate your theme's cart file

1. From your Shopify admin, click Online Store to arrive at the Themes page.

2. Find the theme you want to edit, click the  Actions ▼ button, then click Edit code.

3. On the left side, under Templates, check to see if you have a cart.liquid file. If your theme's cart.liquid file doesn't contain much code, it may be pointing to a different file. In most cases, the code will be located in the cart-template.liquid file, within the Sections folder. Also, you can hover over the file's name and click on the right arrow ➡️  to view the different file. 

If your theme does not have a  cart.liquid file and if you see a cart.json file, locate a file called main-cart-items.liquid file in the Sections folder. 

Edit your theme's cart file

1. If you have found a cart.liquid file or cart-template.liquid file in your theme, perform a search using keyboard shortcuts (Ctrl F or ⌘ F) for:

for p in item.properties

If you are using the Debut theme, please look for for p in properties.

If you have found a main-cart-items.liquid file in your theme, perform a search using keyboard shortcuts (Ctrl F or ⌘ F) for:

for property in item.properties

2. For the cart.liquid or cart-template.liquid file, copy and paste the following code snippet right under the line of code that we have just found, as seen below:

{% if p.first contains '_io_' %}
  {% continue %}
{% endif %}

For the main-cart-items.liquid file, copy and paste the following code snippet right under the line of code that we have just found, as seen below:

{% if property.first contains '_io_' %}
  {% continue %}
{% endif %}

3. Save your changes.

If your cart is still displaying the product bundle data, please contact our support team for assistance and we'd be happy to help!