Home Forums Themes Support Claue Issue with mini cart

Viewing 5 reply threads
  • Author
    Posts
    • #31487
      jacmiki
      Supported

      Hello,
      We are facing some problem with the ajax add to cart.
      The mini cart item wont update when there out of stock variations item added to cart.
      EG:,
      Item have variations A and B,
      Variation A have 10 stock available and variation B left 1 stock available.
      When customer added the variation B last stock to cart, and he added again variation B that are out of stock, the out of stock message will appear on bottom of screen and when customer proceed to add variation A, the mini cart wont update, unless customer refresh the page.

    • #31507
      Harry
      Supported

      Hi Jacmiki,

      Thank you for report bug.

      We’re checking the issue and find solution to update soon.

      Thank again.

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31558
      jacmiki
      Supported

      Hi Harry,
      Is there any update for the fix?
      Thanks.

    • #31577
      Harry
      Supported

      Hi Jacmiki,

      Sorry for late reply.

      This of this case because the ajax can’t remove message of out of stock variation when you change variation so the message doesn’t disappear.

      For this case it only way to disable Ajax add to cart in WooCommerce > Settings > Add to cart behavior > Uncheck 2 last fields.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #31596
      jacmiki
      Supported

      Hi Harry, thanks for the solution.  We have disable the ajax add to cart function as you suggest, the out of stock error message are not appearing anymore and the minicart status are update accordingly. But is there any other solution that we can have the out of stock  error message without the ajax function?
      Cause now without the out of stock error message kinda confusing the end user.

      Regards.

    • #31598
      Harry
      Supported

      Hi Jacmiki.

      Please add below code to Claue > Theme Option > General Layout > Custom CSS

      .woocommerce .jas-wc-single .woocommerce-error {
      	display: inherit;
      }

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 5 reply threads

You must be logged in to reply to this topic.