Let shoppers fill their own gift box from your products and pay one box price: up to 8 box sizes with a fixed price, the sum of the items or the sum minus a percentage, categories and hand-picked products, a builder with a tray and a sticky phone bar, a gift message per box. The box is one cart line with its items listed on the order, invoice and packing slip, and every item takes its own stock. Events only, no OCMOD.
Tested on 4.1.0.4 & 3.0.5.1Updated Nov 27, 2026Version 1.0.0Compatible with OpenCart 4.1.0.4, 3.0.5.1 No core file edits
Built forOpenCart
Build-a-Box Bundles for OpenCart1 of 7
What it does
Let shoppers fill their own gift box from your products and pay one box price: up to 8 box sizes with a fixed price, the sum of the items or the sum minus a percentage, categories and hand-picked products, a builder with a tray and a sticky phone bar, a gift message per box. The box is one cart line with its items listed on the order, invoice and packing slip, and every item takes its own stock. Events only, no OCMOD.
Sell "pick any 6" boxes. Turn any product into a box: shoppers choose a size, fill the slots from your teas, snacks or socks, add a gift message and buy the whole box at one price.
Features
Box sizes and prices
Up to 8 sizes per box: a fixed box price, the sum of the items, or the sum minus a percentage
Optional packaging fee per box
Lowest box price written to the product price, shown as "From" on the box page and in product lists
A builder shoppers enjoy
Size cards, product grid with category tabs and search, a tray that fills slot by slot
Regular total, box price and "You save" as they pick; several boxes at once
Sticky bar on phones, "Edit box" from the cart, optional gift message (300 characters)
One cart line, stock per item
The box is one cart line with its items listed under it, in the cart, checkout, order e-mail, order pages, invoice and packing slip
Every item takes its own stock when the order is processed and gets it back on cancel
Stock checks count every box and normal line in the cart together
Safe by design
The server checks every box (sizes, allowed products, at least / at most per product, stock) and calculates the price
Admin order editor keeps boxes, "Reorder" keeps the contents
Extension page with all boxes, a 30-day report (boxes sold, revenue, savings, most chosen products) and settings
Events only: no OCMOD rules, no core edits (OpenCart 3 lists an empty modification entry); uninstall keeps your data
One package for OpenCart 4 and one for OpenCart 3, tested on 4.1.0.4 and 3.0.5.1
What you get
Download & installTwo installer packages (.ocmod.zip): one for OpenCart 4.0.2 – 4.1.x and one for 3.0.3 – 3.0.5. One license key covers both. Download it from My licenses right after payment.
12 months of updates & supportNew versions and help for 12 months (24 or 36 months at checkout). After that the extension keeps working; renew anytime at 50%.
License for your storeOne production domain with all its subdomains; staging and local development hosts are free. How licensing works
30-day refundFull refund within 30 days of your first purchase, no reason needed. Refund policy
Tested buildsOpenCart 4.1.0.4, 3.0.5.1. Tested on OpenCart 4.1.0.4 and OpenCart 3.0.5.1.
Documentation & supportFull guide (Installation, Configuration, Usage, FAQ) on this page. Tickets from your account, same-day reply on weekdays (Mon-Fri 09:00-18:00 UTC+3).
Compatibility
Build-a-Box Bundles works with OpenCart 4.1.0.4, 3.0.5.1.
We list the builds we install and test on. “Tested” means the test plan ran on that build; “Supported” means the build is inside the supported range.
Compatibility
Version
Range
Runs on
Status
OpenCart 4.1.0.x
4.1.0.0 – 4.1.0.4
PHP 8.1 – 8.3
Tested on 4.1.0.4
OpenCart 4.0.2.x
4.0.2.0 – 4.0.2.3
PHP 8.0 – 8.2
Supported
OpenCart 3.0.x
3.0.3.8 – 3.0.5.x
PHP 7.4 – 8.1
Tested on 3.0.5.1
1.0.0
Nov 27, 2026
Latest
First release for OpenCart 4.1.x and 3.0.3 – 3.0.5.x (one licence, two packages).
Box product flag: a Build-a-Box tab in the product form with box sizes (up to 8), price rule per size (fixed box price, sum of the item prices, sum minus a percentage), packaging fee, categories (with or without subcategories), hand-picked and excluded products, at least / at most per product, gift message, sort order, products per row and a short text.
Builder on the box product page: sizes, product grid with category tabs and search, box tray with slots, regular total, box price and saving, number of boxes, sticky bar on phones, "Edit box" from the cart.
The box is one cart line (the box product, quantity = number of boxes) with its items listed under it in the cart, mini cart, checkout, order e-mail, customer order page, admin order page, invoice and packing slip.
Item stock follows OpenCart's rule per item: taken when the order enters a processing or complete status, given back when it leaves them; stock checks count every box and normal line of the cart together.
The server checks every box (sizes, allowed products, limits, stock) and sets the price; a box that no longer fits its settings goes back to regular prices.
Admin order editor keeps boxes (edit + confirm gives the item stock back and takes it again once), "Reorder" keeps the contents, "From" prices on the box page and in product lists, extension page with boxes, 30-day report and settings.
Box rows in full in the order e-mails and on the customer's order page (core cuts option values to 20 characters there).
Fails closed when another extension replaces the cart library: box products cannot be bought then.
Events only, no OCMOD, no core edits; uninstall keeps boxes and order records (disable box products before uninstalling).
How do I install the extension?
Upload. Extensions > Installer: upload the .ocmod.zip for your OpenCart version (4.x or 3.0.x). Both packages come with every license.
Install and enable. Extensions > Extensions > Modules: install, open the settings and switch it on. Events register themselves; nothing is patched.
Enter the license key. Paste the key from My licenses. Subdomains, staging and local hosts are included; you have 14 days to do it.
OpenCart 4.1.0.4, 3.0.5.1. Tested on OpenCart 4.1.0.4 and OpenCart 3.0.5.1. The Compatibility tab lists every version range.
Do the extensions change core files?
No. They work through OpenCart events and standard extension types (modules, order totals, themes). No core file edits, no OCMOD patches, no theme template edits, so OpenCart updates and other extensions keep working.
Do I get packages for OpenCart 4 and OpenCart 3?
Yes. Every download has a package for OpenCart 4.0.2 to 4.1.x and one for OpenCart 3.0.3 to 3.0.5, and the license key works with both. Moving from OpenCart 3 to 4 later costs nothing.
What does the license cover?
One production store domain with every subdomain (www, shop., staging.), plus local development hosts such as localhost, *.local and *.test. A store on another domain needs its own license; a second-store license is 40% off. You have 14 days after installing to enter the key. 12 months of updates and support are included; after that the extension keeps working and renewals are 50% off. How licensing works
Can I get a refund?
Yes. Ask for a full refund within 30 days of your first purchase, no reason needed: open a ticket or write to support@kaviolabs.com with your order number. The money goes back to the card or bank account you paid with within 5 business days of approval. Refund policy
How do I get help?
Open a ticket from your account, so your license details are attached. We answer with a same-day reply on weekdays (Mon-Fri 09:00-18:00 UTC+3). Support policy. Not a customer yet? Ask a pre-sales question.
Build-a-Box Bundles lets shoppers fill their own box from your products and pay one box price: any 3 teas for 24.00, 6 treats with 10% off, a gift message on the card. You turn any product into a box in its new Build-a-Box tab; its product page then shows a builder where the shopper picks a size and fills the slots.
Box sizes and price rules: up to 8 sizes per box, each with a fixed box price, the sum of the item prices, or the sum minus a percentage, plus an optional packaging fee.
What goes in: products from chosen categories (with or without subcategories), hand-picked products, exclusions; at least / at most units per product.
Builder: size cards, product grid with category tabs and search, a box tray with slots, the regular total, the box price and the saving; a sticky bar on phones; "Edit box" from the cart.
One cart line per box: the box product with the number of boxes as quantity, the items listed under it in the cart, checkout, order e-mail, order pages, invoice and packing slip.
Stock per item: every item takes its own stock when the order is processed and gets it back when the order is cancelled. Stock checks count all boxes and normal lines in the cart together.
Safe prices: the server checks every box and calculates the price; nothing the shopper's browser sends is trusted.
Gift message per box (300 characters), shown on the order and printed on the invoice and packing slip. Works next to Gift Wrap & Gift Messages: the box line can be wrapped like any other item.
No OCMOD, no core file edits: events only. One licence covers OpenCart 4 and 3. Tested on OpenCart 4.1.0.4 and 3.0.5.1.
Not compatible with other extensions that replace OpenCart's cart library (see Installation).
Requirements: OpenCart 4.1.0.4 or 3.0.5.1 (the tested releases; other 4.1.0.x and 3.0.x releases are not tested), PHP 7.4 or newer, the mbstring extension.
OpenCart 4
Extensions > Installer > Upload kv_build_a_box.ocmod.zip, then Install.
Extensions > Modifications > Refresh (the package has no modification rules; the entry only lists name and version).
Extensions > Extensions > Modules > Install, then Edit, and continue with step 3 above.
After the install, Catalog > Build-a-Box opens the extension page, and every product form has a Build-a-Box tab.
Updating
Extensions > Uninstall, upload the new package, Install. Boxes, box contents of orders, settings and the licence state are kept: uninstalling never deletes them. Open the extension page once afterwards: it brings tables and events up to date by itself.
Uninstalling
Before you uninstall, disable your box products (Catalog > Products > the box product > Status: Disabled), or delete them. Uninstall removes the events: an enabled box product would then be an ordinary product again, sold at its "From" price without any items and without taking item stock, and box lines still in carts would lose their box price and contents.
Your boxes, order records and settings stay in the database, so a later install picks them up again. To remove everything, delete the kv_bab_* tables yourself.
Permissions
User groups (System > Users > User Groups) need Access to open the extension page and Modify to save its settings. The Build-a-Box tab is saved with the product, so it follows the Catalog > Products permission.
Other extensions
The extension replaces OpenCart's cart object with a subclass that knows box lines (the core cart stays in charge of everything else). It cannot run together with another extension that also replaces the cart library (for example our Sell by Weight & Length): then box products cannot be bought at all. The box page says "This box is not available right now", add-to-cart and the builder are refused on the server, the admin order editor refuses changes to orders with a box (nothing is changed), box lines of the visitor are removed from the cart, and a line is written to system/storage/logs/kv_build_a_box.log.
Configuration
Settings (Catalog > Build-a-Box)
Setting
Default
What it does
Status
Enabled
Off: box pages show without the builder ("This box is not available right now"), and boxes already in carts go to regular prices. Boxes keep their items and stock in every case.
Show "You save" in the box tray
On
The tray shows the regular total crossed out and the saving when the box is cheaper than its items.
Add the product model to the item rows
On
"2 × Earl Grey Supreme (FT-1001)" in the cart, the order, the invoice and the packing slip, so packers find the right items.
Products per builder (maximum)
120
Upper limit of products one builder lists (4 to 500).
Accent colour
green
Buttons, selected sizes and products in the builder.
License key
empty
Your Kavio Labs licence key. Without it the extension runs a 14-day trial; after that the builder is switched off on the storefront, the admin always works.
Make a product a box
Create a product for the box (Catalog > Products > Add), for example "Tea Discovery Box", with a good picture and text. Give it a SEO keyword, a tax class and a weight for the empty box.
Data tab: set Subtract Stock to No unless you count physical boxes: every box sold takes one unit of the box product's own stock, and at 0 the box is out of stock.
Open its Build-a-Box tab, switch This product is a box on, fill in the fields below and Save.
Box products cannot have product options (the builder does not show them).
Switching a box off (untick "This product is a box") keeps its settings, and the product cannot be bought at all: its page says the box is not available and add-to-cart is refused. To sell the product as an ordinary product again, delete it and create a new one, or keep the box switched on. A box product (on or off) never goes inside another box.
The Build-a-Box tab
Box sizes and prices
One row per size (up to 8):
Price rule
Example
What the shopper pays per box
Fixed box price
3 items, 24.00
24.00 for any 3 items
Sum minus a percentage
6 items, 10
the total of the 6 chosen items minus 10%
Sum of the item prices
9 items
the total of the chosen items (a box without a discount)
Fixed prices are entered like product prices: default currency, excluding tax. The box line is taxed with the box product's tax class.
Item prices are the prices the shopper sees for one unit: customer group special, else the quantity-1 discount, else the product price.
Packaging fee per box: added once to every box (empty = none).
Saving writes the lowest possible box price into the product's price, so category lists, search, sorting and feeds show it; the box page and product lists show it as "From".
What goes in the box
Products from these categories: type and pick categories. Include subcategories adds the products of their child categories. With two or more categories the builder shows a tab per category.
Plus these products: hand-picked products from anywhere in the catalogue, shown first in this order.
Never put these products in the box: exclusions.
Products with options, disabled products, products of other stores and other box products never appear.
Rules and look
Field
What it does
At least per chosen product
2 = a shopper who picks a product takes at least 2 of it.
At most per product
1 = every product once per box, 0 = no limit.
Shoppers can add a gift message
A text field in the box tray (300 characters), saved per box.
Hide products that are out of stock
Off: they show greyed out as "Out of stock".
Sort products by
Hand-picked first then sort order, name, price or newest.
Products per row (desktop)
3, 4 or 5. Tablets show 3, phones 2.
Short text above the builder
Optional, up to 500 characters.
Look and colours
The builder uses your theme fonts and its own neutral palette. Pick the accent colour in the settings, or override it in your theme CSS:
The box page shows "From" and the lowest box price, and Fill your box instead of "Add to cart". Product lists show the "From" price too; "Add to cart" in a list opens the box page.
Under the product block: the box sizes, the product grid with category tabs and search, and the box tray.
The shopper picks a size and adds products. Each product card turns into a +/- counter. The tray fills slot by slot and shows the regular total, the box price and the saving.
Add box to cart becomes active when the box is full. The +/- next to it adds several identical boxes (limited by stock).
On phones a bar at the bottom shows the box count and the price while the tray is out of view; when the box is full it adds the box to the cart.
The box in the cart
The box is one cart line: the box product, with the number of boxes as quantity and the items listed under it ("In the box: 2 × Earl Grey Supreme"), plus the gift message.
Changing the quantity changes the number of boxes; removing the line removes the box.
Edit box (cart page) opens the builder with the same size, items, message and quantity; adding it replaces the old line.
Two identical boxes (same items, same message) share one line.
If you change or switch off a box while it sits in a cart, the line goes back to regular prices and says the box changed. Editing the box gives the box price again.
Orders
One order line per box with the items as order options: they appear in full in the order e-mail, the customer's order page, the admin order page, the invoice and the packing slip without template changes.
Stock per item: when the order enters a processing or complete status (System > Settings > Option), every item's stock goes down by its units × number of boxes (for products that subtract stock); when the order is cancelled or otherwise leaves those statuses, exactly that stock comes back. The box product follows OpenCart's normal rule.
Admin order editor: boxes stay boxes when you edit an order and confirm it (the box reference travels with the product rows): items and box price are kept, the item stock of the old contents is given back and taken again for the saved order, once. Changing the number of boxes works the same way. Boxes are filled by the shopper; the editor does not add new empty boxes.
Reorder from the customer's order history puts the same box into the cart.
Report
Catalog > Build-a-Box shows the last 30 days: boxes sold, box revenue (excluding tax), average box, customer savings and the most chosen products. Orders count when their status is a processing or complete status.
Gift Wrap & Gift Messages
With our Gift Wrap & Gift Messages extension installed, the builder notes that gift wrap can be added in the checkout, and the box line can be wrapped like any other item. The gift message of the box stays on the box line; the gift card message of the wrap stays on the order.
FAQ
How is this different from a bundle or a product with options?
A bundle sells a fixed set; options let the shopper choose from groups you define. A box has sizes and a pool of products: the shopper fills any N slots from the pool and pays one box price. Both can live in the same store.
Is the box one line or several lines in the order?
One line: the box product, quantity = number of boxes, price = box price. The items are listed under it as order options and stored with the order, so stock is handled per item.
Does stock go down for the items?
Yes, per item, when the order enters a processing or complete status, and it comes back when the order is cancelled (OpenCart's own rule for products). Set the box product itself to "Subtract Stock: No" unless you count physical boxes.
Which tax applies?
The box line uses the tax class of the box product, like any order line. If your items have different tax rates, give the box the rate that applies to the box as sold.
Can a shopper change the price or put any product in the box?
No. Only the size, the units per product, the gift message and the number of boxes are sent; the server checks them against the box (sizes, categories, products, limits, stock) and calculates the price.
Do coupons and discounts work?
Coupons apply to the box line like to any product (choose the box product in a product coupon). Specials of the items are part of their prices inside the box; specials and quantity discounts of the box product itself are not used, the box price comes from the box settings.
Which products can go into a box?
Enabled products of the current store without product options. For a product with options, create simple products for the variants you want in boxes.
What happens if I uninstall?
Box products become normal products and boxes in carts lose their box price. Boxes, order records and settings stay in the database for a later install.
What is sent to Kavio Labs?
Only the licence check from the admin (licence key, store domains, extension and OpenCart version), at most once a day. No order, customer or product data.
Server-side tracking for OpenCart 4.x and 3.0.x: purchases, refunds, add to cart, checkout, product views and leads go from your server to the free official GA4 Measurement Protocol, Meta Conversions API and TikTok Events API, deduplicated with the browser pixels through shared event ids. Consent-aware, SHA-256 hashed customer data, order status mapping, queue with retries, test mode and an event log. No paid relay, events only, no OCMOD.
The department store theme for OpenCart 4.x and 3.0.x: colour-coded departments, a department list beside the hero slider with two side promos, a big search with a department selector, tabbed product blocks, a 2 + 1 + 2 offer grid, deals of the day with real countdowns, a department showcase, a promotions band and a three-column product page with a sticky buy box. Four styles (Meridian, Harbor, Citrus, Night) and your own colours on top. Events only, no core changes.
Stop AI crawlers, scrapers, vulnerability scanners and unwanted countries before OpenCart 4.x or 3.0.x builds a page. Googlebot and Bingbot are verified by DNS and always allowed; 50+ bots get one switch each; country rules use free GeoIP databases and can close only the checkout; IP and network lists, rate limits, honeypots and the cart flood fix; a one-second challenge instead of a captcha; learning mode, dashboard, log, IP tester and Cloudflare export. No core changes, no OCMOD.