| ||||||||||
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 |
#221
|
|||||||
|
|||||||
Re: Improved Search Function
I'm looking for something similar to longhorn180, but hopefully a bit simpler. I'm looking to do a couple drop-down lists to choose items based upon their extra fields.
Example: extra field [country of origin] has only 5 entries, extra field [style] has only 5 entries and extra field [fabric type] has only 5 entries. You can have a t-shirt [style] from France [country of origin] that's made of Cotton [fabric type]. A series of drop down lists populated from extra fields would allow the customer to quickly select any combination among the general categories. Perhaps the customer wants to look at all cotton shirts, or all of the site's French-made clothes, or all 100% cotton items - drop down just one list and leave the others as is. It would eliminate any text errors by the customer, which seems to be longhorn180's issue. Is this idea possible with the standard search? I've played with coding before, but don't know anything about PHP and I'm just learning X-Cart! Any help is appreciated!
__________________
X-Cart Version: 4.15 (in development) |
|||||||
#222
|
|||||||||
|
|||||||||
Re: Improved Search Function
Quote:
Quick and painless! Quote:
Worked like a charm! I also re-applied the mod to search by SKU, and disabled short and full descriptions, in the simple search box. This seems to work best with my title format. I guess 25 support points is about as cheap as it gets for a nice search feature. |
|||||||||
#223
|
|||||||
|
|||||||
Re: Improved Search Function
I'm glad to see you got it straightened out
|
|||||||
#224
|
|||||||
|
|||||||
Re: Improved Search Function
Anyone found that with 4.0.19 and this mod, it doesn't log search statistics? Take a look at my post of this thread:
http://forum.x-cart.com/showthread.php?t=20337&p=143057 |
|||||||
#225
|
|||||||
|
|||||||
Re: Full source
Quote:
Works GREAT on 4.0.19 - thanks!!!!
__________________
4.0.18 |
|||||||
#226
|
|||||||
|
|||||||
Re: Improved Search Function
Could anyone tell me if there is a verison of leighj search or simlar that searches product options as well as the normal stuff?
__________________
www.rollersnakes.co.uk 4.0.19 [getting faster] 2 x dedicated servers, Dual Quad Core processors, 16gb ram, Raid 0 for the os, Raid 5 for the data and a whole host of tweaks. Some might say its a little over kill for one site |
|||||||
#227
|
|||||||
|
|||||||
Re: Improved Search Function
No news for 4.1.3 yet?
__________________
Version: 4.1.3 One of the largest UK Suppliers of Car Modification Accessories http://www.impact-styling.com |
|||||||
#228
|
|||||||
|
|||||||
Re: Improved Search Function
Can the search function be modified to add wildcards? I have numerous sku's that are not consitant between manufacturers causing visitors to not find like items. For instance depending on manufacturer a white refrigerator will have a "Q" or "WH" or "W" or "P" at the end of the model number. I would like to have the search to return whatever matches the first 4 characters reguardless of what is entered.
|
|||||||
#229
|
|||||||
|
|||||||
Re: Improved Search Function
For anyone looking for a quick solution for 4.0.18 (and possibly 0.19)
unzip and copy attached to /include/search.php References for this are.... just the instructions at the bottom of http://forum.x-cart.com/showpost.php?p=98217&postcount=152 the code from.. http://forum.x-cart.com/showpost.php?p=98220&postcount=153 with the 4.0.18 alteration.. http://forum.x-cart.com/showpost.php?p=128493&postcount=200 Works for me.. not perfect but loads better than standard. Thanks guys! xgarb
__________________
Core version: 5.5.xx |
|||||||
#230
|
|||||||
|
|||||||
Re: Improved Search Function
Thanks xgarb, that made it alot easier. I was reading this thread and there are so many snippets everywhere that compiling everything together made it alot easier.
Ok, lets hope it works now.
__________________
X-cart GOLD v 4.0.18 |
|||||||
|
|||
X-Cart forums © 2001-2020
|