Skip to the content
Documentation

ezrangeoption

No ratings yet
Summary

Contains information about a range of options.

Persistent

No.

Attributes
Attribute Type Description
name string The name of the range option (for example "Shoe size").
start_value string The start value (for example "32").
stop_value string The stop value (for example "40").
step_value string The step value (for example "1").
option_list array

The generated options as an array of hashes where each hash consists of the following elements:

Attribute Type Description
id integer The ID of the option.
value string The option value.
additional_price integer The additional price (will always be 0).
is_default boolean TRUE if it is the default option, FALSE otherwise.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.