Title: Force Default Variable
Author: Mehran Yavari
Published: <strong>2022年6月2日</strong>
Last modified: 2022年6月2日

---

搜尋外掛

![](https://ps.w.org/force-default-variable/assets/banner-772×250.png?rev=2736499)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/force-default-variable/assets/icon-256×256.png?rev=2736499)

# Force Default Variable

 由[Mehran Yavari](https://profiles.wordpress.org/mehranyavari/)

[下載](https://downloads.wordpress.org/plugin/force-default-variable.zip)

 * [詳情](https://zh-hk.wordpress.org/plugins/force-default-variable/#description)
 * [評價](https://zh-hk.wordpress.org/plugins/force-default-variable/#reviews)
 *  [安裝](https://zh-hk.wordpress.org/plugins/force-default-variable/#installation)
 * [開發](https://zh-hk.wordpress.org/plugins/force-default-variable/#developers)

 [支援](https://wordpress.org/support/plugin/force-default-variable/)

## 描述

The main purpose of this plugin is to help increase the sales of your online store.

This plugin helps you in two ways:
 1. When you set the default variable for the
product and now that default variable is out of stock. 2. When you do not set a 
default for all or some of the variable products.

In the first case, it helps you to never have the default variable out of stock.

The second case helps you to automatically set a default variable for products with
different modes (lower price variable, higher price variable, position-based, ID-
based) for products.

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

## 螢幕截圖

[⌊Plugin settings - English⌉⌊Plugin settings - English⌉[

Plugin settings – English

[⌊Plugin settings - Persian⌉⌊Plugin settings - Persian⌉[

Plugin settings – Persian

## 安裝

 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 -> Default Variable to choose how to display the 
    Variations.

## 常見問題

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

### I can’t see the options

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

## 評價

There are no reviews for this plugin.

## 貢獻者及開發者

“Force Default Variable” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

 *   [ Mehran Yavari ](https://profiles.wordpress.org/mehranyavari/)
 *   [ Hadi Zadeshir ](https://profiles.wordpress.org/matrixi/)

[將 Force Default Variable 外掛本地化為台灣繁體中文版。](https://translate.wordpress.org/projects/wp-plugins/force-default-variable)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/force-default-variable/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/force-default-variable/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/force-default-variable/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/force-default-variable/)。

## 修改日誌

#### 1.0

 * Released First Version

## 其它

 *  Version **1.0**
 *  Last updated **4 年之前**
 *  Active installations **10+**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **6.0.12**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/force-default-variable/)
 * Tags
 * [ecommerce](https://zh-hk.wordpress.org/plugins/tags/ecommerce/)[Variable product](https://zh-hk.wordpress.org/plugins/tags/variable-product/)
   [woocommerce](https://zh-hk.wordpress.org/plugins/tags/woocommerce/)[woocommerce variable](https://zh-hk.wordpress.org/plugins/tags/woocommerce-variable/)
 *  [進階顯示](https://zh-hk.wordpress.org/plugins/force-default-variable/advanced/)

## 評分

No reviews have been submitted yet.

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

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

## 貢獻者

 *   [ Mehran Yavari ](https://profiles.wordpress.org/mehranyavari/)
 *   [ Hadi Zadeshir ](https://profiles.wordpress.org/matrixi/)

## 支援

有話想說？需要協助？

 [檢視支援論壇](https://wordpress.org/support/plugin/force-default-variable/)