selectselectselect
Call our Sales Hotline
0844 858 8580
User Guides

Recordcount

ekmTags: [ekm:recordcount]

This is used to display a count of your products and categories.

Basic Usage
[ekm:recordcount]
    data='products';
    location='auto';
[/ekm:recordcount]


data can be set to categories or products


Example Useage
18 products in this category

Tag Parameters

data
Allows to you specify the type of data to count. This can be categories or products if your within a category.
Possible Values
categories Outputs Category Count
products Outputs Product Count


location
Allows to you specify the location where you want to get the data to output from. This is a category location ID, so for example you may have a category within your shop with an ID of 5. If you wanted to output this categories contents you would set the location to 5.

Category ID's are found by looking at the url in the address bar...

    index.asp?function=DISPLAYCAT&catid=10 

So in this example the category ID would be 10.

In most cases this value should be set to auto which will ensure it uses the current location data.

Possible Values
auto Uses the current location
User Defined The ID number of the category you wish to use. 0 is the main page top level.


« Back