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

Searching Multiple Categories

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-18-2011, 05:01 AM
 
Unwire Unwire is offline
 

Newbie
  
Join Date: Mar 2010
Posts: 2
 

Default Searching Multiple Categories

I would like to perform a search that matches a search term across multiple categories. I've searched the forums but have not been able to find a solution. Has this been done? Any idea how I might accomplish this?

URL-based search is acceptable (no need to redesign search page).. So far I'm able to perform a search within a single category with the following URL:

/search.php?mode=search&substring=&including=all&by _title=on&by_descr=on&by_sku=on&categoryid=23&sear ch_in_subcategories=on

Any thoughts on how I might expand this to search multiple categories? (eg: 23 AND 24).

Thanks in advance,
Chris.
__________________
X-Cart Gold Version 4.3.1
Reply With Quote
  #2  
Old 04-19-2011, 05:29 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Searching Multiple Categories

You should alter the "include/search.php" script and add support for the multiple categories search.

The corresponding code block located below the "// Search by category...".
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 04:13 PM.

   

 
X-Cart forums © 2001-2020