What's New
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
Thanks for the reply @yobo
No problem, i can modify the files again after upgrade.
Please, how can i add random order?
Thanks.
Hi,
1. Modify the /classes/Product.php file about line 2904:
Change ' . (isset($order_by_prefix) ? pSQL($order_by_prefix) . '.' : '') . pSQL($order_by) . ' ' . pSQL($order_way) . '
To RAND()
2. Modify the \modules\stspecialslider\stspecialslider.php file, add the following code:
public function hookDisplayHome($params, $func = '', $flag=0)
{
return parent::hookDisplayHome($params, false, $flag);
}
See attached screenshots.
Best regards.
You must be logged in to reply to this topic.