Shopify sections

Build your own box on Shopify: what the Build Your Box section handles and where it stops

A Shopify build your own box is a storefront block where shoppers choose a box size, fill it product by product and add the whole box to the cart at once. Build Your Box in Section Store does this with up to 4 collections and up to 4 box sizes, each linked to a Shopify discount or code. You buy it once as a single section, or the Enterprise plan covers it. It does not create a bundle product with its own price or stock.

  • Runs only in themes that support app blocks (Online Store 2.0)

Last checked:

Build Your Box section rendered by Section Store with its sample content
The image shows Build Your Box as it renders before setup: sample coffees in the Grid + tray layout, with the 3 sample box sizes and the Second size preselected.

When to use it

Use it for mixed boxes with a real discount, not for fixed bundles

Use it when

  • Mix-and-match boxes of snacks, teas, soaps or socksShoppers fill one box from up to 4 collections and can combine products from all of them. Allow the same product more than once is on by default, so a favourite tea can take several slots. Switch it off if every item in the box has to be different.
  • A saving that rises with the box sizeEach of up to 4 box sizes carries its own Saving (%) and its own discount code. That suits a ladder where the bigger box saves more, provided each step exists as a discount in Shopify admin. With At least the box size is picked, a shopper who goes past a size gets the saving of the largest size reached.
  • Shoppers wander off before the box is fullKeep the box while shoppers browse is on by default and holds the box in sessionStorage. A half-full box survives page changes and reloads in the same browser tab, so a shopper can read a product page and return to it. It is not tied to the customer account, so a second device or a new tab starts empty.

Skip it when

  • The box needs one price and its own stockBuild Your Box sends the picked products to the cart as separate line items, grouped by a line item property. No setting gives the box a fixed price or a box-level inventory count. Create a bundle product in Shopify for that case.
  • The saving is not set up in Shopify yetAny saving the section displays must be one Shopify actually applies at checkout. Create the automatic discount or the codes in Shopify admin first, or choose No saving (box builder only) under How the saving is applied. Either way, rewrite the default Intro text, because it advertises a saving on coffees.
  • A few products with many variants eachWhen the range is a handful of products that differ mainly by flavour, size or colour, the tray becomes hard to read. The product page with the theme's variant picker shows those options more clearly, and a quantity break offer there handles the multi-buy saving. The builder fits once the range has many distinct products.

In detail

Collections, box sizes, discount mode and cart behaviour decide how the box works

Shoppers pick from the collections you add under Collections to choose from. With one collection the grid shows only that collection. With two or more, tabs switch between them, labelled with the collection title unless you enter your own label, and the box can hold products from every tab. Products per collection runs from 4 to 48 with 24 as default; set it at or above the size of your largest collection if every product must be pickable. The Layout setting decides how picking looks: Grid + tray (default), Steps or Box slots.

Box sizes is a list of up to 4 entries, each with Items in the box, Saving (%), Name, Badge and Discount code. Preselected box size decides which size is active on page load and defaults to Second. With the 3 sample sizes that is the middle one, so check it again after adding or removing sizes. Box is complete when sets whether the count must hit the size exactly or may exceed it.

How the saving is applied links the box to Shopify pricing. Automatic discount, the default, relies on an automatic discount you created in Shopify admin. Discount code applies a code as the box goes into the cart: the code of the chosen size, or the general Discount code for sizes without one. No saving (box builder only) turns the builder into a picker with no saving shown. Shoppers read Saving (%) before checkout, so that figure has to match what Shopify deducts.

Variants, sold-out state and prices are read live from the shop. Show sold-out products (greyed out) is on by default; switch it off to hide those products. Show vendor is off by default and is worth turning on when one box mixes brands. The button, Add box to cart · {total} by default, where {total} becomes the estimated box total, sends the whole box to the storefront cart. With Group the box in the cart on, every item gets the line item property set under Property name, _box by default; Shopify hides line item properties whose names start with an underscore at checkout. After adding the box picks between staying on the page (the cart drawer opens if the theme has one), the cart page or straight to checkout.

On the storefront the section weighs 55.9 KB with default settings: 35.5 KB JavaScript and 16.3 KB CSS. It sizes itself to the column it sits in through container queries, so a narrow column gets the compact layout even on a wide screen. Shoppers who set reduced motion in their system get the builder without its animations.

Builder settings

Every builder setting of Build Your Box

Start with Collections to choose from, since the preview shows sample coffees until one is picked. Next set Box sizes and How the saving is applied, so every Saving (%) matches a discount that exists in Shopify. You edit all of these in the Section Store builder; the theme editor shows the app block with nothing beyond its section picker, padding, max width and device hiding.

Products2
Products per collection
Slider, 4–48
Default24
Show sold-out products (greyed out)
On / off
DefaultOn
Box8
Preselected box size
Choice: First, Second, Third, Fourth
DefaultSecond
Box is complete whenAt least: shoppers may add more than the box size; the saving follows the largest size they reached.
Choice: Exactly the box size is picked, At least the box size is picked
DefaultExactly the box size is picked
Allow the same product more than once
On / off
DefaultOn
How the saving is applied
Choice: Automatic discount, Discount code, applied when adding to cart, No saving (box builder only)
DefaultAutomatic discount
Discount codeConditionalUsed for every box size without its own code. It is applied when the shopper adds the box to the cart.
Text
DefaultEmpty
Group the box in the cart
On / off
DefaultOn
Property nameConditional
Text
Default_box
Keep the box while shoppers browseThe box survives page changes and reloads in the same browser tab.
On / off
DefaultOn
Content8
Eyebrow
Text
DefaultBuild your own
Headline
Text
DefaultBuild your tasting box
Intro
Text
DefaultPick a box, fill it with the coffees you love and save up to 20% at checkout.
Heading Alignment
Choice: Left, Center
DefaultLeft
Box titleDefault texts are translated automatically into the shopper's language.
Text
DefaultYour box
Empty slot label
Text
DefaultAdd an item
Button Label{total} is replaced with the estimated total of the box.
Text
DefaultAdd box to cart · {total}
After adding the box
Choice: Stay on the page (opens the cart drawer if the theme has one), Go to the cart page, Go straight to checkout
DefaultStay on the page (opens the cart drawer if the theme has one)
Layout6
Layout
Choice: Grid + tray, Steps, Box slots
DefaultGrid + tray
Image ratio
Choice: Square (1:1), Portrait (4:5), Tall (3:4)
DefaultPortrait (4:5)
Columns on desktop
Slider, 2–5
Default3
Columns on mobile
Choice: 1, 2
Default2
Show vendor
On / off
DefaultOff
Max width
Slider, 800–1800 px
Default1280 px
Design6
Background Color
Colour
DefaultNot set
Text Color
Colour
DefaultNot set
Accent Color
Colour
Default#1c1b19
Box panel color
Colour
Default#f5f3ef
Image background
Colour
Default#f5f3ef
Corner Radius
Slider, 0–28 px
Default14 px
Spacing1
Section Spacing
Spacing per device
DefaultTop padding 72 / 56 / 44 px
Repeatable items2
Collections to choose from
List of items, up to 4
Default0 sample items
Box sizes
List of items, up to 4
Default3 sample items

33 settings in 7 groups. These are settings in the Section Store builder, not theme editor settings: read from the app's section configuration, as of 2 Dec 2026. "Conditional" settings appear only once a related setting turns them on.

FAQ

Questions merchants ask before adding a box builder

Build Your Box is in Section Store.

Set it up in the app builder and place it through the Section Store app block. No theme code.

Install on Shopify

Sources

Sources