Skip to main content
Billing & account

What is the _bundlex code on my orders?

If you have opened an order in your Shopify admin and noticed a line that reads something like _bundlex: {"o":0,"d":"da2a9114-..."}, that is Bundlex at work. It is an internal tracking tag, and this article explains exactly what it does and why it is there.

The short version

The _bundlex line-item property is an internal tracking code that Bundlex attaches to order line items. It does two jobs:

  • Applies the correct discount at checkout, by recording which bundle offer the customer selected.
  • Attributes revenue in your Bundlex analytics, by recording which discount the line belongs to.

It is not a coupon code, a promo code, or anything your customer typed in. It is metadata that Bundlex uses behind the scenes.

Your customers never see it

Shopify automatically hides any line-item property whose name starts with an underscore (_) from customer-facing surfaces. That means the _bundlex code does not appear on:

  • Order confirmation pages
  • Confirmation and notification emails
  • Packing slips

So while you can see it in the admin, it has no effect on your customer's experience in any way.

Why it can't be removed from the admin order view

There is no way to hide the _bundlex property from the admin order detail screen. This is a Shopify platform limitation, not a Bundlex setting, so it is not something the app can turn off. The good news is that it only shows to you, never to the customer.

This is the standard mechanism for bundle apps

Attaching metadata to line items is the standard, Shopify-designed way for apps to work with orders. Every Shopify bundle and discount app relies on line-item properties for this kind of tracking, and there is no alternative mechanism. Bundlex uses a single property per line item to keep the footprint small.

What the code looks like

You will typically see one tag per line item. The main product line carries an offer reference, and any gift or paid extra line carries an additional marker:

_bundlex: {"o":0,"d":"da2a9114-8063-..."}        Main item
_bundlex: {"o":0,"e":0,"d":"da2a9114-8063-..."}  Gift or extra item

The values are internal identifiers: o is the offer position, d is the discount ID used for revenue attribution, and e marks a gift or paid extra. You do not need to act on them or interpret them.

I see the tag but no discount was applied

This is normal and usually expected. If an order has a single item with the _bundlex tag but no discount, the purchase almost always matched a tier set to None or 0%, for example the "Buy 1" or single-unit tier of a volume deal.

Say you run a wine deal with a "Buy 1" tier at 0% off and larger tiers at a real discount. A single-bottle order will still be tagged. The customer bought 1 unit, which matched the first tier, so no discount applies and only the tracking tag is present. That is the app working correctly.

Tip: if you would rather your first tier carried no discount at all instead of an explicit 0%, set that offer's discount type to None for a cleaner configuration. The behavior is the same and the tag will still appear.

Do I need to do anything?

No. You can safely ignore the _bundlex code on your orders. It applies the right discount, credits revenue to the correct bundle in your dashboard, and stays invisible to customers. If you ever see an order where you expected a discount and none applied, check which tier the purchased quantity matched before assuming something went wrong.

Was this article helpful?

Your feedback helps us improve our docs.

Thanks - we'll keep improving this article.

Want to chat with our team? Still have a question?

Still need help?

Our team is one click away. Send us a message and we'll get back to you.

We use a few cookies to keep this site working, measure how it is used, and power our chat widget when you open it. See our cookie policy.