OptionfierOptionfier
A build-your-own box builder on a Shopify product page, items being picked into a box

How to build a build-a-box on Shopify (pick any N, with real stock behind every item)

You want to sell a build-your-own box on Shopify. Pick any 6 of these 12 chocolates. Mix your own 6-pack of coffee. Fill a gift hamper with whatever the customer likes. It's one of the best formats in ecommerce, because the customer builds exactly what they want and your average order climbs while they do it.

Then you try to actually build it on Shopify and hit a wall. Variants can't do it (a "pick 6 of 12" box is thousands of combinations, way past Shopify's variant limit). A plain bundle app gives everyone the same fixed box. And the moment a customer drops three of the same IPA into a six-pack, you need your IPA stock to fall by three, or you're right back to overselling. Sound familiar?

Here's how to set up a real build-a-box on Shopify, and the two things that trip most people up.

Start with a pool, not the combinations

The trick to a build-a-box is to stop thinking in variants. You don't pre-build every possible box. You give the customer a pool of products and a box size, and let them assemble it themselves.

So the setup is three things: one "box" product (your "6-Pack" or "Gift Box"), a list of the products customers can choose from, and a rule for how many picks make a full box. Minimum 6 and maximum 6 for a fixed six-pack. A minimum with no ceiling for a "fill your own hamper". That's the whole core, and in Optionfier it's about six fields and a save (the full setup guide walks through every field). The box gets its own page on your store right away, no theme editing needed.

Every pick has to be real stock

This is the part most build-a-box tools get wrong, and it's the part that actually costs you money.

When a customer finishes their box, each item they picked has to behave like a real product. Real price, real inventory. Put three IPAs in a six-pack and your IPA stock drops by three. If the IPA is sold out, it can't go in the box at all (it shows as sold out on the builder and the customer picks something else).

Optionfier handles this by expanding the finished box into one line per picked item when it lands in the cart, each with its own price, exactly like a native Shopify bundle. Shopify then decrements each item's inventory the normal way. Refunds and restocks work the standard way too, because every item in the box is a real line item, not a note stapled to one.

Why does this matter so much? Because a box that oversells is worse than no box at all. The customer already built the thing, already got the confirmation email, and now you're writing to say the stout they picked ran out yesterday. A build-a-box lives or dies on the stock behind it staying honest.

The part nobody else does: customize each item in the box

Picking items is table stakes. The thing that makes a box feel premium is letting the customer customize each item they pick.

Engrave every bracelet in a jewelry box. Choose a roast and a grind per bag in a coffee box. Add a "to and from" note on each chocolate. This is where most build-a-box apps stop cold, and the reason is structural: a box builder isn't an options engine, and an options app isn't a box builder. Optionfier is both. So you can attach options to the whole box, to every item in it, or to specific products only.

And here's the bit that ties it back to inventory. Those per-item customizations track real stock too, even when they aren't a variant. An engraving is just text riding along with the line. It has no variant, so on its own Shopify has nothing to count. Optionfier lets you link that engraving field to the real blank you're consuming, so when the order comes in, the blank comes out of your stock. We're the only Shopify app that tracks real inventory for non-variant add-ons like this. Custom options and real stock, in the same box.

What to do next

Start simple. Build one box: a pool of products, a minimum, a maximum, publish it. Share the box's own page in a menu or an email, or drop it onto a product page with the theme block. Get that live first.

Then layer on the good stuff. Box rules that cap how many of each item one box can hold. Starter packs the customer applies in one tap and then tweaks (an empty grid asks them to make every decision, a finished box only asks them to edit it). Buy-more-save-more discounts that pull the box size up as they add. None of it is required to launch, and all of it is there when you want it.

You can build the whole thing on the free plan.

Try Optionfier free →