Forums / Setup & design / Diferents options for the same product

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Diferents options for the same product

Author Message

Albert Hornos

Wednesday 27 April 2005 10:47:35 am

Hi,
Could anyone explain me how can I define 2 diferent prices for the same product?
I want to create a new product (for example a t-shirt) and if the color of the t-shirt is red the price will be 5 else if t-shirt is white the price will be 3.

Thanks

Łukasz Serwatka

Friday 29 April 2005 5:34:46 am

Hi,

You will have to use option datatype or multioption datatype.

This datatype makes it possible to create a single group of options for each content object. Each option can be assigned a short text and an additional price. For example, it can be used to sell T-shirts in different colors where the price is different for some (or all) colors.

This is from upcoming docs which will be availabe soon ;)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog