Skip to content

Product compositions

inspiran edited this page Apr 4, 2011 · 9 revisions

Products can be grouped together to relate them to each other or create new composite products. This page discusses various compositions and impact on handling such cases.

Simple product composition

In this case we create a new product composed of two existing products. A clothing store offering men suits consisting of a jacket and a pant. Both can be bought separately. This means that the men suit, jacket and pant have different product identifications (or SKU ).

Grouped products

Grouped products represent a collection of similar products. For instance if a T-shirt is offered in small, medium and large, three products are created with different SKUs and grouped together. (eg. TS1-S, TS1-M, TS1-L) .

Inheritance

Grouping products together reduces copying information to each individual product by putting common information at product group level such as product text, possible product options, product image gallery, pricing information.

We therefore will need a way to create an inheritance mechanism of product attributes. For instance the manufacturer could be put at group level and be cascaded down to individual products part of this group. An individual group item should be able to override group level attributes.

Stock levels

Stock levels should be available for both the total stock quantity of the product group and for stock quantities of individual products.

Example 1:

Group SKU: TS1 ; Name: T-shirt Symfony2 short sleeves ; Stock level = 15

The group contains following products:

  • TS1-S-WH 25 euro T-shirt Small White (stock level = 1)
  • TS1-M-WH 25 euro T-shirt Small White (stock level = 10)
  • TS1-L-WH 28 euro T-shirt Large White (stock level = 2)
  • TS1-S-BL 25 euro T-shirt Small Black (stock level = 2)