Repository Forums Support WooCommerce Extended Coupon Features PRO SOS help please: auto coupon bug :(

Topic Resolution: Resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4131
    Szilvia
    Participant

    Hello,

    We need to start a promotion today, but we’ve been hit by an auto coupon bug.

    We have four auto coupons:

    • 10% off for 1 item, usage restrictions: min qty 1, max qty 1
    • 15% off for 2 items, usage restrictions: min qty 2, max qty 2
    • 20% off for 3 items, usage restrictions: min qty 3, max qty 3
    • 25% off for 4+ items, usage restrictions: min qty 4

    The coupons themselves work as expected. However, they are not always applied automatically. Every second cart update triggers a proper coupon update, ie. the right coupon is applied, but between two working auto coupon updates, there is one update event when the wrong coupon is only removed but the right one is not applied.

    For example:

    • I add one item to cart, result is: Discount applied: 10% off for 1 item
    • I add another one (now we have 2 items), the previous coupon is removed but the one which applies is not added
    • I add 2 more items (now we have 4 items): Discount applied: 25% off for 4+ items
    • I remove 1 item (now we have 3 items), the previous coupon is removed but the one which applies is not added
    • I remove 1 item (now we have 2 items), 15% off for 2 items
    • and so forth: every second update works, and between two successful auto update events there is one, when the invalid coupon is removed but the valid one is not added to the card.

    I also tried to set the priorities of the coupons – although it should not matter in this case – but it did not make any difference.

    Is there anything that can be done to fix it ASAP?
    Thanks in advance!

    #4132
    Soft79
    Keymaster

    Can you send me an url + instructions to reproduce the issue? Also, please enable Settings > WC Ext. Coupon Features > Debug mode.

    #4133
    Szilvia
    Participant

    Thanks for the very quick reply! I am preparing a staging site for you to test, I’ll send it to you ASAP.

    #4134
    Soft79
    Keymaster

    If required, private details can be sent to admin at soft79.nl

    #4135
    Szilvia
    Participant

    Thanks, I have success by disabling “High Performance mode”. If “High Performance mode” is not enabled, then each cart item update works as expected. Since it is Sunday and I have a lot of other tasks to do, I am happy with this quick fix for the time being.

    Also, preparing a testing site takes about an hour, because of added security precautions I need to perform manually.

    Maybe by sending you the logs when I am testing with “High Performance mode ON” will help you?

    #4136
    Soft79
    Keymaster

    Yes please. The WC System Status Report would also help.

    Good news that disabling performance mode fixes the issue.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.