Product classes and catalog
This page is for business owners and editors who will fill the store with products. It explains what a product is in Exponential, which fields a product can have, how options and variants work, and how to organize the catalog so that customers and staff find things. The setup itself is described in Products, prices and VAT.
Contents
- A product is content
- The product class as shipped
- Fields worth adding
- Options and variants
- Organizing the catalog
- Who maintains products
- Catalog checklist
A product is content
In Exponential every page is a content object of a class, a template that says which fields it has. A product is
simply content of a class that has a price field (ezprice or ezmultiprice)
(Running a shop: overview). This has practical benefits for a
business:
- Editors write product pages with the same editor, versions and preview as any other page (Publishing and versions).
- Products can be translated like other content (Multilingual sites).
- Products appear in menus, search and feeds without extra work.
- Products can be related to articles, guides and other products (Relations and reuse).
The product class as shipped
On a development installation, the Product class has these fields, in this order:
| Field | Datatype | Use |
|---|---|---|
| Name | ezstring | The product name |
| Product number | ezstring | Your article number or SKU |
| Short description | ezxmltext | Teaser for lists |
| Description | ezxmltext | The full text |
| Price | ezprice | The price with its VAT type |
| Image | ezobjectrelationlist | Images, as related image objects |
| Caption (Image) | ezxmltext | Image caption |
| Additional options | ezmultioption | Choices that can change the price |
| Tags | ezkeyword | Keywords |
| Star Rating | ezsrrating | Customer ratings (ezstarrating) |
| Meta Data | xrowmetadata | Search engine metadata (xrowmetadata) |
| Specifications | ezmatrix | A table of technical data |
The class is a container, so a product can hold sub-pages such as manuals or accessories. Your installation's class may differ: it depends on the site package that was installed (Site packages and shipped themes).
Fields worth adding
Classes can be changed at any time in Setup > Classes (Content classes for websites). Fields businesses often add:
| Need | Datatype | Note |
|---|---|---|
| Product category for VAT rules | ezproductcategory | Needed only when VAT differs by product type (VAT rules and VAT types) |
| Prices in several currencies | ezmultiprice instead of ezprice | (Prices and currencies) |
| Downloadable manual | ezbinaryfile | (Files and downloads) |
| Brand, material, color as filters | eztags or a selection | (Tagging with eztags) |
| Weight, for shipping rules | ezfloat or ezinteger | Only useful with a custom shipping handler (Shipping and handling) |
Datatypes are compared in Choosing datatypes for your fields.
Options and variants
The kernel ships four option datatypes: ezoption, ezmultioption, ezmultioption2 and ezrangeoption
(kernel/classes/datatypes/). An option lets the customer choose, for example, a size or color, and can change the
price; the choice is stored with the basket item
(Products, prices and VAT).
When should a variant be a separate product instead?
| Use an option when | Use a separate product when |
|---|---|
| The variants share images and text | Each variant has its own images or description |
| Price differences are simple additions | Each variant needs its own product number for your warehouse |
| You do not track stock per variant | The variants are searched for separately |
Note
The shop has no stock management (What the built-in shop does). If stock per variant matters, plan an extension or an integration with your inventory system.
Organizing the catalog
- Folders make the main categories and the menu: a folder per category, products inside (Structuring the content tree).
- One product, several categories: a content object can have several locations, so a product can sit in "New" and in its own category without being copied.
- Tags give a second way through the catalog (brand, material, occasion).
- Sections separate a wholesale catalog from the public one, with permissions per section (Sections and object states).
- Landing pages for campaigns and seasons (Landing pages with layouts).
Who maintains products
| Task | Who | Permission |
|---|---|---|
| Write and update product pages | Editors | content create and edit in the product folders |
| Change prices | Editors or the shop owner | content edit; prices are fields of the product |
| Create VAT types, product categories, currencies | Shop owner | shop/setup |
| Check that every product has a price | Shop owner | the dashboard counts products without a price |
The Store dashboard reports the number of products and of products without a price, and lists the product classes with their price attribute (Store dashboard and order statuses).
Catalog checklist
- To do: The product class has every field your product pages need.
- To do: Each product has a product number that matches your bookkeeping.
- To do: Prices are set and the VAT type on each price is right.
- To do: Options are tested in the basket with their price changes.
- To do: Categories, menus and tags are agreed before mass entry starts.
- To do: Image sizes are defined once (Images and image variations).
Related pages
- Products, prices and VAT
- Store search and navigation
- Designing your content model
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.