X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Searching for Multiple Subcategories (https://forum.x-cart.com/showthread.php?t=57355)

Ayla 01-04-2011 09:42 AM

Searching for Multiple Subcategories
 
I have a custom navigation where clicking subcategories will link to the search results page and show subcategories. I can get it to search for 1 subcategory using this URL:

Quote:

/search.php?mode=search&substring=%25&categoryid=13 0&search_in_subcategories=on

I tried to change include/search.php, but that file is too interconnected to augment.

What I am looking for is a query string by which I can simply search for multiple subcategories. Something like this:

Quote:

/search.php?categoryids=130,140,150

or by name if that's easier:

Quote:

/search.php?categorynames=cat_one,cat_two,cat_three

Thanks in advance for any help provided!


All times are GMT -8. The time now is 05:11 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.