WooCommerce plugin that sets default attribute for variable products automatically if only 1 option is in-stock.
As of April 2026, Default Attributes for WooCommerce is a WordPress stock plugin with 400 active installations and a 5/5 rating from 4 reviews. It has been downloaded 10K+ times in total. Requires WordPress 5.2+ and PHP 7.0+. Available on WordPress.org since 2020. Top alternative: Back In Stock Notifier for WooCommerce….
WooCommerce plugin that sets default attribute for variable products automatically if only 1 option is in-stock.
Variable product of T-shirt with color attribute (White/Blue/Black) and size attribute (S/M/XL):
If only Black T-shirts are in-stock: default color (Black), default size (none).
If only Small T-shirts are in-stock: default color (none), default size (Small).
If only White and XL T-shirts are in-stock: default color (White), default size (XL).
| WordPress | 5.2+ requiredTested up to 6.9.4 |
| PHP | 7.0+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.