For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Prefer a cleaner setup? Native Bundling handles this differently and doesn't display this code on the backend. Learn more about Native Bundling.

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.

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

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.

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.

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.

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.

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:

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:

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:

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:

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!

Last updated