View matcher reference¶
You can use the following matchers to match content views:
Identifier | Matches |
---|---|
Id\Content |
ID number of the Content item. |
Id\ContentType |
ID number of the Content Type that the Content item belongs to. |
Identifier\ContentType |
Identifier of the Content Type that the Content item belongs to. |
Id\ContentTypeGroup |
ID number of the group containing the Content Type that the Content item belongs to. |
Id\Location |
ID number of a Location. |
Id\LocationRemote |
Remote ID number of a Location. |
Id\ParentContentType |
ID number of the parent Content Type. |
Identifier\ParentContentType |
Identifier of the parent Content Type. |
Id\ParentLocation |
ID number of the parent Location. |
Id\Remote |
Remote ID of a Content item. |
Id\Section |
ID number of the Section that the Content item belongs to. |
Identifier\Section |
Identifier of the Section that the Content item belongs to. |
Depth |
Depth of the Location. The depth of a top level Location is 1. |
UrlAlias |
Virtual URL of the Location. |
ProductBased\AttributeValue |
Value of product attributes. |
ProductBased\ProductCode |
Product code. |
ProductBased\ProductType |
Product type. |
ProductBased\IsAvailable |
Product availability. |
ProductBased\IsProduct |
Whether the object is a product. |
Tip
You can also create custom view matchers.
Id\Content¶
Matches the ID number of a Content item.
1 2 |
|
Id\ContentType¶
Matches the ID number of a Content Type that the Content item belongs to.
1 2 |
|
Identifier\ContentType¶
Matches the identifier of the Content Type that the Content item belongs to.
1 2 |
|
Id\ContentTypeGroup¶
Matches the ID number of the Content Type Group that the Content item belongs to.
1 2 |
|
Id\Location¶
Matches the ID number of a Location. In the case of a Content item, matched against the main Location.
1 2 |
|
Id\LocationRemote¶
Matches the Remote ID number of a Location. In the case of a Content item, matched against the main Location.
1 2 |
|
Id\ParentContentType¶
Matches the ID number of the parent Content Type. In the case of a Content item, matched against the main Location.
1 2 |
|
Identifier\ParentContentType¶
Matches the identifier of the parent Content Type. In the case of a Content item, matched against the main Location.
1 2 |
|
Id\ParentLocation¶
Matches the ID number of the parent Location. In the case of a Content item, matched against the main Location.
1 2 |
|
Id\Remote¶
Matches the remote ID number of a Content item.
1 2 |
|
Id\Section¶
Matches the ID number of the Section that the Content item belongs to.
1 2 |
|
Identifier\Section¶
Matches the identifier of the Section that the Content item belongs to.
1 2 |
|
Depth¶
Matches the depth of the Location. The depth of a top level Location is 1.
1 2 |
|
UrlAlias¶
Matches the virtual URL of the Location. Matches when the URL alias of the Location starts with the value passed.
1 2 |
|
ProductBased\AttributeValue¶
Matches the value of product attributes.
1 2 |
|
ProductBased\ProductCode¶
Matches the product code.
1 2 |
|
ProductBased\ProductType¶
Matches the product type.
1 2 |
|
ProductBased\IsAvailable¶
Matches the availability of a product. Refers to the existence of availability, not to whether the product is in stock.
1 2 |
|
ProductBased\IsProduct¶
Matches when the object is a product.
1 2 |
|