Product data modelling

The product data modelling in Litium is easy but also flexible. You can assign to your products an infinite number of attributes, files, images and relationships. You can group your attributes in a logical and understandable way that makes sense to administrators and site visitors.

Product, Base product and Variant

Any sellable product in Litium is always made up from two levels. One is the Base product and the other is the Variant. The Base product stores the information common to all product variants, while the Variant stores the information that differ between the variants of the product. Products that only comes as one variant - like a pair of one size, one color sunglasses - is still made up from the two levels Base product and Variant. The attributes for a product are defined as fields in a field template, and the field template for a Product is always divided in two levels, one for Base product and the other for Variant. 


The sellable item always includes the Variant level

While a product can technically exist with only data in the Base product level, any sellable product has to include the Variant level. It is on the Variant level where Price and Stock balance is stored.

Set up fields and field templates for products

The field templates for products are divided into the levels Base product and Variant. There are a number of predefined system fields. The system fields are always available, but if they are to be shown in the back office administration, they need to be added to field templates. These are the most important when modelling products:

Article number

The article number exists on both Base product and Variant. Exists always on both levels, and is not part of any field template. Article number is mandatory in both Base product and Variant level. Once the value is set, the user cannot edit it.


Can be set to Both levels, or either one of them can be used.


Both levels, or either one of them can be used.


Exists always on both levels, and is not part of the field templates.


The URL is set on either the Base product or the Variant level. The URL is set on the Variant level if the variant itself should be browsable, that is it has it's own URL. In the case when all variants are shown as a list in one page, the URL is better placed on the Base product level. It is the Display template specified in the field template that defines whether the URL of the Base product or the Variant is to be used.

The URL settings from display template is also used when the product is indexed. If the URL setting is variant, all the variants will be added to the search index as individual items. It the URL settings is product the search index will only add the base product with all the variants as one item.

Product types

There are usually several types of products in any merchant's assortment. Let's examine a couple of common product types and see how it can modelled in Litium.

Sunglasses - one size, one color

The perhaps simplest product type is a product that is sold in only one make. It does not come in variations like size or color. 



T-shirt - variants from size and color

The classical example of a product that is sold as different variants. 



Office chair - variants with alternative presentation

This kind of product is sold as different variants but the needs for how it is published in the web site differs from the t-shirt example, which also makes the modelling slightly different. 






Is this page helpful?
Thank you for your feedback!