Variotion qty 0 - by mantolis - on WordPress WooCommerce support

This topic has 9 replies, 2 voices, and was last updated 3 years, 5 months ago ago by Olga Barlow

  • Avatar: xstore
    mantolis
    Participant
    June 8, 2021 at 09:43

    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

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 8, 2021 at 12:52

    Hello,

    Go to WooCommerce > Settings > Products > Inventory > Check Hide out of stock options from the catalog. Check the product after that.

    Regards

    Avatar: xstore
    mantolis
    Participant
    June 9, 2021 at 09:00

    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

    Please contact administrator
    for this information.
    Avatar: xstore
    mantolis
    Participant
    June 9, 2021 at 10:42

    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

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 9, 2021 at 23:05

    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

    Avatar: xstore
    mantolis
    Participant
    July 20, 2021 at 07:31

    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

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 20, 2021 at 16:16

    Hello,

    You are welcome.
    That size is in stock https://prnt.sc/1djlbu7 So, what do you expect to have there?

    Regards

    Avatar: xstore
    mantolis
    Participant
    July 20, 2021 at 18:16

    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

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 21, 2021 at 11:18

    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

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.