All sections free during launch

Forget this device?

You’ll need your email again to copy code here. Your email and newsletter settings stay as they are.

Product

Build-a-Box

Products from one collection on the left, the box sticks on the right. Pick freely with discount steps (Classic) or fill a box of a set size with compartments (Fixed). One click adds the whole set to the cart, and Shopify's own automatic discounts do the maths.

Access
Free
Page types
Product, Landing pages, Home
Compatibility
All Shopify 2.0 themes*
Styles
2
Customise
69 settings
  • Bundle
  • Box builder
  • Discount
  • Add to cart
  • Collection

Installation

Takes about two minutes. No app needed.

  1. 01

    Create a new section

    In your theme code editor (Online Store → ⋯ → Edit code), click the sections folder, then “New File”, name it and hit Enter.

  2. 02

    Paste the code

    In the file that just opened, paste the code below. Then hit Save (top right corner).

    Note: Shopify shows no confirmation when a section saves – that’s normal.

  3. 03

    Add it in the theme editor

    Saved? Then reload the theme editor – otherwise the new section sometimes doesn’t show up. After that: Edit theme → Add section → . Everything else is in the sidebar – the Docs below explain every setting.

Code

One file. Copy it, paste it, done.

sections/werk-build-a-box.liquid

Locked

2407 lines · Liquid, CSS & vanilla JS

Free – just add your email

Every section is free during launch. Enter your email once and copy any code you like.

More like this

Docs

Every setting, what it does and where you see it. Plus the one thing you set up outside the theme editor – the discount.

Any page2 looks · Classic & Fixed1 collectionShopify discountsEvery text editable

What you can change

Every numbered spot has its own chapter below.

10 chapters

* Built for Online Store 2.0 and tested in Shopify's Horizon and Dawn themes. Heavily customised or older themes can still clash with it – if something looks off, write us and we'll take a look.

Live preview

Copied. Now paste it into Shopify.

Takes about two minutes. No app needed.

  1. 01

    Create a new section file

    In Shopify: Online Store → ⋯ → Edit code. Click the sections folder, then “New File”, name it and hit Enter:

    werk-build-a-box.liquid
  2. 02

    Paste the code and save

    In the file that just opened, paste the code:

    {%- comment -%} werk · Build-a-Box · v1.3.0 · werk.build/license – do not remove {%- endcomment -%}

    Then hit Save (top right corner).

    Note: Shopify shows no confirmation when a section saves – that’s normal.

  3. 03

    Add it in the theme editor

    Saved? Then reload the theme editor – otherwise the new section sometimes doesn’t show up. After that: Add section → search “Build-a-Box”. Done.

Your browser blocked copying.

No worries – the code is selected below. Press ⌘ C (Ctrl C on Windows) and you’re good.

⌘C