This is the old documentation center for eZ Publish 4. We are currently migrating the eZ Publish documentation to http://confluence.ez.no the eZ Publish 5 documentation platform. Documentation for the eZ Publish legacy components are still located on this site, as well as all documentation for earlier releases.

Option

Summary

Allows an option selection. [Webshop]

Properties

NameInternal nameSearchableInformation collector
Option ezoption No. Yes.

Description

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. The following screenshot shows the class attribute edit interface for this datatype.

Class attribute edit interface for the "Option" datatype.

Class attribute edit interface for the "Option" datatype.

The "Default name" parameter can be used to specify a name which will be used (as the name for the option) every time a new object is created.

Object attribute edit interface

The following screenshot shows the object attribute edit interface for this datatype.

Object attribute edit interface for the "Option" datatype.

Object attribute edit interface for the "Option" datatype.

Raw output

The ".content" of an ezcontentobjectattribute object using this datatype returns an ezoption object.

Balazs Halasy (21/02/2005 3:41 pm)

Balazs Halasy (29/04/2005 3:46 pm)


Comments

There are no comments.