The product parameters are similar to the article parameters. Let's take the product parameters as an example to explain how to add the product parameters. There are three steps:
1. Add new parameter
Find the product parameters in the background function, click in View Function to add new parameters, and fill in the following options:
a. Parameter Name: you can fill in the product model, product color, product specification, product type, etc. according to the actual situation. For example, I fill in: product model
b. Parameter field: it can be left blank. If not, it is the first letter of the parameter name. For example, the parameter field of the product model is cpxh
c. Must: if Yes is selected, the product can be published only after the parameter is filled in. Otherwise, the product can be published without filling in this parameter
d. Data Type: filled in according to the actual situation. Single line text is used most. Note that when selecting multiple selection boxes, each option occupies the position of a line, and use the enter key to wrap the line
e. Data length: fill in according to the actual situation, generally the default is enough
f. Default value: it can be left blank. If it is filled in, fill in the common value
![1562310249537749.png 0.png](/faq/uploads/images/20190705/1562310249537749.png)
2. Fill in parameters when publishing content
When releasing the product, fill in the added parameters under the title, i.e. the product name: Home Page ->Product Content ->Release ->Fill in the parameters![1562310304931412.png 0.png](/faq/uploads/images/20190705/1562310304931412.png)
3. Call parameters
There are two cases of calling parameters. Generally, the product parameters are called on the product details page info_product.swan.
a. If the parameter appears in the loop, the calling method is: {{item. parameter field}}, and the calling of the above product model is: {{item. cpxh}}
b. If the parameter is on the product detail page but does not appear in the loop, the calling method is: {{info. parameter field}}}, and the calling of the above product model is: {{info. cpxh}}
![1562310368853440.png 0 (1).png](/faq/uploads/images/20190705/1562310368853440.png)
This article is written by Fuwei SEO Special Training Camp Edit and organize.
Search outside and focus SEO training And Saas service solutions around SEO. Over the past 10 years, more than 50000 students have gained technical improvement and contacts here.
SEO courses include mobile search, zero foundation station building, group station SEO thinking, Sowai 6 system, introduction to SEM, etc.
The registration time for Class B 190 is from May 15 to May 31. Please add enrollment customer service Xiaomo WeChat: seowy2021.
WeChat code scanning to add customer service personnel
Our goal is to make it easy for non-technical personnel to learn Internet technology.