There is a neat option to re-order products in a category.
It would also be very useful to have a simple alpha sort.
Where I have many products in each category new products are added at the end - it is very tedious to re-sort by the method offered so a simple "sort alphabetically" would make a great deal of sense and make my life much easier!!
8thSinCoffee
26 Sep 2007 12:25 PM
I have to customize every installation. One of my 'to-do' items is always to make the following change so that the products are always in alpha order, regardless of how they're entered into the system.
To get products in name order always, edit block_products_list.php and
change these lines
$sql .= " ORDER BY i.item_order "; to
$sql .= " ORDER BY i.item_name "; <<<<< this is on line 273 in release 3.2
I then disable the customer's selection of how to reorder.
SajMalik
26 Sep 2007 1:47 PM
Thank you 8thSinCoffee.
SajMalik
26 Sep 2007 5:42 PM
Made the change and ... it works (line 237 btw) except that it is sorting backwards
SajMalik
26 Sep 2007 5:51 PM
What actually seems to happen is that newly added products are inserted properly alphabetically but those added prior to the change in the code remain wrongly sorted. So it seems I will have to manually re-sort all my categories that have been added to date!