Bundle error in admin: "This bundle product is no longer managed by a bundles app"

basilkhan
Shopify Partner
41 0 5

Our app builds customized bundles using Shopify's cart transform function (https://shopify.dev/docs/api/functions/reference/cart-transform) and we set the requiresComponents flags on the parent bundle (product variant - https://shopify.dev/docs/api/admin-graphql/2023-10/objects/productvariant#field-productvariant-requi...) .

 

We are required to set `requiresComponents` flag on the bundle product variant so that certain incompatible payment options like Apple Pay are hidden for bundles (as recommended to us by Shopify's technical bundles support team).

 

As a result of setting this flag, all product variants and their corresponding products have this incorrect error message: "This bundle product is no longer managed by a bundles app - This product was created by an app that was uninstalled. Customers may not be able to purchase the items as a bundle." This is impacting ALL MERCHANT using the app with `requiresComponents` flag.

 

basilkhan_0-1704299676603.png

 

Under the "Bundled products" card, the merchants see this error message: "The app used to create this product was uninstalled".

 

basilkhan_1-1704299695137.png

 

Aside from causing lots of confusion among merchants and incoming support requests, Merchants are also not able to edit tags for these products or set it to "Active" if the product is in draft or was set to draft after the customized bundle was created in the app.

 

basilkhan_2-1704299706098.png

 

We have added and deployed the product configuration extension (https://shopify.dev/docs/apps/selling-strategies/bundles/product-config) without any luck. We first started with a development store by first using `yarn dev` to test on a dev store and then successfully deploying with `yarn deploy`. Neither of the methods removed this error message or displayed the product extension text that was edited and added.

 

We also tried to deploy this on the production app successfully and still have merchants seeing this error message. 

 

How do we make the customized bundles configured via our app to be treated like a bundle product without showing any confusing error messages and limitations around editing and publishing the bundle?

Co-founder and Product Developer at Freshly Commerce ️ | Building Simple Bundles, Simple Discounts, and Freshly Inventory
Replies 4 (4)

vitorascorrea
Shopify Staff
2 0 0

Hey there!

 

This issue is usually caused when the app didn't claim the ownership of the product during creation. This property is used to display & associate the correct app in bundles card in the Product Details Page.

 

Let us know if this solves the issue

basilkhan
Shopify Partner
41 0 5

Hi @vitorascorrea

 

Thanks for your response. However, majority of our merchants use existing products from their store (for SEO and other reasons) or are migrating from our previous version of the app (Simple Bundles without cart transform function) and this mutation does not allow setting product ownership for bundles on existing products. We receive the following error message: "Bundles ownership cannot be claimed for an existing product."

 

Do you know how we can set ownership of product bundles that have already been created or are currently migrated from our previous version? If not, is there another way to remove the red banner with the error: "This Bundle Product Is No Longer Managed By A Bundles App"

 

Here's the GQL request:

 

```

mutation {
  productUpdate(input: {id: "gid://shopify/Product/108828309", claimOwnership: {bundles: true}}) {
    product {
      id
    }
  }
}
```

Here's the error message:
```
[{"message"=>"Bundles ownership cannot be claimed for an existing product.", "locations"=>[{"line"=>2, "column"=>3}], "path"=>["productUpdate"]}]
```
Co-founder and Product Developer at Freshly Commerce ️ | Building Simple Bundles, Simple Discounts, and Freshly Inventory
basilkhan
Shopify Partner
41 0 5

Hi @vitorascorrea,

 

Just following up on my previous reply. What options do we have to remove the message for our merchants who already have bundles created  in Shopify and set up as bundles in our app?

 

Thanks for your time!

Co-founder and Product Developer at Freshly Commerce ️ | Building Simple Bundles, Simple Discounts, and Freshly Inventory
vitorascorrea
Shopify Staff
2 0 0

Hi Basil, sorry for the delayed response!

We detected a bug when calling the productVariantRelationshipBulkUpdate for non-first-party app bundle products when passing removeAllProductVariantRelationships: true, which was the culprit of the merchants seeing that error banner on their product details page in contexts that aren’t applicable. We fixed that bug and already backfilled affected products.

Thanks for your patience and let us know if the issue persists,

Vitor