Brand
Brand loop lists brands defined in your shop.
{loop type="brand" name="the-loop-name" [argument="value"], [...]}
Arguments
| Argument | Description | Default | Example |
|---|---|---|---|
| current | A boolean value which allows either to exclude current brand from results, or match only this brand | current="yes" | |
| exclude | A list of brand IDs to exclude from selection when running the loop | ||
| id | A single or a list of brand ids. | id="2", id="1,4,7" | |
| order | A list of values Expected values | alpha | order="random" |
| product | A single product id. | product="2" | |
| title | A title string | title="foo" | |
| visible | A boolean value. | yes | visible="no" |
| with_prev_next_info | A boolean. If set to true, $PREVIOUS and $NEXT output arguments are available. | false | with_prev_next_info="yes" |
Plus the global arguments and search arguments
Outputs
| Variable | Value | If with_prev_next_info='true' | If with_prev_next_info='false' |
|---|---|---|---|
| $CHAPO | the brand chapo | ✅ | ✅ |
| $DESCRIPTION | the brand description | ✅ |