我有一个Woocommerce商店,我正在尝试添加全球产品属性 . 我们销售儿童服装,用户可以选择面料(产品属性) .

Some context to the issue I'm looking to solve:

  • 面料选择有三种全球产品属性(棉质,平针织物,毛衣) .

  • 每个产品仅使用其中一个结构属性 .

  • 每个全局产品属性中的术语会在相当规律的基础上发生变化,因为新的面料进入范围而其他面料退出该范围 .

The issue:

每次我在其中一个全局产品属性中添加新术语时,我都必须浏览使用该属性的每个产品,并为该特定产品添加新术语 .

In this image I've added a new attribute term called 'Something else' but I'm having to manually go and add it to the attributes of every single product that uses that list.

What I'd like to happen:

每当我从这三个产品全局属性中添加新术语或删除现有术语时,系统会自动为使用该全局产品属性作为变体的任何产品显示它们 .

为了尝试以另一种方式解释,我想在此处使用此全局产品属性:

例如

Every time I add a new term to this global product attribute...

...I'd like it to automatically appear on every product that uses that attribute list.

我应该补充一下,选择面料不会影响价格 .

我很高兴在函数中添加一些代码,或安装插件来实现这一目标 .

感谢任何帮助!