| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
phrase search for 3.5.7? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
phrase search for 3.5.7?
I'm wondering if there's a way I can get 3.5.7 to search phrases and not just one exact word. I tried this thread: http://forum.x-cart.com/viewtopic.php?t=5971&highlight=advanced+search but got major errors on the search results. Does anyone have a solution for this version? Thank you.
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#2
|
|||||||
|
|||||||
anyone?
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#3
|
|||||||||
|
|||||||||
Hum. Well, it does search for phrases, but the words must be in the exact order you place them.
For example, on my site, if you search for increase decrease you get no results, but if you search for increase or decrease you get my Inventory Pricing Mod. It would take a bit of coding to return results for the 1st case. I'm not sure if that improved searching mod does that or not as I've not tried it. Maybe someone else will know. Wish I could help more. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#4
|
|||||||
|
|||||||
When I had 3.4.14, I had the search code changed as described in the link above and it worked perfectly (i.e. it would search any phrase in or out of order perfectly), but not any longer since I upgraded to 3.5.7
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#5
|
|||||||
|
|||||||
The code below was posted on that same thread for 3.5.3 (page 4).
It should work with 3.5.7. Code:
__________________
Emerson █ Total Server Solutions LLC- Quality X-Cart Hosting █ Recommended X-Cart Hosting Provider - US and UK servers █ Does your host backup your site? We do EVERY HOUR!!! █ Shared Hosting | Managed Cloud | Dedicated Servers |
|||||||
#6
|
|||||||
|
|||||||
I'll give her a try again, thanks.
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#7
|
|||||||
|
|||||||
Ok, I must have used the wrong one, thanks! It works now.
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#8
|
|||||||
|
|||||||
Cool
You might also try this adding the following: Find... Code:
and make it look like... Code:
This way it will also search in all your extra fields! You might or might not have a use for it so edit it accordingly
__________________
Emerson █ Total Server Solutions LLC- Quality X-Cart Hosting █ Recommended X-Cart Hosting Provider - US and UK servers █ Does your host backup your site? We do EVERY HOUR!!! █ Shared Hosting | Managed Cloud | Dedicated Servers |
|||||||
#9
|
|||||||
|
|||||||
totally cool, thanks. I'll give it a try. Thanks again.
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
|
|||
X-Cart forums © 2001-2020
|