Option


Describes an option.

attribute

Returns the attribute this option belongs to.

id

Returns the id.

image

Returns the image.

inventory_management

Returns the inventory management.

max_length

Textarea only, returns the maximum length for the text.

min_length

Textarea only, returns the minimum length for the text.

net_price

Returns the discounted net price.

original_net_price

Returns the net price without any discounts.

original_price

Returns the price without any discounts.

price

Returns the discounted price.

rows

Textarea only, returns the rows for the text.

stock

Returns true if this option is in stock.

stock_alarm

Returns true if this option is low on stock.

sub_attribute

Returns the child attributes for this option.

tax

Returns the tax.

title

Returns the title.