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)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的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://cn.wordpress.org/plugins/force-default-variable/#description)
 * [评价](https://cn.wordpress.org/plugins/force-default-variable/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/force-default-variable/#installation)
 * [开发进展](https://cn.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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「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

## 额外信息

 *  版本 **1.0**
 *  最后更新：**4 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **6.0.12**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/force-default-variable/)
 * 标签
 * [ecommerce](https://cn.wordpress.org/plugins/tags/ecommerce/)[Variable product](https://cn.wordpress.org/plugins/tags/variable-product/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)[woocommerce variable](https://cn.wordpress.org/plugins/tags/woocommerce-variable/)
 *  [高级视图](https://cn.wordpress.org/plugins/force-default-variable/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](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/)