Vote up!
Vote down!

Can't SET DATA VALUE for "commerce-product:commerce-price:amount-decimal" by RULES

Good day, I can't make action in RULES - SET DATA VALUE for data selector: commerce-product:commerce-price:amount-decimal
Displaying error: "The selected data property doesn't support writing."

How change pice in product by RULES?

Asked by: andreystrelkov
on January 5, 2013

1 Answer

Vote up!
Vote down!

The 'amount_decimal' property is a computed property meaning it's value is based on other values. By default computed properties are read-only which is why you get the error.

You can use 'commerce-product:commerce-price:amount' or try using another action that deals with line items instead of products such as 'Add an amount to the unit price', etc.

Answer by: michfuer
Posted: May 14, 2013