In the current inventory module, we work with the following structures:
Items
These are the base-level components in the inventory.
Every other structure builds upon or uses these items.
Items with Variants
These are items that have multiple options or variations (e.g., size, color, type).
They are essentially grouped under the same base item but are managed as separate options.
Bundled Products
These are products created by combining multiple items (or items with variants).
Bundled products allow us to define a combination of components that are sold or used together.
Bundled Products with Variants
These are bundled products that have variations (e.g., a gift box that comes in different sizes or with different color themes).
Variants are managed similarly to how they are for individual items, but at the level of the bundle.
Nested Bundled Products (New Addition)
Nested bundles are essentially bundled products created manually using (Manual Production Run) other items.
These nested bundles are treated as standalone items in the inventory, meaning they can be sold alone, used in other bundled product creations (including their variants).
They follow the same logic and structure as regular bundled products but in manual production run processes avoiding loops in validations and runs.
Relationship Between Components
Item as the Base Level:
All inventory structures begin with items as the foundation.
Items with variants are a subcategory of items, providing additional flexibility while still tied to the base level.
Nested Bundled Products:
Created from existing items or items with variants.
Treated as standalone inventory items at the same level as items.
Can be used in bundled product creation, similar to how items or items with variants are used.
