> For the complete documentation index, see [llms.txt](https://shoppad.gitbook.io/infinite-options/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shoppad.gitbook.io/infinite-options/troubleshooting/performance-and-optimization/hide-_io_order_group-and-_io_parent_order_group-from-cart.md).

# Hide \_io\_order\_group and \_io\_parent\_order\_group from cart

If you're using legacy bundling in Infinite Options, you may notice some extra text showing up in your cart, like `_io_order_group` or `_io_parent_order_group`. This is internal data that Infinite Options uses to keep your bundled products linked together, and it's working as expected. It just isn't meant to be visible to customers.

Some themes hide this automatically. If yours doesn't, the steps below will take care of it.

{% hint style="info" %}
**Prefer a cleaner setup?** Native Bundling handles this differently and doesn't display this code on the backend. [Learn more about Native Bundling.](https://shoppad.gitbook.io/infinite-options/increase-the-cost-of-an-option/native-bundling)
{% endhint %}

#### **What this looks like**

When legacy bundling is active, your customer sees the main product and the add-on listed separately in their cart. The add-on price shows separately as well.

<figure><img src="/files/2nPoaWdLsTLub2YdYjj4" alt=""><figcaption></figcaption></figure>

In your Shopify admin, you'll see `_io_order_group` and `_io_parent_order_group` appear on the order line items. This is how Infinite Options keeps track of which add-on is connected to which product

<figure><img src="/files/mugIsDSf83FI6jyOCUVO" alt=""><figcaption></figcaption></figure>

### **Why you might see the code without option values**

If you see only `_io_order_group` in an order without any of the actual option values, this is usually because a product was removed from the cart before the order was completed. When a customer selects an option, the bundle code attaches right away, but if they remove the product before checking out, the code remains on the order while the option values do not.

This is a known behavior with legacy bundling. [Learn more about how Product Bundling and Native Bundling handle this differently.](https://shoppad.gitbook.io/infinite-options/increase-the-cost-of-an-option/what-is-the-difference-between-product-bundles-and-native-bundling-feaures)

To prevent this from happening, we recommend upgrading to Native Bundling, which removes add-ons automatically when the main product is removed from the cart. [Learn how to move from legacy bundling to Native Bundling.](https://shoppad.gitbook.io/infinite-options/increase-the-cost-of-an-option/native-bundling)

### How to hide \_io\_order\_group from your cart

### 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**.

<figure><img src="/files/KpRVx2mL3yNcql7H8hm0" alt=""><figcaption></figcaption></figure>

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.

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.&#x20;

<figure><img src="/files/cfJ4q9cDaoSBCW10HOfv" alt=""><figcaption></figcaption></figure>

### 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:

```liquid
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:

```liquid
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:

```liquid
{% 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:

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

3\. **Save** your changes.

{% hint style="info" %}
If your cart is still displaying the product bundle data, please contact our support team for assistance and we'd be happy to help!
{% endhint %}
