Support » Plugin: Stock Locations for WooCommerce » Disable the selector of a variation Out of Stock

  • Resolved fedehrc


    Hello, the plugin is spectacular, thank you!

    I wanted to know if it is possible to disable the selector of a variation when the stock is Out of Stock in all locations.

    For example: I have a size 45 shoe, no stock available, however let you select the size.

    This is how I would like it to look:

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author Fahad Mahmood


    @fedehrc I have checked your screenshot, actually you are not using dropdown selector which is a default selection method in basic WooCommerce on product page. Please check the following screenshot, you will notice that the out of stock locaiton cannot be added to the cart as that option is disabled. In your case, some JavaScript snippet will be added to adopt the same functionality for div/li or whatever html element you are using for size attribute selection.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.