If the coupon is already active and the user re-enters the coupon, the Coupon applied trigger will be fired while an error will be displayed.
As a suggestion, it would be nice if there was a trigger for Coupon error to have full control over the coupon action. In this case, we can display the text “Coupon is not valid or has already been used.”
thank you for this observation. We are triggering “coupon applied” interaction, if we receive the “apply coupon” event from WooCommerce. It appears that the same even is used, if there is an error.
That’s why I’m not sure if I should take this as a bug or as an improvement . I’ll create a task anyway, and we will have a look at what can be done.
Add to cart is when the product has been added to the cart. But Adding to cart is for the time when the adding to cart process is taking place. In fact, this trigger is suitable for displaying a loading in the adding to cart process. The Bricks Ultimate plugin has this trigger.