跳到内容

Dynamic Product Titles for Variant Options

v1.0.1

Samuel Speed · 2021年2月3日 上架

Dynamically change a variant product title on the product page to show the selected variant option name at the end of the default title.

正在使用
20+
评分
5.0 / 5
累计下载
1,771
最近更新
2021年2月3日
1 条评价需要 WordPress 5.3+已测试到 5.6.24PHP 7.0+

贡献者

截图

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.
Changing varaint options will continue to change the product title shown.
Changing varaint options will continue to change the product title shown.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums