Quote:
Originally Posted by PhilJ
Anyone wishing to display bestsellers in horizontal format... (not in side menu)
1) Adjust the bestseller module settings to disable the bestsellers in the menu.
2) Upload the attached bestsellers.tpl file to...
skin/smart_template/modules/Bestsellers
3) In modules/Bestsellers/bestsellers.php
Before...
Code:
$smarty->assign_by_ref('bestsellers', $bestsellers);
Insert...
Code:
# Get Bestseller Product Descriptions
foreach ($bestsellers as $k => $v) {
$bestsellers[$k]['descr'] = func_query_first_cell("select descr from $sql_tbl[products] where productid='$v[productid]'");
}
4) Clear template cache.
|
I cant seem to get the description to work in version 4.5, the description doesnt show up with this code, please can you help, thanks in advance