Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
SajMalik
SajMalik
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
8thSinCoffee
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
SajMalik
Thank you 8thSinCoffee.
 
SajMalik
SajMalik
Made the change and ... it works (line 237 btw) except that it is sorting backwards Smile
 
SajMalik
SajMalik
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!