| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Improved Search Function | ||||
|
|
Thread Tools | Search this Thread |
#51
|
|||||||
|
|||||||
Thanks funkydunk! this version of the modified search.php works great with my 3.5.4 install.
I am trying, though, to integrate a param field search function that is seperate from the substring search. I have gotten it to work great, with the exception of the navigation code. This is one of the chunks I inserted to perform a search within param01: Code:
That part seems to work fine. I then made additions to my search query: Code:
And then, I think I've got something wrong here with my navigation code because it creates strange links between result pages. For example, if i perform a param01 search it returns the first page of results just fine. Then when I go to page two of the results, it forgets the param01 query and puts a "+" into the substring query. Here is the navigation code in question: Code:
thanks! |
|||||||
#52
|
|||||||
|
|||||||
I am sorry if it's posted before but how to add subcatagory search option in advanced options below root catagories?
Thanks.
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#53
|
|||||||||
|
|||||||||
subcategories search
I need the same thing
Quote:
I need to the subcats to search. we are going to have sucats like: artist, color, style, etc... and we want them to be able to search for "blue" withing "color" any advice for this? Thank You!!!!!!!!!!
__________________
~jaime* shop.mpartworks.com ~~~~~~~~~~~~~~ xcart pro 3.5.5 heavily modified freeBSD 4.8 php 4.3.3 |
|||||||||
#54
|
|||||||
|
|||||||
Can this be changed so it searches in extra field?
|
|||||||
#55
|
|||||||
|
|||||||
Quote:
Nevermind, it DOES search in extrafields, it's just that I was searching in param01 and it is set to param00.. oops! Another questions, tho. Yes I did look before asking this time. How can you set the search results to be sorted by date_added? Thanks |
|||||||
#56
|
|||||||
|
|||||||
I also tried the code and got a "could not find template error"
|
|||||||
#57
|
|||||||
|
|||||||
Hey! I just tried this mod for 3.5.6 works great! Nice one!!!!!!! Been looking for this for a long time since xcarts search function sucks azz. Hah thanks
|
|||||||
#58
|
|||||||
|
|||||||
Quote:
Strange - what version of xcart are you using - the code above is designed for 3.5.x but if you look furtherback in the thread it will be compatible with 3.4 and yes, BHmedia - standard xcart search really does not do what it needs to. This is an improvement but can still be improved by xcart by taking the above and building an advanced search that has the search fields for all of the fields in the products table and allows them to be switched on or off in admin. This way it can be whatever the store owner wants.....
__________________
ex x-cart guru |
|||||||
#59
|
|||||||
|
|||||||
Just as a note, I implemented the code for 3.4.14 and it works perfectly! Thanks all!
Code:
Although, in the advanced search mode, if I try a price search I get this error: Code:
If I try a category search I get this error: Code:
Any ideas? I saw that someone had a problem like this before but a solution was never posted? Thoughts?
__________________
Jeremy X-Cart Gold v3.4.14 [Linux/Apache] Heavily Modded |
|||||||
#60
|
|||||||
|
|||||||
I fixed the problem above with the advanced search error, but I don't know why it was programmed this way.
On line 69 (or thereabouts) it HAD this: Code:
My question is, what is the " 1 " for at the very end of the line? When I remove the one as seen below, it fixes all the problems and the search still works perfectly? This code works: Code:
I just want to try to understand why that 1 was there so I know I didn't break something else. Thanks.
__________________
Jeremy X-Cart Gold v3.4.14 [Linux/Apache] Heavily Modded |
|||||||
|
|||
X-Cart forums © 2001-2020
|