X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Improved Search Function (https://forum.x-cart.com/showthread.php?t=4415)

Bling 11-21-2006 04:14 PM

Re: Improved Search Function
 
Quote:

Originally Posted by Shaun@IS
No news for 4.1.3 yet?


I second that...would love to get this issue dealt with.

Judith 01-06-2007 12:57 PM

Re: Improved Search Function
 
:lol: :lol: :lol: Thanks xgarb for your solution.

http://forum.x-cart.com/showpost.php?p=149495&postcount=229

Replacing the search.php with your new one seems to do the trick and I am running x-cart 4.0.19

proboscidian 01-15-2007 06:41 AM

Re: Improved Search Function
 
Has anyone tried this in comparison with the websitecm.com mod? I'm getting good search results using the free mod on some searches, but I have a problem with searches when the search term is part of another word; e.g., tee is part of steel, and there are THOUSANDS of steel items in this particular store. Searches like 1/4 are also problematic; I get 11/42 etc as search results. This is a 4.0.19 cart.

enpix 04-23-2007 02:48 PM

Re: Improved Search Function
 
Quote:

Originally Posted by xgarb
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


works great!
here is my addition for 4.0.19.

Add below code to the form tag in customer\search.tpl and it will search through the extra field by default.
Code:

{if $active_modules.Extra_Fields && $extra_fields ne ''}
{foreach from=$extra_fields item=v}
<INPUT type="hidden" name="posted_data[extra_fields][{$v.fieldid}]" value="Y">
{/foreach}
{/if}


blakekr 04-24-2007 05:09 PM

Re: Improved Search Function
 
Anyone get this to work for 4.1.x? Sounds like a great solution.

QVS 04-25-2007 06:44 AM

Re: Improved Search Function
 
Quote:

Originally Posted by blakekr
Anyone get this to work for 4.1.x? Sounds like a great solution.


same i could do with something, the search is so poor right the moment

crazyoval 05-03-2007 04:08 AM

Re: Improved Search Function
 
Same here, I discovered this thread by chance, its been going on for four years!!

I need (4.1.6) a good search that enables clients to pick up on all or any of their search words, plus searching by specific fields, such as price. I would buy a mod that did this.

Thanks

bugdoubt 07-20-2007 12:35 PM

Re: Improved Search Function
 
how about the Version 4.1.8 ?

crazyoval 07-20-2007 03:16 PM

Re: Improved Search Function
 
ive noticed the alteredcart.com 's search module, looks very very nice to me. Check it out

premieroffroad 07-30-2007 07:52 PM

Re: Improved Search Function
 
Some of my skus have a "-" in them. The search does not recognize them. Does anyone know how to fix that? An example sku# is... SJ-J20K

I have the above mod fromxgarb.

Thanks,
Matt


All times are GMT -8. The time now is 12:29 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.