Title: Force Default Variant for WooCommerce
Author: HappyKite
Published: <strong>Ноябрь 24, 2015-ж.</strong>
Last modified: Сентябрь 5, 2025-ж.

---

Плагиндерди издөө

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

# Force Default Variant for WooCommerce

 Автору [HappyKite](https://profiles.wordpress.org/happykite/)

[Жүктөө](https://downloads.wordpress.org/plugin/force-default-variant-for-woocommerce.1.8.3.zip)

 * [Кенен маалымат](https://ky.wordpress.org/plugins/force-default-variant-for-woocommerce/#description)
 * [Сын-пикирлер](https://ky.wordpress.org/plugins/force-default-variant-for-woocommerce/#reviews)
 *  [Орнотуу](https://ky.wordpress.org/plugins/force-default-variant-for-woocommerce/#installation)
 * [Development](https://ky.wordpress.org/plugins/force-default-variant-for-woocommerce/#developers)

 [Колдоо](https://wordpress.org/support/plugin/force-default-variant-for-woocommerce/)

## Сүрөттөө

> Please Note – This plugin requires WooCommerce Version 2.4 or greater in order
> to properly function.

All WooCommerce variable products have a dropdown to select which variant the customer
wants to add to cart. The standard behaviour is to not set a default and until a
variant is chosen the ‘Add to Cart’ button is not visible.

This can cause confusion to customers coming to your site, which as a knock on affect
could cause a lower than average conversion rate.

You can solve this by manually setting a default option per product, but this can
be time consuming on sites with lots of products and also the user can still ‘clear’
the selection, causing the Add to Cart button to hide again.

This plugin aims to solve these issues by removing the blank ‘Choose an Option’ 
value from the dropdown, removing the link to clear the options and instead listing
out only the actual variants, always setting a default.

This default can be configured in multiple ways; the shop owner can choose to either
list the variant by Position, ID, Price Low -> High and Price High -> Low. If there
are multiple variants with the same Initial Sort (Price for example), you can now
assign a secondary sort function. These can be Position, ID, Stock Levels or Total
Sales.

This can all be changed via the WooCommerce -> Settings -> Product -> Variant menu.
If you have already set a default variant for each individual product, you can decide
to keep that, or use this plugin instead.

## Орнотуу

 1. Upload the folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to WooCommerce -> Settings -> Products -> Variant to choose how to display the
    Variations.

## FAQ.KG

### This plugin doesn’t do anything

Force Default Variant For WooCommerce is an extension of WooCommerce. Without at
least WooCommerce version 2.4 installed and active then there will be no need for
this plugin

### After activation I now get a Fatal Error where the Variant drop down should be?

This is due to an outdated version of WooCommerce. If you update to the most recent
version of WooCommerce your issue will be fixed.

### I can’t see the options

The options are within WooCommerce Settings. You can find it at the following location:
WooCommerce -> Settings -> Products -> Variant.

## Сын-пикирлер

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

### 󠀁[Brilliant! Works flawlessly and solves a BIG problem!](https://wordpress.org/support/topic/brilliant-works-flawlessly-and-solves-a-big-problem/)󠁿

 [wpress2010](https://profiles.wordpress.org/wpress2010/) Март 4, 2026-ж.

One major problem with WC, IMHO, is that Products with Variations are a pain to 
configure. With this little plugin, ALL of the headaches with having certain Product
variations appear as defaults just go away. All you have to do when setting up your
products is to decide how the “default” variation you want is handled by this plug:
I chose to make it the first variation in the list, but there are other ways to 
specify it. Just a great plugin in every respect!

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

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-9535/)󠁿

 [BobRebus](https://profiles.wordpress.org/bobrebus/) Март 11, 2025-ж.

Works great and it does what WP should allow by default. Thanks for creating this!

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

### 󠀁[Very Useful Plugin](https://wordpress.org/support/topic/very-useful-plugin-1500/)󠁿

 [aghalati](https://profiles.wordpress.org/aghalati/) Декабрь 21, 2023-ж.

thanks for such a good plugin

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

### 󠀁[Quickly set and ok everywhere](https://wordpress.org/support/topic/quickly-set-and-ok-everywhere/)󠁿

 [Ishko](https://profiles.wordpress.org/ishko/) Декабрь 14, 2022-ж.

Perfect ! Install, activate, choose a few options and you’re all done. Works perfectly
as described. Thanks to the developer !

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

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-2119/)󠁿

 [tanazius](https://profiles.wordpress.org/tanazius/) Октябрь 29, 2022-ж.

Straight-forward, easy to use. Recommended!

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

### 󠀁[Great job!](https://wordpress.org/support/topic/great-job-1234/)󠁿

 [Emmanouil](https://profiles.wordpress.org/manwlios/) Сентябрь 20, 2022-ж.

The plugin works as intented thanks a lot.

 [ Read all 21 reviews ](https://wordpress.org/support/plugin/force-default-variant-for-woocommerce/reviews/)

## Contributors & Developers

“Force Default Variant for WooCommerce” is open source software. The following people
have contributed to this plugin.

Мүчөлөрү

 *   [ HappyKite ](https://profiles.wordpress.org/happykite/)
 *   [ Mike Morrow ](https://profiles.wordpress.org/morrowmedia/)
 *   [ Phil Morrow ](https://profiles.wordpress.org/philmorrow/)
 *   [ obailey ](https://profiles.wordpress.org/obailey/)

“Force Default Variant for WooCommerce” has been translated into 1 locale. Thank
you to [the translators](https://translate.wordpress.org/projects/wp-plugins/force-default-variant-for-woocommerce/contributors)
for their contributions.

[Translate “Force Default Variant for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/force-default-variant-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/force-default-variant-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/force-default-variant-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/force-default-variant-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/force-default-variant-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Өзгөртүүлөр

#### 1.8.3 – 5th September 2025

 * UPDATE – Works with WooCommerce 10.2+
 * UPDATE – Branding Changes – Comply with WC Trademark.

#### 1.8.2 – 16th July 2025

 * FIX – WooCommerce 10.2 Version check fix.
 * UPDATE – Works with WordPress 6.8.2

#### 1.8.1 – 28th September 2024

 * NEW – Added Stock Count to the first Sort selection.
 * UPDATE – Works with WooCommerce 9.3.3
 * UPDATE – Works with WordPress 6.6.2

#### 1.8 – 27th October 2023

 * FIX – Issue with multiple attributes fixed
 * NEW – Tested and declared compatibility with WC HPOS
 * UPDATE – Works with WooCommerce 8.2.1
 * UPDATE – Works with WordPress 6.3.2

#### 1.7 – 24th March 2023

 * NEW – Adds the ability to order variations Alphabetically
 * FIX – Now requires WooCommerce to be active before activating
 * UPDATE – Works with WooCommerce 7.5+
 * UPDATE – Works with WordPress 6.1+
 * UPDATE – Works with PHP 8.1

#### 1.6.1 – 29th July 2022

 * FIX – Issue in 1.6 that caused Out of Stock variations to appear in WooCommerce
   Hide Out of Stock setting is ticked.

#### 1.6.0 – 1st July 2022

 * FIX – Sort by Position fixed – This will now correctly sort by the variation 
   order within the Variations tab on each Product page.
 * FIX – Sort by Position renamed – To reflect the fix above, this has also been
   renamed to ‘Variation Position’ to make it clearer.
 * NEW – Sort by Attribute Order now exists – This will sort by the Menu Order based
   on the variation Attributes.
 * UPDATE – Works with WooCommerce 6.6+
 * UPDATE – Work with WordPress 6.0+

#### 1.5.2

 * FIX – Will work properly with custom attributes
 * FIX – ‘Select Option’ toggle works properly with WooCommerce v4+
 * FIX – ‘Hide out of stock items’ now works properly with WooCommerce v4+
 * IMPROVEMENT – If all Variants are below your specified Stock Limit, this will
   display the correct WooCommerce ‘Out of Stock’ message.
 * UPDATE – Works with WooCommerce 4.1.1
 * UPDATE – Works with WordPress 5.4.1

#### 1.5.1

 * FIX – Now respects the ‘Hide out of stock items’ option within WooCommerce.
 * IMPROVEMENT – Improved the ability for external translations.
 * UPDATE – Tested up to WooCommerce 4.0+

#### 1.5

 * NEW – Added in a Secondary sort function. If products have the same price you
   can sort them again by Stock, Sales, ID or Position
 * IMPROVEMENT – Added in more Filters and hooks.
 * UPDATE – Tested up to WordPress 5.3
 * UPDATE – Tested up to WooCommerce 3.8

#### 1.4.3

 * NEW – Select Option will now be removed from all product dropdown by default.
 * NEW – Added new setting to toggle default ‘Select Option’ text
 * FIX – Notice in /includes/variations.php:170
 * FIX – Default selected option field being blank on page load due to missing JS
   classes.
 * UPDATE – Now works with WordPress 5.2 and above.

#### 1.4.2

 * NEW – Adding in the ability to sort by Variant Position
 * NEW – Added in Filters to make it easier to add your own sorting format.
 * NEW – Added filter to allow you to show/hide unavailable selections on multiple
   attributes.
 * FIX – If a Variant is disabled it will no longer appear on the list.
 * FIX – Takes note of Sale prices when reordering by Price.
 * FIX – Works with multiple attributes at once.
 * UPDATE – Now works with WordPress 5.1 and above.

#### 1.4.1

 * FIX – Fixed a fatal error when variation does not exist.
 * FIX – Fixed an error where type became unreadable.

#### 1.4

 * NEW – The Stock Status will be checked before the variant is selected. You will
   no longer have an out of stock Default Variant
 * NEW – Added the ability to set a minimum Stock Quantity limit if you manage stock
   manually.
 * NEW – Added the ability to keep manually set defaults on a site wide basis.
 * UPDATE – Now works with WooCommerce 3.5 and above.
 * UPDATE – Now works with WordPress 5.0 and above.

#### 1.3

 * UPDATE – Now works with WordPress 4.9 and above.
 * UPDATE – Now works with WooCommerce 3.3 and above.
 * UPDATE – Works with PHP 7.0 and above.

#### 1.2

 * UPDATE – Now works with WordPress 4.6.2
 * UPDATE – Now works with WooCommerce 2.6.4

#### 1.1.1

 * IMPROVEMENT – Removed ‘Choose an Option’ dropdown option.

#### 1.1

 * FIX – fixed Fatal Error on activation.

#### 1.0

 * UPDATE – Compatible with WordPress 4.4+
 * UPDATE – Compatible with WooCommerce 2.4+
 * IMPROVEMENT – Removed Templates and now using correct Functions/Filters for safer
   Updates

#### 0.1

 * Released Beta Version

## Мета

 *  Нуска **1.8.3**
 *  Акыркы жаңыртуу **8 ай мурун**
 *  Активдүү орнотуулар **3,000+**
 *  WordPress нускасы ** 4.2 же андан жогору **
 *  Tested up to **6.8.5**
 *  Тилдер
 * [English (US)](https://wordpress.org/plugins/force-default-variant-for-woocommerce/)
   жана .[Russian](https://ru.wordpress.org/plugins/force-default-variant-for-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/force-default-variant-for-woocommerce)
 * Тег:
 * [ecommerce](https://ky.wordpress.org/plugins/tags/ecommerce/)[Variable product](https://ky.wordpress.org/plugins/tags/variable-product/)
   [woocommerce](https://ky.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://ky.wordpress.org/plugins/force-default-variant-for-woocommerce/advanced/)

## Рейтинг

 4.8 out of 5 stars.

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

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

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

## Мүчөлөрү

 *   [ HappyKite ](https://profiles.wordpress.org/happykite/)
 *   [ Mike Morrow ](https://profiles.wordpress.org/morrowmedia/)
 *   [ Phil Morrow ](https://profiles.wordpress.org/philmorrow/)
 *   [ obailey ](https://profiles.wordpress.org/obailey/)

## Колдоо

Комментарийлер барбы? Жардам керекпи?

 [Колдоо форумун көрүү](https://wordpress.org/support/plugin/force-default-variant-for-woocommerce/)