item_specifics
Lists all item specifics
Example
[%item_specifics id:'[@sku@]'%]
[%param *body%]
<p id="[@itmspec_id@]-[@itmspecval_id@]"> [@itmspec_name@] : [@itmspecval_value@] </p>
[%/param%]
[%/item_specifics%]
Usage
The item_specifics tag will generate a list of specifics and specifics values of a given product. The specific refers to the "type" of specific, such as colour or size. Value indicates the value of that specific, so a value for colour may be "red" or a value for size may be "large".
Parameters
Name | Options | Description |
---|---|---|
id:'' | String | The SKU you want to query for the available specifics and values |
name:'' | String | Filters the results by specific name |
*header | HTML & b@se tags | Renders a single usable space above the variation options |
*body | HTML & b@se tags | Renders an array for each result |
*footer | HTML & b@se tags | Renders a single usable space below the variation options |
Data Tags (body)
Data Tag | Specific Field | Example | Description |
---|---|---|---|
`[@count@]` | – | 0 | Unique value for each displayed specific starting with **0** |
`[@itmspec_id@]` | – | 51 | The unique ID for the item specific |
`[@itmspec_name@]` | Name | Flavour | The name of the specific |
`[@itmspecval_desc@]` | Internal Description | Natural flavour | Internal description for the value |
`[@itmspecval_id@]` | – | 960 | The unique ID for the item value |
`[@itmspecval_swatch@]` | Swatch Hex Code | #ffff00 | A swatch colour hex code |
`[@itmspecval_value@]` | Value | Banana | The name of the specific value |