Descripció
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
- Per Attribute: Set specific option as default in all products with that attribute.
- 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.
- Contact to request new default attributes options.
Instal·lació
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
PMF
-
Why the default attribute was not set by the stock?
-
- Wait 1 minute so the cache will be refreshed
- Not all the in-stock variations belong to the same attribute option
- The attribute option contains numbers- add 0 (zero) before the value
- The product has more variations than the max amount to calculate for- change 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.
Ressenyes
There are no reviews for this plugin.
Col·laboradors i desenvolupadors
"Default Attributes for WooCommerce" és programari de codi obert. La següent gent ha contribuït en aquesta extensió.
Contribuïdors“Default Attributes for WooCommerce” s'ha traduït a 1 localització. Gràcies als traductos per les seves aportacions.
Tradueix “Default Attributes for WooCommerce” a la teva llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.
Registre de canvis
1.0.1 – December 23, 2020
- Feature – Default per attribute
1.0 – August 29, 2020
- Initial release