Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Search by SKU aka productcode in admin?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-14-2003, 10:05 AM
 
123computerbooks 123computerbooks is offline
 

Advanced Member
  
Join Date: Apr 2003
Posts: 74
 

Default Search by SKU aka productcode in admin?

Hi
Anybody know of a way of doing this , I know its prob simple but any help would be appreciated
Reply With Quote
  #2  
Old 07-15-2003, 06:44 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

123,

no probs

in admin/search.php line 70 change:

Code:
$productid_condition = ($search_productid==""?"":"($sql_tbl[products].productid='$search_productid') AND ");

to:

Code:
$productid_condition = ($search_productid==""?"":"($sql_tbl[products].productcode='$search_productid') AND ");
__________________
ex x-cart guru
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:45 AM.

   

 
X-Cart forums © 2001-2020