How do I link a kit's stock to its parts?
A Composite product is made of your other products, like a "filter kit" of two cotton filters and one carbon filter. It has no stock of its own: its Available quantity comes from its components, and every sale or return moves the components' stock.
Before you start: turn on the Inventory add-on, and add the components as products in the same branch with their stock.
- From the sidebar open Catalog, then Items, and open the product (or create a new one).
- On the Stock card click Edit, then turn on Composite product.
- Click Add component, pick the products it is made of, then Add. For a component with options (such as a size), pick the option you mean.
- In the Quantity column enter how many of each component go into one of this product (e.g. cotton filter 2, carbon filter 1).
- Click Save. The Available quantity in each inventory is calculated from the components, and the Cost is the sum of their costs.
A product that had its own stock asks Turn it into a composite product?: click Convert and reset stock and its own stock becomes 0 (recorded in Movements); its quantity then comes from its components.
Available quantity, per inventory, is how many the components make: 10 cotton + 5 carbon make 5; selling one loose carbon filter leaves 4. Composite products are listed, read only, under Composite products in Inventory.
Selling one moves its components out of the same inventory, with the order number in Movements; an unpaid sale short of a component is refused like any product; a cancel or refund returns what actually left, even if you changed the components after the sale.
Not possible yet: restocking, adjusting, transferring or setting a threshold on the composite product itself (change its components instead); deleting a product that is a component (remove it from Components first); a composite product inside another one, inside a Package, in Consumables, or with options (make one composite product per size). Copying it to another branch needs its components there, and its components don't carry over to its linked copies in other branches.