Back to Playground
Live AppStore FeatureZero Monthly Fees

BundleLab: Custom Product Bundle Builder

An interactive build-your-own bundle tool I built for Shopify merchants who want custom gift boxes, tiered volume discounts, and live store previews without paying recurring monthly subscription app fees.

Pricing EngineInteger-Cent MathZero floating-point rounding bugs
Merchant Modes3 Live RulesTiered %, Fixed Box & Free Gift
Store TesterLive /products.jsonLoads real Shopify store catalogs
Theme OutputExportable .liquidShopify OS 2.0 section + cart payload
BundleLab: Custom Product Bundle Builder

End-to-End Walkthrough: Interactive Routine Preview, Live Bundle Builder & Cart Drawer, Shopify Code Inspector, Merchant Rules & Live eaudecant.shop Import. Play, pause, or scrub anytime.

01 // Three Merchant Pricing Engines

Flexible Bundle Rules That Stack Cleanly With Subscriptions

MODE 01

Tiered % Off

Unlocks progressive discounts as shoppers add slots to their bundle (for example 10% off at 2 items, 15% off at 3 items, and 20% off at 4 items).

MODE 02

Fixed-Price Box

Lets merchants charge a flat bundle price once shoppers fill the required slot count (such as any 3 products for $78.00), calculating live savings automatically.

MODE 03

Free Gift Unlock

Automatically injects a complimentary bonus item into the bundle tray once buyers cross the merchant's threshold without coupon codes or checkout scripts.

All three pricing modes compute totals in integer cents (priceCents) with optional extra 10% Subscribe & Save stacking and configurable 3, 4, or 5 slot trays.

02 // Interactive Bundle Builder & Live Store Importer

Shopper Tray Math & Live Catalog Testing on Real Stores

Tiered Unlocks, Variant Switching & Slide-Out Cart
WORKFLOW 01Shopper Storefront Flow

Tiered Unlocks, Variant Switching & Slide-Out Cart

What it does

Lets shoppers mix sizes and variants across cards, watch their progress bar unlock higher savings tiers in real time, stack a 10% Subscribe & Save discount, and add the whole bundle in one click.

How it works

Calculates retail total, bundle discount, subscription savings, and unit pricing cleanly in integer cents (priceCents) before batching every SKU into a grouped Shopify /cart/add.js drawer.

Merchant Rules & Live Shopify Store Importer
WORKFLOW 02Config + Live Catalog Test

Merchant Rules & Live Shopify Store Importer

What it does

Lets store owners test Tiered %, Fixed-Price Box, and Free Gift rules instantly, or paste any live Shopify URL like eaudecant.shop to preview BundleLab on their actual products.

How it works

A server proxy at /api/import-store safely fetches public Shopify /products.json catalogs, derives category tabs dynamically, maps variants and compare-at prices, and updates the header to Live: <Store>.

03 // Native Shopify Code Export & Mobile Thumb-Zone UX

Portable Liquid Output & Reachable Phone Controls

03Liquid CodeGen

Shopify Architecture Inspector

Shopify Architecture Inspector

Inspect the live /cart/add.js JSON payload with _bundle_* line properties, review the server-side Shopify Discount Function, or download a ready-to-paste bundle-lab.liquid section.

04Grouped Cart

Grouped Shopify Cart Drawer

Grouped Shopify Cart Drawer

Groups multi-product bundles under a shared _bundle_id, shows 30-Day Subscription stacking and exact dollar savings, and lets merchants inspect the outgoing cart payload cleanly.

Under the Hood & Shopify Portability

Every line item tracks integer-cent unit pricing, SSRF-safe store importing via /api/import-store, shareable ?bundle= URLs, optional opt-in Web Audio feedback, and downloadable Shopify OS 2.0 section code.

  • Load products from any live Shopify store link to test
  • Visual progress bar for live tiered discounts
  • Built-in merchant settings & slide-out bundle cart
Next.js 15TypeScriptAPI Store ImporterTailwind CSS
Key Takeaway

Showing shoppers how close they are to the next discount tier helps more people finish building their bundle.

Pairing live store catalog importing with downloadable Liquid schema code turns an interactive prototype into an immediate proof of value for merchants.