Hi,
Is there any way that I could make the specials products changes everytime the when the page is refreshed?
Currently the specials products is fixed, it would be great if its possible to make it random changes everytime when the page is refreshed. please help.
|
|
Hi,
you can try this:
open catalog/model/catalog/product.php , and GoTo line 179, which should countain:
$sort_data = array(
and add this on the next row:
'RAND()',
Then open catalog/controller/module/special.php , GoTo line 17, which should contain:
'sort' => 'pd.name',
and change it to:
'sort' => 'RAND()',
See if this works for you.
Regards,
ThemeBurn team
|
|
Hay, it works. Thank you so much. you guys are awesome. keep up the good work.
Regards
Steven
|
|
Glad, we’ve helped, Steven
Best,
ThemeBurn team
|
|