The Catalog module is EdgeCart’s product domain. It answers three questions: what do you sell, how is it organized, and what does it cost?
Features
- Products and variants — a product is the thing customers browse; a variant is the version they buy, such as a size or color. Prices and inventory belong to variants.
- Categories and collections — categories build the browse tree; collections group products for merchandising, such as “New arrivals” or “Sale”.
- Prices and price lists — prices are stored in integer minor units and can be defined per currency. Price lists support customer- and group-specific pricing.
- Translations — product content can be translated per locale. The storefront applies translations after matching the base product fields.
- Inventory — inventory items and stock locations back the variant’s available quantity.
Key concepts
| Concept | What it means |
|---|---|
| Product | The sellable item customers browse. It has a title, handle, description, status, and images. |
| Variant | A specific purchasable version of a product. Prices and inventory are attached here. |
| Category | A node in the storefront’s browse hierarchy. |
| Collection | A curated group of products used for merchandising. |
| Price list | A set of prices applied to a customer, customer group, or context. |
| Inventory item | The stock record linked to a variant, held at a stock location. |
| Translation | Locale-specific product content applied on the storefront. |
How it fits
- Admin — use Products to create products and edit variants, prices, and images. Use Catalog for categories and collections.
- Storefront — product, category, and collection pages read catalog data. Product cards and detail pages show the translated content and the resolved price for the shopper’s region and customer context.
- Cart — when a shopper adds a variant, the cart reads its current price and inventory. The line price is then snapshotted, so later catalog changes do not reprice an existing line.
- Orders — order items keep the product and variant details they had when the order was placed.
- Sales — customer groups and regions affect which price list applies.
Common tasks
- Merchant — create your first product and variant. Category, collection, and image workflows are part of the merchant guide as those pages land.
- Developer — browse the Storefront and Admin operations in the API reference, or start with the local development guide.
Current boundaries
- Creating inventory items and stock locations, and editing stock levels, are API-only today. The product editor can link existing inventory items.
- Replacing a product image does not delete the old R2 object; orphan cleanup is not implemented.
- Storefront search matches base title, subtitle, description, and handle first; translated search is future work.
See current limitations for the full list.
Related modules
- Sales — regions, customer groups, and tax context.
- Cart — reads catalog prices and inventory.
- Orders — snapshots product details into order items.
- Storefront — serves catalog data to the storefront.