Title: Default Attributes for WooCommerce
Author: Condless
Published: <strong>ئه‌یلول 4, 2020</strong>
Last modified: كانونی یه‌كه‌م 23, 2025

---

گەڕان لە پێوەکراوەکان

![](https://ps.w.org/default-attributes-for-woocommerce/assets/banner-772x250.jpg?
rev=2482740)

![](https://ps.w.org/default-attributes-for-woocommerce/assets/icon-256x256.png?
rev=2374957)

# Default Attributes for WooCommerce

 لەلایەن [Condless](https://profiles.wordpress.org/condless/)

[داگرتن](https://downloads.wordpress.org/plugin/default-attributes-for-woocommerce.1.2.1.zip)

 * [وردەکارییەکان](https://ku.wordpress.org/plugins/default-attributes-for-woocommerce/#description)
 * [پێداچوونەوەکان](https://ku.wordpress.org/plugins/default-attributes-for-woocommerce/#reviews)
 *  [دامەزراندن](https://ku.wordpress.org/plugins/default-attributes-for-woocommerce/#installation)
 * [گەشەپێدان](https://ku.wordpress.org/plugins/default-attributes-for-woocommerce/#developers)

 [پشتیوانی](https://wordpress.org/support/plugin/default-attributes-for-woocommerce/)

## وەسف

WooCommerce plugin that sets default attribute for variable products automatically
if only 1 option is in-stock.

[Documentation](https://en.condless.com/default-attributes-for-woocommerce/) | [Contact](https://en.condless.com/contact/)

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

 1. 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.

## سکرین شۆتەکان

 * [[
 * Default Attributes Plugin Settings
 * [[
 * Per Attribute Settings
 * [[
 * Product page default attribute

## دامەزراندن

#### Minimum Requirements

WordPress 5.2 or greater
 PHP 7.0 or greater WooCommerce 3.4 or greater

#### Automatic installation

 1. Go to your Dashboard => Plugins => Add new
 2. In the search form write: Condless
 3. When the search return the result, click on the Install Now button

#### Manual Installation

 1. Download the plugin from this page clicking on the Download button
 2. Go to your Dashboard => Plugins => Add new
 3. Now select Upload Plugin button
 4. Click on Select file button and select the file you just download
 5. Click on Install Now button and the Activate Plugin

## پهد

### 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.

## پێداچوونەوەکان

![](https://secure.gravatar.com/avatar/dc3d5cd8b22cc3c7c6b7a83a408f6919c2867186e3d4a0cb984e6cf2bb34f8ad?
s=60&d=retro&r=g)

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-10660/)󠁿

 [pantonio4586](https://profiles.wordpress.org/pantonio4586/) شوبات 5, 2025

Perfect!

![](https://secure.gravatar.com/avatar/b1a44f5dcb70d94404058a03e3c4ad5c16e862d2519709e40c31bb5f59a76e90?
s=60&d=retro&r=g)

### 󠀁[Perfect plugin! It resolved my Google Ads issue effortlessly.](https://wordpress.org/support/topic/perfect-plugin-it-resolved-my-google-ads-issue-effortlessly/)󠁿

 [chuckv](https://profiles.wordpress.org/chuckv/) كانونی دووه‌م 16, 2025

I was having issues with attributes for my Google ads that were connected to my 
woo commerce store. This plugin fixed the problem immediately.

![](https://secure.gravatar.com/avatar/f53e3c5ef9a242dee06591ed19bcf54a01d52a5da4277074c4d41e14e44ea3d6?
s=60&d=retro&r=g)

### 󠀁[Really handy and useful](https://wordpress.org/support/topic/really-handy-and-useful/)󠁿

 [khrisme](https://profiles.wordpress.org/khrisme/) ئایار 17, 2022

Really handy and useful, thanks a lot!

![](https://secure.gravatar.com/avatar/3c9a147ee162f7469f7c70febdd7bd6fe49982191c8346d873a0e4b29129f261?
s=60&d=retro&r=g)

### 󠀁[great excellent excellent useful](https://wordpress.org/support/topic/great-excellent-excellent-useful/)󠁿

 [mecha79400](https://profiles.wordpress.org/mecha79400/) نیسان 7, 2021

Very very useful Especially in last version. Responsive Support and professional
team that easily guide to object

 [ خوێندنەوەی 4 پێداچوونەوە ](https://wordpress.org/support/plugin/default-attributes-for-woocommerce/reviews/)

## بەشداربووان و گەشەپێدەران

“Default Attributes for WooCommerce” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی 
خوارەوە بەشدارییان تێدا کردووە.

بەشداربووان

 *   [ Condless ](https://profiles.wordpress.org/condless/)

“Default Attributes for WooCommerce” وەرگێڕدراوە بۆ 1 زمان. سوپاسی [وەرگێڕەکان](https://translate.wordpress.org/projects/wp-plugins/default-attributes-for-woocommerce/contributors)
دەکەین بۆ بەشداریکردنیان.

[“Default Attributes for WooCommerce” وەربگێڕە بۆ زمانەکەی خۆت.](https://translate.wordpress.org/projects/wp-plugins/default-attributes-for-woocommerce)

### دەتەوێت بەشداربیت لە گەشەپێدان؟

[گەڕان لە کۆدەکەدا بکە](https://plugins.trac.wordpress.org/browser/default-attributes-for-woocommerce/)،
سەیری [تەمارگەی (SVN)](https://plugins.svn.wordpress.org/default-attributes-for-woocommerce/)
بکە، یان بەشداربە لە [ڕووداوتۆماری گەشەپێدان](https://plugins.trac.wordpress.org/log/default-attributes-for-woocommerce/)
لە ڕێگەی [(RSS)](https://plugins.trac.wordpress.org/log/default-attributes-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## ڕووداوتۆمارگەریی گۆڕین

#### 1.2.1 – December 23, 2025

 * Enhancement – WordPress version compatibility

#### 1.2 – May 8, 2025

 * Enhancement – WordPress version compatibility

#### 1.1.9 – November 12, 2024

 * Enhancement – WordPress version compatibility

#### 1.1.8 – May 22, 2024

 * Enhancement – WooCommerce version compatibility

#### 1.1.7 – March 1, 2024

 * Enhancement – WordPress version compatibility

#### 1.1.6 – October 12, 2023

 * Enhancement – WooCommerce version compatibility

#### 1.1.5 – June 30, 2023

 * Enhancement – WooCommerce version compatibility

#### 1.1.4 – March 18, 2023

 * Enhancement – WooCommerce version compatibility

#### 1.1.3 – December 22, 2022

 * Enhancement – WooCommerce version compatibility

#### 1.1.2 – August 19, 2022

 * Enhancement – WooCommerce version compatibility

#### 1.1.1 – June 1, 2022

 * Dev – Filter hook to disable plugin’s cache

#### 1.1 – April 10, 2022

 * Enhancement – WooCommerce version compatibility

#### 1.0.9 – February 27, 2022

 * Enhancement – WooCommerce version compatibility

#### 1.0.8 – December 25, 2021

 * Enhancement – WooCommerce version compatibility

#### 1.0.7 – October 20, 2021

 * Enhancement – WooCommerce version compatibility

#### 1.0.6 – July 28, 2021

 * Dev – WP Compatibility

#### 1.0.5 – June 30, 2021

 * Dev – WP Compatibility

#### 1.0.4 – April 7, 2021

 * Feature – Filter products to apply

#### 1.0.3 – February 27, 2021

 * Feature – Global and local attributes compatibility

#### 1.0.2 – February 13, 2021

 * Feature – Filter transients expiration time

#### 1.0.1 – December 23, 2020

 * Feature – Default per attribute

#### 1.0 – August 29, 2020

 * Initial release

## مێتا

 *  وەشان **1.2.1**
 *  دوایین بەڕۆژکردنەوە **4 مانگ لەمەوبەر**
 *  دامەزراندنی چالاک **400+**
 *  وەشانی وۆردپرێس ** 5.2 یان بەرزتر **
 *  تاقیکراوەتەوە تا **6.9.4**
 *  وەشانی PHP ** 7.0 یان بەرزتر **
 *  زمانەکان
 * [English (US)](https://wordpress.org/plugins/default-attributes-for-woocommerce/)
   و [Hebrew](https://he.wordpress.org/plugins/default-attributes-for-woocommerce/).
 *  [وەریبگێڕە بۆ زمانەکەی خۆت](https://translate.wordpress.org/projects/wp-plugins/default-attributes-for-woocommerce)
 * تاگەکان
 * [attributes](https://ku.wordpress.org/plugins/tags/attributes/)[default](https://ku.wordpress.org/plugins/tags/default/)
   [stock](https://ku.wordpress.org/plugins/tags/stock/)[variations](https://ku.wordpress.org/plugins/tags/variations/)
 *  [بینینی پێشکەوتوو](https://ku.wordpress.org/plugins/default-attributes-for-woocommerce/advanced/)

## هەڵسەنگاندنەکان

 5 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/default-attributes-for-woocommerce/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/default-attributes-for-woocommerce/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/default-attributes-for-woocommerce/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/default-attributes-for-woocommerce/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/default-attributes-for-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/default-attributes-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/default-attributes-for-woocommerce/reviews/)

## بەشداربووان

 *   [ Condless ](https://profiles.wordpress.org/condless/)

## پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

 [بینینی مەکۆی پاڵپشتی](https://wordpress.org/support/plugin/default-attributes-for-woocommerce/)