Allows you to add a new custom option value to a custom option.
Note that the custom option value can be added only to the option with the Select Input Type.
data
is a catalogProductCustomOptionValueAdd object.
magento.catalogProductCustomOptionValue.add({
optionId: val,
data: val,
storeView: val /* optional */
}, callback);
Allows you to retrieve full information about the specified product custom option value.
magento.catalogProductCustomOptionValue.info({
valueId: val,
storeView: val /* optional */
}, callback);
Allows you to retrieve the list of product custom option values.
Note that the method is available only for the option Select Input Type.
magento.catalogProductCustomOptionValue.list({
optionId: val,
storeView: val /* optional */
}, callback);
Allows you to remove the custom option value from a product.
magento.catalogProductCustomOptionValue.remove({
valueId: val
}, callback);
Allows you to update the product custom option value.
data
is a catalogProductCustomOptionValueUpdateEntity object.
magento.catalogProductCustomOptionValue.update({
valueId: val,
data: val,
storeView: val /* optional */
}, callback);