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)

Learner 07-14-2009 03:46 AM

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?

Learner 07-30-2009 02:58 AM

Re: Improved Search Function
 
Any response from forum please !!!!

Thanks to all.

Learner 08-20-2009 12:31 AM

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 !!!!!

Kiwi 09-20-2009 08:20 PM

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

Learner 11-16-2009 02:39 AM

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.

Learner 12-04-2009 09:36 PM

Re: Improved Search Function
 
Any response from forum or neat and clean coding for 4.1.9 and 4.1.11?

Jeremy Smith 09-06-2011 02:45 AM

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.


All times are GMT -8. The time now is 03:17 AM.

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