onDiscountRuleDeleted( )


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

The onDiscountRuleDeleted() event handler runs when a discount rule is deleted. The received DiscountRuleDeleted object contains event metadata.

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

Method Declaration
Copy
Method Parameters
eventDiscountRuleDeleted

Information about the discount rule that was deleted.

Was this helpful?
Yes
No