官术网_书友最值得收藏!

Attributes

To be able to select what you want in a product, WooCommerce has to know what the options are. These options are called attributes and they can be found in Product data | Attributes:

There are two types of attributes:

  • Custom product attribute
  • Global attribute

Functionally speaking, they're almost identical. The biggest difference is that global attributes can be reused between products where custom product attributes have to be created for each product, which means a lot less typing on your end. 

Another difference is that global product attributes can be used for filtering. So, if you have filters on the shop page to help users to navigate your products, you can filter by specific attributes and this can only be done with global product attributes. If you have a product with unique attributes that no other product will have, then it's convenient to use the custom product attributes:

  1. Let's add a global product attribute under Products | Attributes.
  2. Add a Name for the attribute. The attribute is the name of the categorization, for example, colours, sizes, and cuts—not red, small, or v-neck:

  1. Then, click on Configure terms. This will let you configure individual values.
  2. Now, go ahead and add your values, for example, Red, Blue, and Green:

Now, let's take a look at variations for the products.

主站蜘蛛池模板: 荣成市| 德清县| 茂名市| 怀化市| 明光市| 隆安县| 白河县| 河曲县| 长沙市| 五指山市| 屏东县| 固阳县| 明溪县| 盐津县| 昌都县| 旬邑县| 阿拉善右旗| 德阳市| 湾仔区| 玉田县| 东阿县| 连州市| 罗山县| 蛟河市| 绥化市| 离岛区| 始兴县| 双牌县| 衢州市| 巴马| 东莞市| 徐州市| 临夏市| 理塘县| 南安市| 大悟县| 克东县| 镇远县| 浮梁县| 旬阳县| 山西省|