Category Attributes
The following table includes the eligible fields for the category record type and the corresponding attribute to use in your tag. Attributes are not case-sensitive. For example, you could use the Attribute tag to expose the canonical URL for a particular category:
<%=getAttribute('sitecategory',7,'canonicalurl')%>
Field Name |
Attribute |
Notes |
---|---|---|
Canonical URL |
canonicalurl |
|
Category Image |
categorythumbnailhtml |
Returns the image at the size you set for Category Thumbnails on the Image Resizing Page. |
Detailed Description |
storedetaileddescription |
|
Inactive |
|
|
Internal ID |
internalid |
|
Item/Category Display Image |
storedisplayimagehtml |
|
Item/Category Display Image (returns URL only) |
storedisplayimage |
|
Item/Category Display Thumbnail |
storedisplaythumbnailhtml storeDisplayThumbnailHtml-URL |
Use storeDisplayThumbnailHtml-URL to access the URL of the image file. |
Item/Category Display Thumbnail (returns URL only)” |
storedisplaythumbnail |
|
Item Name/Number |
itemid |
Returns the value in the Category field on category records. |
Search Keywords |
searchkeywords |
|
URL Component |
urlcomponent |
|
Description |
description |
|
Description (Opt 2) |
description2 |
If the Category Description is empty, this attribute returns the value for Category Name. |
Meta Tag HTML |
metataghtml |
|
Page Title |
pagetitle |
|
Parent Category |
parentcategory |
|
store page |
storepagehtml |
HTML to for the entire page |