All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I'm trying to brainstorm my way around this problem. I thought doing this as a draft order was the way, but doesn't look like you can add that as a cart item.
So backing up, I'm trying to create bundle handling. I have two (or more) products with many variants, and I have builders managing attributes and the variants. The problem is that I cannot create a bundle via the Bundle API, because the variants and option counts exceed the limits.
What I want to do is create my own bundle handling via the product builder I have currently working. I want to bundle them (and discount appropriately) and then add the completed bundle item to the cart as a single cart item (you can't remove a particular item of the bundle), you'd have to remove the entire bundle. So there is some heavy lifting that needs to be done - calculating pricing, grabbing the variants/attributes, and inserting single cart line.
Thanks!
@rattlesnakeMT wrote:draft order was the way, but doesn't look like you can add that as a cart item.
You can add arbitrary custom items to draft orders, if your running your own stack present a set of line items however you want then redirect to the draft-order checkout url that will just have the custom line items to represent the merchandise.
@rattlesnakeMT wrote:I have two (or more) products with many variants, and I have builders managing attributes and the variants. The problem is that I cannot create a bundle via the Bundle API, because the variants and option counts exceed the limits.
Fixed dundles have a 30 component limit and custom bundles a 150 component limit
If your exceeding both the information architecture is probably foundationally flawed.
If the bundle apis don't work for a self prescribed solution use a different approach: https://xyproblem.info/
Just create one off products for the customer and reconcile inventory, etc on the backend.
Beyond that there is a lack of detail no one can get past, lower the effort contributors need to understand or see the problem.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org