View Single Post
  #41  
Old 07-18-2004, 11:34 PM
 
svowl svowl is offline
 

X-Cart team
  
Join Date: Jan 2003
Posts: 937
 

Default Re: Possible Bugs in X-Cart 4.0.0

Quote:
Originally Posted by mizzlewillz
1. It has been mentioned earlier, but the manufacturer does not match up to the product when you try to add a manufacturer to a product via the admin area.

2. After you make your main categories they ONLY get listed in alphbetical order, I have tried to order them differently using the POS. but it will not switch their positions.

1. http://forum.x-cart.com/viewtopic.php?p=52759#52759

2. This is a patch:
Code:
Index: include/categories.php =================================================================== retrieving revision 1.64 diff -u -r1.64 categories.php --- include/categories.php 12 Jul 2004 06:50:34 -0000 1.64 +++ include/categories.php 19 Jul 2004 07:11:25 -0000 @@ -63,11 +63,13 @@ global $user_account; $customer_search_condition = " AND avail='Y' AND (membership='".addslashes($user_account["membership"])."' OR membership='')"; $search_condition .= $customer_search_condition; - if ($flag == "all" || $flag == NULL) + if ($flag == "all") $sort_condition = " ORDER BY category"; else $sort_condition = " ORDER BY order_by, category"; } + elseif (defined('MANAGE_CATEGORIES')) + $sort_condition = " ORDER BY category, order_by"; if ($short_list) $to_search = "categoryid,parentid,categoryid_path,category,product_count,avail,order_by";
__________________
Vladimir Semyonov
Lead Software Engineer
Reply With Quote