This topic has 9 replies, 2 voices, and was last updated 3 years, 4 months ago ago by Olga Barlow
hello friends, i would like your help with the following:
i have a shoes eshop and when one number is over the option from filter is still on. When the customer choose that, then appeared a msg that is not enough qty in that number.
Is any option to make filter not show the variation with 0 qty?
Thank you
Best Regards
Apostolis
Hello,
Go to WooCommerce > Settings > Products > Inventory > Check Hide out of stock options from the catalog. Check the product after that.
Regards
hello Olga, thank you for your reply.
I have all ready check that option but no lucky! 🙁
Product Number it is still open. Any other thought ?
thanks again
hi again. when i have that option enable, a lot of products not appeared at all!
anyway, i believe that i solve someway that.
if i need any further help (if my client want) i let you know
thanks again Olga
Hello,
But if you choose the black and 39 you’ll get the red text that the product is out of stock https://gyazo.com/7930c4b8e68f2db1af9aa45aacef0061
You can try to add the below code to disable the cursor for the q-ty if the variation is out of stock
.woocommerce-variation-add-to-cart-disabled .quantity, .woocommerce-variation-add-to-cart-disabled .quantity .minus, .woocommerce-variation-add-to-cart-disabled .quantity .plus, .woocommerce-variation-add-to-cart-disabled .quantity input {
cursor: not-allowed;
}
There is no option to hide out of stock variations.
Regards
hello Olga, Thank you for your reply and sorry for my late reply.
Unfortunately no lucky.
I saw your prntscr and yes in that product i have msg that is is out of stock, but please also check the url link product for N41 or N42. No msg.
i don’t know why that!
Also i try to add the code but nothing happens 🙁
Any idea?
Thank u
Hello,
You are welcome.
That size is in stock https://prnt.sc/1djlbu7 So, what do you expect to have there?
Regards
Hello, Please try to find the product ” FLD-U035 ”
and check N41 or N42 that has 0 stock
I have not out of stock msg
Regards
Hello,
We checked the issue with the default Storefront theme and see that it does not display https://gyazo.com/f6bbef5f1b16636607dc46401ed07bc1 So, contact WooCommerce plugin support about this https://wordpress.org/support/plugin/woocommerce/
Regards
You must be logged in to reply to this topic.Log in/Sign up