A newbie here... so please be nice !!:)
Is it possible to have more than 6 featured retailers... ?
Thanks in advance !
Wizmark
Yes you can:
It's been a while since I've done this, but I believe you'll have to change this value in:
/includes/classes/class.api_featured_merchants.php
var $iLimit= 6; // the number of merchants to be returned
....Change the 6 to the maximum you require.
*Also*
As you can specify number of featured merchants returned for category returns and searches, you'll have to change:
Category:
/includes/classes/class.page_category.php
function pageCategory($sProdSort, $iProdLimit=30, $iProdOffset=0, $bProdSubCats=true, $iFeatureLimit=6, $bTreeEmptyCats=false, $bTreeEmptySubCats=false)
{
# setup the page objects
if ( strlen($sProdSort)>0 ) $this->sProdSort = $sProdSort; else $this->sProdSort='popular';
if ( is_numeric($iProdLimit) ) $this->iProdLimit = $iProdLimit; else $this->iProdLimit=30;
if ( is_numeric($iProdOffset) ) $this->iProdOffset = $iProdOffset; else $this->iProdOffset=0;
if ( is_numeric($iFeatureLimit) ) $this->iFeatureLimit = $iFeatureLimit; else $this->iFeatureLimit=6;
....change the two iFeatureLimit=6 to what value you require.
Search:
includes/classes/class.page_search.php
var $iFeaturedMerchantsLimit= 6;
....change the $iFeaturedMerchantsLimit=6 to what value you require.
That should do it.
Hope that helps.
Bud
Brilliant !
Thanks very much...:)