Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Issue: Bundles & B2B Error - 'Bundled items can't be added to B2B orders for this location'

Solved

Issue: Bundles & B2B Error - 'Bundled items can't be added to B2B orders for this location'

AV_SL
Shopify Partner
39 4 10

Not sure if this is an oversight/error, or an unintended restriction not mentioned in the docs.

When a bundled product is added to cart via a B2B customers catalog, the bundle does not add and returns the following error:

{
    "status": 422,
    "message": "Cart Error",
    "description": "Bundled items can't be added to B2B orders for this location."
}


This issue was originally flagged by a merchant using our public mix and match bundles app. I've replicated this using our app, and also the Shopify bundles app (fixed bundles), on a development store with B2B customer accounts and catalogs.

 

Screenshot 2024-06-29 at 4.12.42 pm.png

 

Steps to repeat:

 

  1. Using a B2B enabled store with new customer accounts (not classic), create a customer account and add it to a company
  2. Create a catalog for the company with a discount - say 20%
  3. Create a bundle using the Shopify Bundles app
  4. Ensure the bundle is added to the B2B catalog
  5. View the storefront, ensure you are logged in as the B2B customer with the relevant discount showing, then add the bundle to cart
  6. Bundle cannot be added

I was not able to see any restrictions with bundles and B2B on the help docs:
Bundles eligibility docs - https://help.shopify.com/en/manual/products/bundles/eligibility-and-considerations
B2B considerations docs - https://help.shopify.com/en/manual/b2b/considerations

 

Expected outcome if B2B DOES support Bundles

If bundles are eligible to be sold on B2B catalogs:
Existing product reference metafields on the product page show a context aware price - ie the catalog price, not the original product price.
As apps and other services may use these metafields for pricing information, any bundle discounts should be applied in addition to the discounted B2B catalog price.


Expected outcome if B2B DOES NOT support Bundles
If Bundle Products are not eligible for B2B scenarios, then they should not be able to be published to B2B catalogs.
Screenshot 2024-06-29 at 4.21.00 pm.png

Biscuits Bundles App - Create beautiful mix and match bundles using native Shopify bundles functionality.
Accepted Solution (1)

AV_SL
Shopify Partner
39 4 10

This is an accepted solution.

This bug occurs when the B2B Company trying to add the product to cart does not have a Billing/Shipping address.

Adding these values resolved the add to cart errors.

Biscuits Bundles App - Create beautiful mix and match bundles using native Shopify bundles functionality.

View solution in original post

Reply 1 (1)

AV_SL
Shopify Partner
39 4 10

This is an accepted solution.

This bug occurs when the B2B Company trying to add the product to cart does not have a Billing/Shipping address.

Adding these values resolved the add to cart errors.

Biscuits Bundles App - Create beautiful mix and match bundles using native Shopify bundles functionality.