xpay✦ Commerce
Directory
WooCommerce plugins
Default Attributes for WooCommerce
Default Attributes for WooCommerce
WooCommerce plugin that sets default attribute for variable products automatically if only 1 option is in-stock.
5.0
(4 ratings)Will this break my store?
What the WordPress.org registry says about keeping Default Attributes for WooCommerce running.
Tested to 7.1
Tested against the WordPress branch in use today.22 days ago
At least 1.0 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.0
Your host must be running at least this version.5.2
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.Maintenance & trust
Scored on how Default Attributes for WooCommerce is looked after — not on how many stores run it.
96
out of 100Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
11 / 15Listing transparency
10 / 10Ratings
5.0
4 ratingsWooCommerce 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).
How It Works
- Before product variations is displayed to the customer, the plugin will check each attribute, and if there is only 1 in-stock option it will be set as the default.
Features
- Stock: Set option as default when it’s the only 1 in-stock.
- Per Attribute: Set specific option as default in all products with that attribute (from the Edit Attribute screen)
- Top: Set as default the first option of each attribute.
- Out of stock: Disable out of stock variations.
- Add to Cart button: In archive pages display for variable products the attribute name instead of: “Select options”.
- Select options: In single product pages remove the select options text if default attribute is set.
The slug and the names of the attributes and the terms must be in latin letters.
- Wait 1 minute for the plugin cache to be refreshed (or disable cache- instructions in docs)
- Not all the in-stock variations belong to the same attribute option
- The product has more variations than the configured max amount to calculate for (set via plugin settings)
Dashboard => Products => Attributes => Edit => Default Form Values. Attribute must be used for variation in at least 1 product.
Categories
Plugin details
Tags on WordPress.org
