Snippets

  • Snippets,  Tutorial,  WooCommerce

    How to Disable Out of Stock Variations in WooCommerce Variable Products?

    Customers prefer options while choosing a product. WooCommerce variable products can offer such options. A variable product is a type of product in WooCommerce which allows selecting options, like different colors, sizes, and SKU.  Now, if you are selling variable products, and some of your product is out of stock, you have the option to hide the out-of-stock products. WooCommerce already has a setting to completely remove products/variations products when out of stock. This means they’re no longer visible on shop pages or on product pages for the variations.  Remove Out of Stock Products Go to the WooCommerce > Settings > Products > Inventory settings section. There you’ll find the ‘Out of stock visibility’ checkbox; check the box if you’d want…