Title: Dynamic Product Titles for Variant Options
Author: Samuel Speed
Published: <strong>2021 年 2 月 3 日</strong>
Last modified: 2021 年 2 月 3 日

---

搜索插件

![](https://ps.w.org/dynamic-product-titles-for-variant-options/assets/banner-772x250.
jpg?rev=2467937)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/dynamic-product-titles-for-variant-options/assets/icon-256x256.
jpg?rev=2467937)

# Dynamic Product Titles for Variant Options

 作者：[Samuel Speed](https://profiles.wordpress.org/samuelspeed/)

[下载](https://downloads.wordpress.org/plugin/dynamic-product-titles-for-variant-options.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/dynamic-product-titles-for-variant-options/#description)
 * [评价](https://cn.wordpress.org/plugins/dynamic-product-titles-for-variant-options/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/dynamic-product-titles-for-variant-options/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/dynamic-product-titles-for-variant-options/#developers)

 [支持](https://wordpress.org/support/plugin/dynamic-product-titles-for-variant-options/)

## 描述

This is a simple plugin that when ‘active’, will allow users on your site to dynamically
change a variant product title on the product page to show the selected variant 
option name at the end of the default title.

### Key Features

 * Once active, the plugin will automatically apply its magic to all product titles
   across your site.
 * Simple products appear as default (un-changed).
 * Variant products now change their titles based on the variant option selected
   and adds the attribute name to the end.

### Example Use

‘ProductA’ which has the attribute ‘Colour’ with ‘Blue’ and ‘Red’ as options, would
see a default title of: ‘ProductA’, but when the first variant option is selected,
the title would change to ‘ProductA – Blue’, and when the second variant option 
is selected, the title would change to ‘ProductA – Red’.

Note: If the default value is selected again after a variant has already been selected,
the default title will again be used.

## 屏幕截图

[⌊Simple products as well as variant products without an option selected will show
the default product title.⌉⌊Simple products as well as variant products without 
an option selected will show the default product title.⌉[

Simple products as well as variant products without an option selected will show
the default product title.

[⌊Once a variant option has been selected, the product title will dynamically add
the selected varaint option attribute value/s to the end.⌉⌊Once a variant option
has been selected, the product title will dynamically add the selected varaint option
attribute value/s to the end.⌉[

Once a variant option has been selected, the product title will dynamically add 
the selected varaint option attribute value/s to the end.

[⌊Changing varaint options will continue to change the product title shown.⌉⌊Changing
varaint options will continue to change the product title shown.⌉[

Changing varaint options will continue to change the product title shown.

## 安装

 1. Upload the entire ‘dynamic-product-titles-for-variant-options’ folder to the ‘/
    wp-content/plugins/’ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. **That’s it** – The plugin should now be working on your site!

## 常见问题

### Does this plugin support more than one attribute per variant option?

Yes.

At present, the default divider used between the product title and the variant option/
s is ‘ – ‘, to give a result along the lines of ‘ProductA – Red’.

This is the default behaviour in order to support multi-attribute varaints, for 
example ‘ProductA – Red – Large’.

In future versions, I would like to add the ability for this value to be changed
to better cater to users needs: for example changing it to ‘ in ‘ would work better
when using colours, e.g. ‘ProductA in Red’, but would not currently be a good default
as it would give odd results such as ‘ProductA in Red in Large’.

### Will there be any updates in the future?

Yes, if enough people show interest in this plugin then. Support for the plugin 
will be based on the demand for support.

### Where can I give feedback/request new features?

If you’d like to leave us any feedback or have some suggestions for new features,
please email network@umbrellatrading.co.uk

## 评价

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

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

 [anarad](https://profiles.wordpress.org/anarad/) 2023 年 4 月 17 日

Work like a charm -:) Thank you.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/dynamic-product-titles-for-variant-options/reviews/)

## 贡献者及开发者

「Dynamic Product Titles for Variant Options」是开源软件。 以下人员对此插件做出了
贡献。

贡献者

 *   [ Samuel Speed ](https://profiles.wordpress.org/samuelspeed/)

[帮助将「Dynamic Product Titles for Variant Options」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/dynamic-product-titles-for-variant-options)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/dynamic-product-titles-for-variant-options/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/dynamic-product-titles-for-variant-options/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/dynamic-product-titles-for-variant-options/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/dynamic-product-titles-for-variant-options/)。

## 更新日志

#### 1.0.1

 * FIX – Updated ‘readme.txt’ – Only missing a screenshot section now.
 * FIX – Updated all function, define, class and namespace names used in the code
   to meet with WordPress plugin guidelines and prevent conflict issues with the
   core WordPress system and all other plugins and themes.
 * DEV – Removed unused code from plugin files.

#### 1.0.0

 * DEV – Plugin Released

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**6 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 5.3 或更高版本 **
 *  已测试的最高版本为 **5.6.22**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/dynamic-product-titles-for-variant-options/)
 * 标签
 * [product](https://cn.wordpress.org/plugins/tags/product/)[title](https://cn.wordpress.org/plugins/tags/title/)
   [variant](https://cn.wordpress.org/plugins/tags/variant/)[variation](https://cn.wordpress.org/plugins/tags/variation/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/dynamic-product-titles-for-variant-options/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/dynamic-product-titles-for-variant-options/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/dynamic-product-titles-for-variant-options/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/dynamic-product-titles-for-variant-options/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/dynamic-product-titles-for-variant-options/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/dynamic-product-titles-for-variant-options/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/dynamic-product-titles-for-variant-options/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/dynamic-product-titles-for-variant-options/reviews/)

## 贡献者

 *   [ Samuel Speed ](https://profiles.wordpress.org/samuelspeed/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/dynamic-product-titles-for-variant-options/)