Àpèjúwe
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).
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Ìtumọ̀ Yorùbá: ’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.
Àwọn àwòrán ìbòjú
Ìgbéwọlẹ̀
Minimum Requirements
WordPress 5.2 or greater
PHP 7.0 or greater
WooCommerce 3.4 or greater
Automatic installation
- Go to your Dashboard => Plugins => Add new
- In the search form write: Condless
- When the search return the result, click on the Install Now button
Manual Installation
- Download the plugin from this page clicking on the Download button
- Go to your Dashboard => Plugins => Add new
- Now select Upload Plugin button
- Click on Select file button and select the file you just download
- Click on Install Now button and the Activate Plugin
FAQ
-
Why the default attribute was not set properly?
-
The slug and the names of the attributes and the terms must be in latin letters.
-
Why the default attribute was not set by the stock?
-
- 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)
-
How to set site-wide default per attribute?
-
Dashboard => Products => Attributes => Edit => Default Form Values. Attribute must be used for variation in at least 1 product.
Àwọn àgbéyẹ̀wò
Àwọn Olùkópa & Olùgbéejáde
“Default Attributes for WooCommerce” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaA ti túmọ̀ “Default Attributes for WooCommerce” sí èdè agbègbè 1 kan. Ọpẹ́lọpẹ́ fún àwọn atúmọ̀ èdè fún àwọn ìkópa wọn.
Túmọ̀ “Default Attributes for WooCommerce” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
1.2.1 Ìtumọ̀ Yorùbá: – December 23, 2025
- Enhancement Ìtumọ̀ Yorùbá: – WordPress version compatibility
1.2 Ìtumọ̀ Yorùbá: – May 8, 2025
- Enhancement Ìtumọ̀ Yorùbá: – WordPress version compatibility
1.1.9 Ìtumọ̀ Yorùbá: – November 12, 2024
- Enhancement Ìtumọ̀ Yorùbá: – WordPress version compatibility
1.1.8 Ìtumọ̀ Yorùbá: – May 22, 2024
- Enhancement Ìtumọ̀ Yorùbá: – WooCommerce version compatibility
1.1.7 Ìtumọ̀ Yorùbá: – March 1, 2024
- Enhancement Ìtumọ̀ Yorùbá: – WordPress version compatibility
1.1.6 Ìtumọ̀ Yorùbá: – October 12, 2023
- Enhancement Ìtumọ̀ Yorùbá: – WooCommerce version compatibility
1.1.5 Ìtumọ̀ Yorùbá: – June 30, 2023
- Enhancement Ìtumọ̀ Yorùbá: – WooCommerce version compatibility
1.1.4 Ìtumọ̀ Yorùbá: – March 18, 2023
- Enhancement Ìtumọ̀ Yorùbá: – WooCommerce version compatibility
1.1.3 Ìtumọ̀ Yorùbá: – December 22, 2022
- Enhancement Ìtumọ̀ Yorùbá: – WooCommerce version compatibility
1.1.2 Ìtumọ̀ Yorùbá: – August 19, 2022
- Enhancement Ìtumọ̀ Yorùbá: – WooCommerce version compatibility
1.1.1 Ìtumọ̀ Yorùbá: – June 1, 2022
- Dev Ìtumọ̀ Yorùbá: – Filter hook to disable pluginÌtumọ̀ Yorùbá: ’s cache
1.1 Ìtumọ̀ Yorùbá: – April 10, 2022
- Enhancement Ìtumọ̀ Yorùbá: – WooCommerce version compatibility
1.0.9 Ìtumọ̀ Yorùbá: – February 27, 2022
- Enhancement Ìtumọ̀ Yorùbá: – WooCommerce version compatibility
1.0.8 Ìtumọ̀ Yorùbá: – December 25, 2021
- Enhancement Ìtumọ̀ Yorùbá: – WooCommerce version compatibility
1.0.7 Ìtumọ̀ Yorùbá: – October 20, 2021
- Enhancement Ìtumọ̀ Yorùbá: – WooCommerce version compatibility
1.0.6 Ìtumọ̀ Yorùbá: – July 28, 2021
- Dev Ìtumọ̀ Yorùbá: – WP Compatibility
1.0.5 Ìtumọ̀ Yorùbá: – June 30, 2021
- Dev Ìtumọ̀ Yorùbá: – WP Compatibility
1.0.4 Ìtumọ̀ Yorùbá: – April 7, 2021
- Feature Ìtumọ̀ Yorùbá: – Filter products to apply
1.0.3 Ìtumọ̀ Yorùbá: – February 27, 2021
- Feature Ìtumọ̀ Yorùbá: – Global and local attributes compatibility
1.0.2 Ìtumọ̀ Yorùbá: – February 13, 2021
- Feature Ìtumọ̀ Yorùbá: – Filter transients expiration time
1.0.1 Ìtumọ̀ Yorùbá: – December 23, 2020
- Feature Ìtumọ̀ Yorùbá: – Default per attribute
1.0 Ìtumọ̀ Yorùbá: – August 29, 2020
- Initial release
