| ||||||||||
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 |
#111
|
|||||||
|
|||||||
I've been using this with 4.0.13 for the past couple weeks, works great, x-cart should really use this mod as their standard search.
__________________
Core version: 5.3.2.7 PHP: 5.6.29 MySQL server: 5.5.5-10.0.27-MariaDB-cll-lve (InnoDB engine support enabled) Web server: Apache Operating system: Linux XML parser: found GDLib: found (0) Translation driver: Database Curl version: 7.29.0 |
|||||||
#112
|
|||||||||
|
|||||||||
Search SKU's?
Hi, thx for the mod guys! I have another issue,I've been reading all over the forum, and Im stuck. Is there a way to make this mod, search the SKU without it being an option.
Cheers Jamie
__________________
X-cart 4 gold PHP version 4.3.10 MySQL version 4.0.23-standard Apache version 1.3.33 (Unix) |
|||||||||
#113
|
|||||||
|
|||||||
Re: Search SKU's?
Quote:
Yes there is, try this thread. http://forum.x-cart.com/viewtopic.php?t=11930&highlight=simple+search+sku
__________________
No longer using Xcart, was good while it lasted. |
|||||||
#114
|
|||||||||
|
|||||||||
After failing to modify this mod to use the newest search.php, I went back to bluecat's file, added the lines to search by sku in the above thread, and it works great on 4.0.12.
*edit* I found an error, 2 actualy. For one, the categories no longer showed up in advanced search, and the page loaded really wide, then fit the page as it loaded (IE only). The second error I had happen before with all my pages, so I think that's probably related to some of my custom mods, probably my 4 column layout. After taking out the search by sku code, both errors still exitst, but the only one I'm worried about is the categories not showing up.
__________________
Alltribes.com Native American Jewelry Pottery, Baskets, Kachinas & More X-cart Gold Version 4.0.17 Live PHP 5.2.6 MySQL 4.1.25 (mt) |
|||||||||
#115
|
|||||||||
|
|||||||||
Thx
Thanks So much, just what i needed!
__________________
X-cart 4 gold PHP version 4.3.10 MySQL version 4.0.23-standard Apache version 1.3.33 (Unix) |
|||||||||
#116
|
|||||||
|
|||||||
I'm having the same problem as Alltribes, the categories are missing in the advanced search.
But the page layout is unchanged, though I'm also using 4 columns.
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#117
|
|||||||||
|
|||||||||
I think I have it. This includes the search by sku mod. This is for 4.0.12, but should work with later versions. I am still testing it, but the categories show up and the wierd stretching bug I had is gone
Code:
Mind you this is a mkod to the 4.0.12 code, not the code posted previously.
__________________
Alltribes.com Native American Jewelry Pottery, Baskets, Kachinas & More X-cart Gold Version 4.0.17 Live PHP 5.2.6 MySQL 4.1.25 (mt) |
|||||||||
#118
|
|||||||||
|
|||||||||
Search by SKU, Product or Whatever
I have looked, tried and failed on everything I have found regarding improved search functions. The only version that worked for me was in 3.5.3 and it worked well. I want the same thing in 4.0.11. I want to be able to search from the main search bar for sku, product or whatever I type in and search for. If I type in Black Cows, I want to be able to find "black cow", or cows that are black or something like that. You get the idea. Unicorns and find unicorn without having to type it in singular phrase (cow, unicorn, etc). Persons searching usually always use plural phrases. If I knew where to put the coding for truncating the plural phrases, then I would do it. I have tried various ways, but kept getting errors. I would appreciate any assistance from the experts here. Thanks.
__________________
X-Cart version 4.1.11 (Unix) Apache version 1.3.41 (Unix) MySQL version 5.0.67 - community PHP version 5.2.5
PERL version 5.8.8http://www.etekmart.com |
|||||||||
#119
|
|||||||
|
|||||||
Missing categories in advanced search and products admin
I've also just noticed the missing categories in advanced search and products admin, which i've tracked down to the (much) improved search.php script (only issue i've found) - this was on v4.0.13
Quite simple to fix, just add this code to the end of the file search.php file (about line 647/648 for me) Code:
Hope that helps
__________________
X-Cart v4.2.0, v4.0.13, v4.0.9, v4.0.17 |
|||||||
#120
|
|||||||||
|
|||||||||
This is great. The x-cart search really needs to be improved. Can someone post the final version of the include/search.php they are using for 4.0.13?
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|