Bilal81 Posted May 29, 2007 Share Posted May 29, 2007 I have seen a website with oscommerce that had implemented this in a very nice way. It should look like this: http://www.digitique.nl/-c-158130_128_12814.html I have looked at: catalog/index.php catalog/product_listing.php But I have no clue what to do. I got it to work to show the products sorted out on manufacturer by changing the following code in index.php: --- for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { if ($column_list[$i] == 'PRODUCT_LIST_NAME') { $HTTP_GET_VARS['sort'] = $i+1 . 'a'; $listing_sql .= " order by pd.products_name"; break; --- To: --- for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { if ($column_list[$i] == 'PRODUCT_LIST_MANUFACTURER') { $HTTP_GET_VARS['sort'] = $i+1 . 'a'; $listing_sql .= " order by m.manufacturers_name"; break; --- But I don't know how to split the table, when it starts with a new manufacturer. Link to comment Share on other sites More sharing options...
Bilal81 Posted May 29, 2007 Author Share Posted May 29, 2007 ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.