| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Include search by SKU into basic search in v4 | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||||
|
|||||||||
Re: Include search by SKU into basic search in v4
I have version 4.1.4 and I type in sku # and it says no product found and takes me to advanced menu and I can check sku and it will bring it up. Is there anyway to do that with out the extra steps?
|
|||||||||
#32
|
|||||||
|
|||||||
Re: Include search by SKU into basic search in v4
In 4.1.x just place the following in /skin1/customer/search.tpl
<input type="hidden" name="posted_data[by_sku]" value="Y" />
__________________
1) x-cart 4.1.5, Unix |
|||||||
#33
|
|||||||
|
|||||||
Re: Include search by SKU into basic search in v4
Would it be possible for someone to consolidate the code changes necessary in each of the files and templates into one reply. I'm getting very confused trying to figure out what needs to changed in which template to make this mod work in 4.0.19
I would like to be able to add the ability to search the sku/productcode, as well as any 'Extra Fields' in the Product Details page that have been set to show. Thanks for any help. J.
__________________
www.coopersport.com North America's Premiere MINI Outfitter X-Cart Gold v4.0.19 [Apache/Linux] |
|||||||
#34
|
|||||||
|
|||||||
Re: Include search by SKU into basic search in v4
I would also like to have the necessary code changes posted into one reply. I have tried different pieces of code throughout this post, but I am still unable to search by SKU in version 4.0.
Thanks, Jeff
__________________
X-Cart Gold - Version 4.0.19 |
|||||||
#35
|
|||||||
|
|||||||
Re: Include search by SKU into basic search in v4
Hey All,
I have asked a lot of questions, but never have been able to offer any advice. Well now I have a chance too. For those that have version 4.0.19, I was able to get the solution on how to have the main page search also search by sku. You weren't able to do this before, I through extensive searching I was unable to find the answer in the forums. So I spent 25 points (of the 200 we get) and was able to get the fix. It is: Quote:
__________________
x-cart-4.1.8gold |
|||||||
#36
|
|||||||||
|
|||||||||
Re: Include search by SKU into basic search in v4
Quote:
Hi, Has anyone been able to get this to work on V4.1.8 site? I would appreciate it greatly, dont know why this kind of stuff does not come as a standard. Regards
__________________
Mil Mascaras Live Xcart Site #1-V- 4.1.8 Live Xcart site # 2-V 4.4.3 CDSEO Mod - Firetank MM30 - 7DANA- The bestTemplates! Linux - EWD Host Servers awesome service! AlteredCart One Page Checkout |
|||||||||
#37
|
|||||||
|
|||||||
Re: Include search by SKU into basic search in v4
shipmerchant,
In v4.1.8 all you have to do is go to your skin1/customer/search.tpl file and add the following code: Code:
after this line of code: Code:
and that's it. You can now do a basic search of SKU numbers and the SKU checkbox is also checked. Or you can just replace your search.tpl code with the one below (the added line of code is in blue): Code:
- MoonDog -
__________________
X-CART Gold v4.1.8 |
|||||||
#38
|
|||||||||
|
|||||||||
Re: Include search by SKU into basic search in v4
MoonDog,
Thanks so much for you help! It worked as expected!!!! Regards.
__________________
Mil Mascaras Live Xcart Site #1-V- 4.1.8 Live Xcart site # 2-V 4.4.3 CDSEO Mod - Firetank MM30 - 7DANA- The bestTemplates! Linux - EWD Host Servers awesome service! AlteredCart One Page Checkout |
|||||||||
#39
|
|||||||||
|
|||||||||
Re: Include search by SKU into basic search in v4
You folks might also want to check out the Smart Search mod. This add-on is absolutely the best search engine mod for XCart I have found yet.
Automatically do the following to each search query [except advanced searches]. Enable Similar Search Phrases (Other close search terms and AutoCorrect words are displayed at the bottom of each search). Enable the Did You Mean feature to display close matching queries when there are no results. Enable Query Expansion when there are less than five results of full-text searches (Similar Search Terms). Include singular and plural forms of each word in the search query. Combine words - example: Mc Donald will also search for McDonald. (This can be resource intensive.) Tag Cloud - Displays a visual design of the most popular words found in the description(s) of the search results. Just search for Smart Search in the forums.
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|