WIP: Bricks 2.0 Beta: Coupon applied interaction issue

Browser: Chrome 137.0.7151.41
OS: Windows

Hi,

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.”

3 Likes

This is great! Please. Also a trigger for Adding to cart would be great.

Hi @HOSEIN,

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 :thinking:. I’ll create a task anyway, and we will have a look at what can be done.

@Victor1999

There should already be “Add to cart” trigger. :slight_smile:

Best regards,
Matej

1 Like

Hi @Matej,

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.

1 Like

Yep, we will review this, and try to make it a bit more specific.

1 Like