Skip to the content
Documentation

ezoption

No ratings yet
Summary

Contains information about a collection of options.

Persistent

No.

Attributes
Attribute Type Static* Description
name string Yes. The name of the option (for example "Color").
option_list array Yes.

An array of hashes where each hash consits of the following elements:

Attribute Type Description
id integer The ID number of the option.
value string The option text (for example "Red", "Green", etc.).
additional_price string The addition price.
is_default boolean TRUE if it is the default option, FALSE otherwise.

* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.