sandywp / plugins / in-stock-layered-nav-for-woocommerce
In Stock Layered Nav for WooCommerce
Hides out of stock products when viewing an attribute catalog page.
Ready in seconds.
v1.0 10+ installs WP 3.0.1+
About this plugin
Currently, when viewing an attribute catalog page in a store, products still show up if they are out of stock for the specified attribute. This could result in a frustrating customer experience.
Example: Consider Product A. Product A comes in sizes 1, 2, & 3. However, size 2 is currently out of stock. If I filter the catalogue using WooCommerce Layered Nav widget, I will see Product A listed under size 2, even though it is out of stock. This would remove Product A from the size 2 page until it is restocked.
A few notes about the plugin:
- WooCommerce is of course required.
- This will only work for attributes used in variations.
- The attributes need to be taxonomies, and not defined on the product level.
Questions
- I am not seeing out of stock products removed from attribute catalog pages.
The attribute & options need to be set up as an [attribute taxonomy in WooCommerce](https://docs.woothemes.com/document/managing-product-taxonomies/#adding-attributes-to-your-store “Adding Attributes to your Store”).
- Will this plugin cause any performance issues?
Even though the best efforts have been made to minimize any performance impacts, this plugin does perform some potentially heavy additional queries to filter out itms not in stock. It is recommended that you test this plugin on a staging version of your site first to ensure everything goes smoothly.
sandywp / also on the shelf
Try another plugin
Filter Everything — WordPress & WooCommerce Filters
4.6 · 50K+ installs
The most flexible filters for WooCommerce products & WordPress content. Includes everything needed, supports Elementor &…
5.0 · 10+ installs
Professional AJAX filtering for Oxygen Builder. Features database indexing, SEO-friendly URLs, and native elements.
3.7 · 10+ installs
Sidebar Widget to allow filtering indexes by builtin and custom taxonomies.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.