| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Search within category? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Search within category?
I wonder if there is a possibility to add a search field to search within a category? I.e. the user browses Apparel and now sees a search field only for this category.
__________________
X-Cart Pro 4.6.2 with many modules X-CART Pro 4.4.1 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Search within category?
You could copy the normal search code and add the line for category as a hidden field, assigning the current category {$cat} or {$current_category.categoryid}. See the code on search.php for the category selector.
|
|||||||||
|
#3
|
|||||||
|
|||||||
Re: Search within category?
Ok, I try that. It's strange that there are no posts on such a huge feature.
__________________
X-Cart Pro 4.6.2 with many modules X-CART Pro 4.4.1 |
|||||||
#4
|
|||||||
|
|||||||
Re: Search within category?
I agree, building searches like this so the customer doesn't have to go to the advanced search screen and select the category from the dropdown would be a great feature.
When you get this working will you share? I would love to provide some more targeted search boxes next to our global search on our homepage, like a separate box that you could type keywords in and it said "Search in Sheet Music" as the button.
__________________
David Coggan Carolyn Nussbaum Music Company X-Cart v4.5.4 Gold + LiteCommerce v2.2.41 (previous 6 years) |
|||||||
|
|||
X-Cart forums © 2001-2020
|