Operate · 03
Catalog and inventory
Catalog work is the source of truth for price, stock, imagery and the product page. Keep product records clean and the storefront, checkout, reports and affiliate links stay consistent.

Product model
| Record | Purpose |
|---|---|
| Product | Name, slug, SKU, family, price, compare price, blurb, description, notes, images, status and merchandising flags. |
| ProductVariant | Size or format, SKU, price override, stock and active state. |
| ProductImage | Portrait, landscape, gallery and poster assets with sort order and alt text. |
| Collection | Curated storefront edit with its own route and page key. |
| BundleItem | A bundle product composed of component products with quantities. |
| StockMovement | Signed stock ledger for sales, receipts, cancellations, imports and manual adjustments. |
Product workflow
- Create the product at
/dashboard/products/new/with name, slug, family, price and description. - Add variants for each size. Keep the variant SKU unique; checkout uses it for stock and fulfilment.
- Add imagery from the media library. Set the portrait, landscape and gallery roles so the product page, collection and email can use the right crop.
- Set stock and the low-stock threshold. Stock changes write a ledger entry with a reference.
- Preview the product page and publish any Content Studio overrides for
product_<slug>.
Collections and bundles
Collections are merchandising edits, not categories. Each collection has a route at /collections/<slug>/ and a Content Studio page key collection_<slug>. A product can appear in several collections without duplicating the product record.
Bundles are products with is_bundle=True and component rows. Checkout reduces component stock, not the bundle stock, and the order event records the bundle composition. Use bundles for Discovery Set, Signature Duo and The Full House.
Suppliers and purchase orders
Suppliers have contact details, lead times and product relationships. Purchase orders track ordered, received and outstanding quantities; a partial receipt writes stock movements for only the received quantity. The supplier console is at /dashboard/suppliers/.
| Action | Result |
|---|---|
| Create purchase order | Draft PO with supplier, lines and expected date. |
| Receive stock | Signed stock movements and updated product/variant quantities. |
| Partial receipt | Remaining quantity stays open; received quantity is recorded once. |
| Cancel PO | No stock movement unless a receipt was already recorded. |
Imports and exports
CSV import/export lives at /dashboard/imports/. The import log records the file, row count, row errors, field mapping and stock adjustments. Export the product catalog or order dataset as CSV from the same module.
# Safe catalog checks after a bulk import
python manage.py check
python manage.py test apps.catalog apps.commerceRun an import against a staging database first. A successful file parse does not guarantee the prices, stock or slugs are correct.
Inventory rules
- Never edit stock directly in the database; use the product form, purchase receipt or import so the ledger stays complete.
- Paid orders decrement stock once. Cancellation/restock is handled by the order lifecycle.
- Low-stock notices use the configured threshold; waitlist notifications are sent by the jobs timer.
- Deleted products are soft-guarded by order history. Prefer deactivating a product over deleting it.
- Product slugs are public URLs. Changing a slug breaks old links unless you add a redirect.