Option¶
-
class
DreamCommerce\ShopAppstoreLib\Resource\
Option
¶
Check: Resource.
constants¶
HTTP_ERROR_OPTION_CAN_NOT_MODIFY_REQUIRE
- it’s not possible to change required flag for option with warehouse support
HTTP_ERROR_OPTION_CAN_NOT_MODIFY_TYPE
- it’s not possible to change type of an existing option
TYPE_FILE
- option type file input
TYPE_TEXT
- option type text
TYPE_RADIO
- option type radio option
TYPE_SELECT
- option type select (drop down)
TYPE_CHECKBOX
- option type checkbox
TYPE_COLOR
- option type color
PRICE_TYPE_DECREASE
- option value decreases price
PRICE_TYPE_KEEP
- option value is unchanged
PRICE_TYPE_INCREASE
- option value increases price
PRICE_PERCENT
- option value is modified by percent
PRICE_AMOUNT
- option value is modified by value