onDiscountRuleUpdated( )


An event that is triggered when a discount rule is updated.

The onDiscountRuleUpdated() event handler runs when a discount rule is updated. The received DiscountRuleUpdated object contains information about the discount rule that was updated.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventDiscountRuleUpdated

Information about the discount rule that was updated.

Was this helpful?
Yes
No