Vendzi

Products and orders

Sell a kit without inventing stock for it

How a bundle is priced, how its component stock decides availability, and why returns are whole-bundle.

Updated

A bundle is a product the customer sees and buys, with its own price and a list of components. The bundle never has stock of its own: availability is the smallest component capacity, so a kit cannot be sold after one of its parts runs out.

Bundle price
An explicit price for the whole kit. It is not the sum of component prices and it does not follow their tier prices.
Component quantity
How many units of the component one bundle contains. Two units of the same component in one kit are one line with quantity two.
Allocation weight
How the bundle price is split across components for reporting. All weights zero means an equal split; the parts always sum exactly to the bundle price.
Availability
Minimum of floor(component stock / component quantity). Unlimited components are ignored; a component with no stock makes the kit unavailable.
Nesting
A bundle cannot contain itself or another bundle. Nested kits are refused rather than expanded recursively.

When an order is prepared, the shop reserves the component quantities in the same stock ledger as ordinary products. A component shared by a kit and a normal line contends for one stock balance, not two. The accepted order keeps the bundle version, the component SKUs and quantities, and the price share of each component, so later catalog edits do not rewrite what the customer bought.