Shopify / buy-button-js

BuyButton.js is a highly customizable UI library for adding ecommerce functionality to any website.
http://shopify.github.io/buy-button-js/
MIT License
241 stars 113 forks source link

Bundles not appearing in cart #863

Open robinsloan opened 4 months ago

robinsloan commented 4 months ago

I mentioned this in the JS Buy SDK repo but I'm now realizing this might be a better place for it:

I'm looking to use bundles in my BuyButton.js-powered store. I'm currently able to call ui.createComponent("product", { etc. }) for bundles -- they appear like regular products, just as I expect.

However, when I select Add to cart for the bundle, the cart panel slides open, as expected, but nothing is actually added. There are no errors in the JS console. I've confirmed Add to cart is working correctly for non-bundle products.

The lack of errors is what's throwing me -- any tips or intuitions would be helpful. Thanks for your consideration!

robinsloan commented 3 months ago

Hi there -- I'm checking in on this issue again. Thank you!

rplakas commented 2 months ago

I thought bundles did not work with Buy Buttons. At least from the Shopify backend there is no way to create a Bundle Buy Button like there is for products and collections. I get a "buy-button-storefront.min.js:6 [SHOPIFY-BUY-UI]: Not Found: product not found for id xxxxxxxxxx in the browser console when I use a bundle ID in Buy Button code.

robinsloan commented 2 months ago

Despite its name, I do not believe this library is related to the Buy Button feature. When I add products to my BuyButton.js-powered storefront in Shopify, I select a custom storefront channel that I've created, rather than the "Buy Button" channel.

I could be wrong, of course!

hydropik commented 2 months ago

Hello,

I'm looking for a solution too, but yes it appear as a locked function by shopify on backend side.

Maybe someone know where to ask for an integration.

Thank you

robinsloan commented 1 month ago

Hi there! I'm checking in on this again. Is there any chance this software can be updated to support Shopify bundles?