Category Info Tags

 

Avactis Info Tags are the most basic kind of tag. Info tags display product attributes, category attributes, links and so on. They usually display only one link, attribute or image at a time.

All info-tags mentioned below are "global" tags. This means they can be called from anywhere on the website: any site page or any template of any block-tag.

All of the info tags currently available in Avactis Shopping Cart software are listed below:

Category Info Tag

Category Info Tag Description

<?php CategoryID() ?>

The category ID.

<?php CategoryName(); ?>

The category name.

<?php CategoryDescription(); ?>

The category description.

<?php CategoryLargeImage(); ?>

The full <img> HTML tag including image size and alternate text.

<?php CategoryLargeImageSrc(); ?>

Only the image source path. The tag can be inserted into an <img> HTML tag.

<?php CategoryLargeImageWidth(); ?>

The image width in pixels. The tag can be inserted into an <img> HTML tag.

<?php CategoryLargeImageHeight(); ?>

The image height in pixels. The tag can be inserted into an <img> HTML tag.

<?php CategorySmallImage(); ?>

The full <img> HTML tag including image size and alternate text.

<?php CategorySmallImageSrc(); ?>

Only the image source path. The tag can be inserted into an <img> HTML tag.

<?php CategorySmallImageWidth(); ?>

The image width in pixels. The tag can be inserted into an <img> HTML tag.

<?php CategorySmallImageHeight(); ?>

The image height in pixels. The tag can be inserted into an <img> HTML tag.

<?php CategoryImageAltText(); ?>

The alternate text for the image. The tag can be inserted into an <img> HTML tag.

<?php CategoryPageTitle(); ?>

The text specified for Page Title on the category creation page. The tag can be inserted into a <title> HTML tag to specify the title of a site page.

<?php CategoryMetaKeywords(); ?>

The text specified for Meta Keywords on the category creation page. The tag can be inserted into a <meta> HTML tag of a site page.

<?php CategoryMetaDescription(); ?>

The text specified for Meta Description on the category creation page. The tag can be inserted into a <meta> HTML tag of a site page.

<?php CategoryProductsNumber(); ?>

The number of products in a category.

<?php CategoryProductsNumberRecursively(); ?>

The number of products in a category and all its subcategories.

<?php CategorySubcategoriesNumber(); ?>

The number of subcategories in a category.

<?php CategoryLink(); ?>

The category's URL. The tag outputs a URL which links to the product list page that is specified in section [ProductList] in the file storefront-layout.ini. The tag can be used in HTML tag <A> for creating a hyperlink. Clicking this link brings up the list of products in the selected category.


  © 2004-2011 Pentasoft Corp. Corp. All Rights Reserved.