You are now viewing the documentation of eZ Publish legacy (4.x series and the legacy "stack" in 5.x). For 5.x versions this documentation must be complemented with the latest, more current documentation available at confluence.ez.no. Happy learning!

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.