Support » Plugin: WooCommerce » Best mechanism for customer feedback from a shipping extension?

  • Resolved jaydisc


    I’m building a shipping plugin and I need to deliver validation / error messages, both in the cart page (I have calculator available there for non-logged-in users) as well as checkout.

    I tried using wc_add_notice(), but the error message doesn’t go away if the error is fixed by the user via AJAX.

    Is there either a way to clear that message when the AJAX fires successfully? Or is there a more apt method for such shipping extension error messages than wc_add_notice()?

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