Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Improved Search Function
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #251  
Old 07-14-2009, 03:46 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default 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

What is the Exact codes for X-cart pro 4.1.9 & 4.1.11?Can anyone help me?
__________________
4.6.1 Platinum


Reply With Quote
  #252  
Old 07-30-2009, 02:58 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Improved Search Function

Any response from forum please !!!!

Thanks to all.
__________________
4.6.1 Platinum


Reply With Quote
  #253  
Old 08-20-2009, 12:31 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Improved Search Function

What is the Exact codes for X-cart pro 4.1.9 & 4.1.11?

Can anyone help me?

Any response from forum !!!!!
__________________
4.6.1 Platinum


Reply With Quote
  #254  
Old 09-20-2009, 08:20 PM
 
Kiwi Kiwi is offline
 

Newbie
  
Join Date: May 2008
Location: UK
Posts: 8
 

Default Re: Improved Search Function

I'm new at this so please be patient! I've just had a search box put on but it seems very random - most of the time comes up with 0 items found. Occasionally it'll find an item. I see there have been a lot of problems with this over the years. Can anyone tell me what the best way to fix it is? I'm running 4.0.16
__________________
Andrew 4.0.16
Reply With Quote
  #255  
Old 11-16-2009, 02:39 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Improved Search Function

Can anyone please suggest me what is the exact code for 4.1.9 and 4.1.11?

I really need this.

Thanks to all.
__________________
4.6.1 Platinum


Reply With Quote
  #256  
Old 12-04-2009, 09:36 PM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Improved Search Function

Any response from forum or neat and clean coding for 4.1.9 and 4.1.11?
__________________
4.6.1 Platinum


Reply With Quote
  #257  
Old 09-06-2011, 02:45 AM
 
Jeremy Smith Jeremy Smith is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 167
 

Default Re: Improved Search Function

It's really essentially the logic within X Cart's that's the problem.

The default problem with v4.1.11 is that say you have about 1,200 approx products you categorise them right?

You might still have say 600 products which show on a root category, the base category say for our example Brother Lasers and Inks, it has to then index those pages (providing your database indexes are up to date), but even then it's got to show them then paginate the results which takes allot of time up on the servers side for processing.

That is the main dilemma with X Cart's way of searching.

Even if you're not using a search field, it's probably doing about 3-5 things at once which providing how many processors you have on the actual server or processing power on a VPS or Hosted solution like just an ftp login and no actual remote shell access then you're going to struggle if it's too low.

Even on our data centre stored own server the forum we run for our company works fine with searching which has far more entries than even our webstore and that works perfectly fine, it's just a case of working out (profiling your searches), what part of your code is causing the problem.

Which is what I am going to really get glued into right now really as this needs sorting, I am sure that with some effort we can come to an assumption and a possible remedy.

Going to even try mocking the search up myself and see what happens on a sandbox version of X Cart I run so the live site doesn't break (even that's as slow as our live site), it's simply awful the search, but to be fair with the developers of X Cart you don't pay all that much for it and the likes of Google have spent thousands if not millions on perfecting searches.
__________________
Version 4.1.11 on Linux (Fedora)
X-Cart Gold
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:10 PM.

   

 
X-Cart forums © 2001-2018