Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I create a custom bundle of 24 items from my store's inventory?

Solved

How can I create a custom bundle of 24 items from my store's inventory?

SagarVirani
Shopify Partner
11 0 0

I want to allow the user to select 24 items out of all the items (more that 400 items) available on our store and store it as a single order with 24 items in the cart. I came to know about the Shopify Functions and Cart Transform API but not sure how it can be useful (or not) to my problem. Can anyone please guide me how it can be done.

Accepted Solution (1)
jam_chan
Shopify Partner
927 23 190

This is an accepted solution.

I don't think there is an easy way if you are working for your clients or your store. It takes a full page if I have to write all steps.

 

The brief process:

  1. Create an alternate template for a page or product (depending on your needs)
  2. Use a for-loop to show all products for selection. This grid view should be similar to your collection page
  3. When the customers select all items in the bundle, use the cart ajax API to add the selected items to the cart
  4. Basically, this is done. If you only want a bundle SKU appearing in the cart, then you have to use the metafield of the cart transform API. The metafield helps to construct a relationship between the parent variant and the child variants (the components) You may have to refer to the official docs to set the metafields.

My app, BYOB can also help as well.

BYOB - Build Your Own Bundles, SPO - SEO App to research keywords & edit social link preview

View solution in original post

Replies 8 (8)

jam_chan
Shopify Partner
927 23 190

Cart Transform only transforms the bundle SKU into the individual SKUs after the order is paid. In checkout, the bundle SKU will show the individual SKUs as components as well. But it's not very relevant to customized bundles.

 

My app is using this feature. It mainly helps to provide a native Shopify order format for fulfillment. Also the inventory can be updated with this approach

BYOB - Build Your Own Bundles, SPO - SEO App to research keywords & edit social link preview
SagarVirani
Shopify Partner
11 0 0

Thank you Jam_chan for your prompt reply... 

 

I want to create a dynamic bundle based on users choice (everytime) and it should be reflected as a single order in the cart.

 

Can you provide some guidance of how it can be achieved ???

 

jam_chan
Shopify Partner
927 23 190

This is an accepted solution.

I don't think there is an easy way if you are working for your clients or your store. It takes a full page if I have to write all steps.

 

The brief process:

  1. Create an alternate template for a page or product (depending on your needs)
  2. Use a for-loop to show all products for selection. This grid view should be similar to your collection page
  3. When the customers select all items in the bundle, use the cart ajax API to add the selected items to the cart
  4. Basically, this is done. If you only want a bundle SKU appearing in the cart, then you have to use the metafield of the cart transform API. The metafield helps to construct a relationship between the parent variant and the child variants (the components) You may have to refer to the official docs to set the metafields.

My app, BYOB can also help as well.

BYOB - Build Your Own Bundles, SPO - SEO App to research keywords & edit social link preview
gr_trading
Shopify Partner
1969 145 204

Hi @SagarVirani 

 

You want to build a custom bundle from all product available in store.

 

For this you have to create a custom product page.

 

You can provide a product search box where user will able to search the product selected product will be added into the cart.

 

Add their preview will be visible below of search bar with cross button.

 

When limit reaches search box will be hide. If user delete any product search box will be visible again to select.

 

But again this whole thing will take lots of time to dev.

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
SagarVirani
Shopify Partner
11 0 0

Thank you for your reply. Your guidance helped me a lot to design the solution for my problem.

gr_trading
Shopify Partner
1969 145 204

Hi @SagarVirani ,

 

Seems it can be done via custom validation to the cart where user will able to order max 24 items in single order.

 

Let me know if I understand it correct you can share an example about your flow.

 

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
SagarVirani
Shopify Partner
11 0 0

Thank you for your reply.

Your guidance helped me a lot to design the solution for my problem.

AndyZhelezovsky
Shopify Partner
15 0 1

Hi
To simplify the process of allowing users to select 24 items from our store and store it as a single order, you can utilize an app instead of implementing a complex custom solution. Here are two suitable options:
1. MBC Bundles & Volume Discount - This app allows you to add a number of products that customers can choose from to create their own bundle. You can create a widget to showcase offers directly on a product page. The widget can contain two or more products, with or without variants. You can set a minimum number of products that the customer must buy for the bundle discount to apply. This option is perfect if you want to highlight specific products and control the minimum purchase requirements for discounts.
2024-05-22-11-41-29.png2024-05-22-11-42-21.png
2. MBC Builder - This app enables you to craft a dedicated page within your store, allowing customers to handpick items to bundle purchase. Provides the flexibility to offer a wide range of products. Customers can freely select multiple items to form their desired bundle. All products chosen by the customer are added to the cart as separate SKUs, each benefiting from the bundled discount as configured. This option is ideal if you want to offer a large selection of products and let customers create a completely customized bundle.
Watch how builder can be created: https://bundles.crisp.help/en/article/how-to-create-mbc-builder-nou37v/ 

By using either of these apps, you can provide a seamless and user-friendly experience for your customers, allowing them to easily select and bundle their desired 24 items. This approach also saves you from the complexity of developing a custom solution from scratch.