So, I try to edit the file 'catalog / controller / product / special.php' on the filter_data array to be like:
Code: Select all
//todo other checks here
$cid= (int)$this->request->get['cid'];
$filter_data = array(
'filter_category_id' => $cid, //1234
'filter_sub_category' => false,
'sort' => $sort,
...
I tried instead of 'filter_category_id' to use 'category', 'category_id' and others with no result. Also tried to set 'filter_sub_category' => true. I confirmed that I can see changes in the page by manually changing the limit.
If possible please provide me with the getProductSpecials() documentation or something similar because I couldn't find anything in the official page.
I have to say before anyone else does: yes, I always cleared cache between tries and yes, I will create an appropriate vQmod with appropriate checks when I successfully deal with this.