• Resolved Paul

    (@paulschiretz)


    Hi there, i use your plugin and it works great, it seems you basically recycled the quadlayers code, thanks!

    What really bugs me is that the notices from woocommerce are not displayed after add to cart. Like if a product is not purchasable anymore, cause the user already has to many of a product in the cart or similar.

    Should be easy for you to get the notices from the ajax response.
    Here is a real nice example: https://aceplugins.com/ajax-add-to-cart-button-on-the-product-page-woocommerce/ part1 is basically the same you do execept line 50 and onwards, this is where the Notices are fetched, part3 describes how to clear and display them.

    It would be really nice if we could have the notices as well, otherwise it seems bit too hacky to me, to just don’t show any error what so ever to the user.

    All the Best and keep up the good work,
    Paul

    • This topic was modified 4 years ago by Paul.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Display Notifications’ is closed to new replies.