Home › Forums › Themes Support › Claue › Issue with mini cart
- This topic has 5 replies, 2 voices, and was last updated 4 years, 11 months ago by Harry.
-
AuthorPosts
-
-
May 30, 2019 at 3:43 pm #31487jacmikiSupported
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. -
May 31, 2019 at 1:25 am #31507HarrySupported
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 -
June 3, 2019 at 8:46 am #31558jacmikiSupported
Hi Harry,
Is there any update for the fix?
Thanks. -
June 3, 2019 at 11:02 pm #31577HarrySupported
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 -
June 4, 2019 at 11:05 pm #31596jacmikiSupported
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.
-
June 5, 2019 at 12:40 am #31598HarrySupported
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
-
-
AuthorPosts
You must be logged in to reply to this topic.