E: sales@storesprite.com

Function Guide: getFeaturedProduct();

Displays products that are defined as featured in the product editor.

The calling function is portable and customisable. You can choose where to locate the function and also the number of featured items to display.

The calling function will pull featured products across the whole site and by category if a category id is present.

The number input on the function tells it how many featured items to return.

Default file location: templates/defaultfooter.php
Tplate File: featuredProduct.html
Type: Looping (?)
Required: Optional
(?)
Portable: Yes
(?)

Tag Name / Code Details
{PRODUCT-ADDTOBASKET} Returns form action for update of account details
{PRODUCT-ADDTOBASKET} Returns form action url for adding item to basket
{PRODUCT-LINK} Returns link to product display page
{PRODUCT-THUMBIMAGE} Returns thumbnail image of product
{PRODUCT-NAME} Returns the product name
{QTY} Returns qty input box
{PRODUCT-OPTIONSPRICES} Returns price or drop down of options if applicable to product
{PRICE-SINGLE} Returns single price (if you want to hide options)