Product Info Tags

 

Product Info Tags

Product Info Tag

Product Info Tag Description

<?php ProductID(); ?>

The product ID.

<?php ProductTypeID(); ?>

The product type ID for the specified product.

<?php ProductTypeName(); ?>

The product type name for the specified product.

<?php ProductUpdated(); ?>

The date of the last product update.

<?php ProductAdded(); ?>

The date the product was added to the catalog.

<?php ProductName(); ?>

The product name.

<?php ProductSalePrice(); ?>

The product sale price. The product is sold to customers at this price.

<?php ProductListPrice(); ?>

The product list price. The list price is not used for sales and purchases.

<?php ProductQuantityInStock(); ?>

The stock quantity for the product.

<?php ProductSKU(); ?>

The product SKU.

<?php ProductMinQuantity(); ?>

The minimum allowed quantity of the product that can be purchased.

<?php ProductLowStockLevel(); ?>

The minimum allowed product quantity in stock. Once the product stock level reaches this figure, notifications of low stock levels are e-mailed to the administrator on a regular basis.

<?php ProductAvailable(); ?>

"Yes" if the product is available for purchase, otherwise "No".

<?php ProductTaxClass(); ?>

The product tax class name.

<?php ProductLargeImage(); ?>

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

<?php ProductLargeImageSrc(); ?>

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

<?php ProductLargeImageWidth(); ?>

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

<?php ProductLargeImageHeight(); ?>

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

<?php ProductSmallImage(); ?>

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

<?php ProductSmallImageSrc(); ?>

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

<?php ProductSmallImageWidth(); ?>

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

<?php ProductSmallImageHeight(); ?>

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

<?php ProductImageAltText(); ?>

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

<?php ProductShortDescription(); ?>

The short product description.

<?php ProductDetailedDescription(); ?>

The full product description.

<?php ProductPerItemShippingCost(); ?>

The shipping cost of the product (per item shipping cost), which is specified on the product creation page.

<?php ProductPerItemHandlingCost(); ?>

The handling cost of the product (per item handling cost), which is specified on the product creation page.

<?php ProductWeight(); ?>

The weight of the product.

<?php ProductFreeShipping(); ?>

Defines whether the product is free shipping.

<?php ProductPageTitle(); ?>

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

<?php ProductMetaKeywords(); ?>

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

<?php ProductMetaDescription(); ?>

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

<?php ProductInfoLink(); ?>

Outputs the URL of the detailed product description page. This URL can be used in HTML tag <A> for creating a link. Clicking this URL brings up a page with the descriptions of products. The page to which the URL links is specified in section [ProductInfo] in the configuration file storefront-layout.ini.

<?php ProductBuyLink(); ?>

The URL of the page displaying the customer's current shopping cart. The product is added to the cart. This URL can be used in HTML tag <A> for creating a link to customer's current shopping cart and simultaneously adding the product to the cart. The page to which the URL links is specified in section [Cart] in the configuration file storefront-layout.ini.

<?php ProductCategoryLink(); ?>

Outputs the URL of the list of products in the category of the current product. Can be used in HTML tag <A> for creating a link. The page to which the URL links is specified in section [ProductList] in the layout file (storefront-layout.ini). The look of the URL is affected by SEO URL settings.

If you wish to output a link to the current category when the current product is unknown, use the <?php CategoryLink(); ?> tag instead.

<?php Product*Custom (); ?>

The value of a custom attribute. Replace the asterisk * with the name of the custom attribute. Custom attributes are created within the product type.

For example if you have the product with the ISBN custom attribute, you can output it using this code: 
<?php ProductIsbnCustom (); ?>

<?php ProductOptionsWarnings(); ?>

Displays any warning messages regarding product options, for example, when the selected option combination is not available.

<?php ProductReviewsNumber(); ?>

The number of reviews for the current product.

<?php ProductReviewsAverageRating(); ?>

The average numeric rating value (the sum of all customer rates) for the current product.

<?php ProductReviewsLink(); ?>

The URL to the customer review page for the current product.

<?php ProductRating(); ?>

The average rating value (the sum of all customer rates) for the current product.

See also Product Block Tags


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