Labels module - product sorting

10.04.2013 16:09
#1
kogtehvost
Joomshopping forum user no avatar
Name: Vadim
16.03.2013
Posts: 3
Quote
Labels module - product order

How can I make products in "Label" module sort by date, descending? I need to show only 3 products labeled "New", and the last added must me first in a row.
Thank you!


Joomla: 2.5.9
JoomShopping: 3.14.0

Letzte Ă„nderung: 10.04.2013 16:11
 
10.04.2013 20:04
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16480
Quote
Aw: Labels module - product sorting

change code
components\com_jshopping\tables\product.php

function getProductLabel()
...
$order_query = "ORDER BY prod.product_id desc";

 
Copyrights MAXXmarketing GmbH. All Rights Reserved