Latest Products Module
Posted: Mon Feb 23, 2015 9:13 pm
Can someone please explain how OC determines what is displayed in Latest Products module? Is there any way this can be user defined?
Regards
Regards
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
catalog\controller\module\latest.phptthoma wrote:Can someone please explain how OC determines what is displayed in Latest Products module? Is there any way this can be user defined?
Regards
Code: Select all
$filter_data = array(
'sort' => 'p.date_added',
'order' => 'DESC',
'start' => 0,
'limit' => $setting['limit']
);
$results = $this->model_catalog_product->getProducts($filter_data);