Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Fitri Sinta

    (@supportfitri)

    Hi @cjonessy03, thank you for the suggestion. I’ve raised this issue to our development team to review and hopefully we can fix it soon. We’ll keep you posted!

    Thread Starter cjonessy03

    (@cjonessy03)

    Howdy, @supportfitri! I went ahead and updated this thread to not resolved for the time being.

    Not sure if others are experiencing the same issues with using this plugin with the Block Checkout. Thanks!!

    Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hi @cjonessy03,

    Good news – we’ll have a fix for this in our next release. In the Traits/Block.php we have a function is_current_page_using_cart_checkout_block and we’ve changed that to using has_block. This is passing all our tests.

    // check if page using cart or checkout block.
    if ( has_block( 'woocommerce/checkout' ) || has_block( 'woocommerce/cart' ) ) {
    return true;
    }

    Quick question though, what do you mean exactly by your comment: “Right now, we have a few sites using this plugin and also have Block Checkout and Cart enabled. But we are still seeing the traditional?wc_add_notice()?messaging shows up.”

    I believe WC already doesn’t show those traditional notices on the new Cart/Checkout block, so could it potentially be something in your theme that’s forcefully showing it?

    • This reply was modified 3 months, 2 weeks ago by Josh Kohlbach.
    Thread Starter cjonessy03

    (@cjonessy03)

    That is great news, @jkohlbach! We’ll be on the lookout for the new release.

    Quick question though, what do you mean exactly by your comment:

    That was more of a statement of confirmation we were seeing the traditional notices on the block checkout when this plugin was enabled with other sites we have. No action needed on your part. ??

    Hey @jkohlbach, @supportfitri

    I am still experiencing a similar issue with the latest version of the plugin.

    On a blank install with only WooCommerce + Advanced Coupons installed and a default theme (Twenty Twenty-Four), when a wrong coupon is added to the cart, the coupon notices are not working as expected.

    The issue:

    When a wrong coupon code is entered the error message is sent to the Woo notice block at the top of the page and quickly disappears. This unfortunately lets the user without any feedback and screen flickering.

    This issue is both happening on the cart page and the checkout page if the Block-Based checkout experience is enabled (which is the default one now)

    Expected result:

    An error message should be displayed below the coupon field in the wc-block-components-totals-coupon__content > wc-block-components-validation-error DOM element.

    Let me know if you need further detail on this issue.
    Thanks for your help.

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