SOLVED: 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

Hey @HOSEIN and @Victor1999, so, I’m checking this one out, and it seems that the only thing I can add is “Adding to cart” event like @Victor1999 suggested - and I see that this is basically what BricksUltimate has as well.

Or you have some other ideas? I don’t think I can make it so specific as it was suggested on first post, as there are no data attached to the events, so I can’t discriminate between them.

Thanks,
Matej

1 Like

Hi Matej,

As always, thank you for not forgetting the ideas🙏. The “Adding to cart” interaction can be very useful.

Just to clarify, you mean WooCommerce doesn’t allow it, right?

Yes. The event that I’m listening to, for example, is “coupon applied” or something like this (I don’t know from the top of my head now), but this gets triggered by WooCommerce whether the coupon is applied successfully or not - but that’s also all the data I get. I just see that “coupon was applied”, I can’t know if successfully or now.

There is a slight chance that I’m missing something, which I will make sure to double-check just in case.

Matej

1 Like

Hello @Matej ,

I’m glad you’re adding “Adding to cart”. As an idea, it would be nice if there was an option to disable the default WooCommerce notifications. Displaying notifications using bricks popup makes life much more beautiful. That’s all.

1 Like

Thanks for the clarification Matej. Good luck✌️

1 Like

Or you have some other ideas? I don’t think I can make it so specific as it was suggested on first post, as there are no data attached to the events, so I can’t discriminate between them.

Hi,

As an idea, it would be great if two new dynamic data were added for Discount coupon.
For example,{discount_code} and {discount_total_amount}.

Using these two dynamic data, we can display a popup with text that shows the discount amount or discount title when the user applies the discount code. This is great for improving the user experience.

Discount

Best regards

HI @Victor1999,

it’s best if you post this to the Bricks Idea board (Idea board – Bricks) :wink:

Best regards,
Matej

1 Like

it’s best if you post this to the Bricks Idea board (Idea board – Bricks) :wink:

Hi @Matej,

I just posted it on the idea board. Thanks

1 Like

We’ve fixed this issue in Bricks 2.0, now available as a one-click update in your WordPress Dashboard.

Please take your time to read the changelog entry before updating: Bricks 2.0 Changelog – Bricks, and let us know if you continue to experience issues.