Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

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 2:41 pm)

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


Comments

There are no comments.