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 > Dev Questions
 
Thread Tools Search this Thread
  #171  
Old 12-08-2005, 09:11 PM
 
Abdul Abdul is offline
 

Member
  
Join Date: Jul 2004
Location: Miami
Posts: 17
 

Default

I am having the same problem,
Can someone please help with the complete mod code and instruction?

Thanks
__________________
X-Cart 4.1.7 Gold
Reply With Quote
  #172  
Old 01-02-2006, 02:04 PM
 
zogster zogster is offline
 

Newbie
  
Join Date: Mar 2004
Posts: 1
 

Default

Hi,

I'm having a different problem with this mod... parse errors. Having loaded up the new script, I'm seeing this when executing a search:

Parse error: parse error, unexpected '=', expecting ')' in /**siteurlgoeshere*/xcart/search.php on line 34

It looks to me as if it's the very first occurence of the '=' symbol that is causing the error... any suggestions?

Paul
__________________
Paul Ireson
\"Time flies like an arrow - fruit flies like a banana\" (Groucho Marx)
X-Cart v4.0.17
FreeBSD
Reply With Quote
  #173  
Old 01-02-2006, 03:31 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default

Quote:
Originally Posted by zogster
I'm having a different problem with this mod... parse errors. Having loaded up the new script, I'm seeing this when executing a search:

Code:
Parse error: parse error, unexpected '=', expecting ')' in /**siteurlgoeshere*/xcart/search.php on line 34
It looks to me as if it's the very first occurence of the '=' symbol that is causing the error... any suggestions?
Can you post what you have for lines 25-35?
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
  #174  
Old 01-09-2006, 06:52 PM
  GriffithLea's Avatar 
GriffithLea GriffithLea is offline
 

Member
  
Join Date: Jun 2005
Location: Houston, TX
Posts: 28
 

Default

Those posting most recently and having problems should make sure that they are replacing the search.php file in the /include directory, not the one that is one directory level higher.

This mod has been a great help to me, but no good deed goes unpunished - is it difficult to get it to apply the simple search string to the manufacturers as well? For example, I have a product called ABC by manufacturer XYZ . If the user enters ABC in the simple search, it will find it, but if they enter XYZ, they get 0 results.

I hope that that doesn't sound unappreciative - this mod is a boon to those of us suffering from the shortcomings in the original search function.
__________________
Started out with Version 4.0.13 .
Upgraded to Version 4.0.14 on 27 Jun 2005 .
Upgraded to Version 4.0.17 on 04 Dec 2005 .
Upgraded to Version 4.0.19 on 24 Oct 2006 .
Reply With Quote
  #175  
Old 01-10-2006, 07:56 PM
 
hyratech hyratech is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 172
 

Default

I dont' know if i'm doing anything wrong.. but i replaced my whole search.php file in /shop/include/search.php with the lasted post with that contained the whole code...

When i do search.. it bring up EVERTYTHING from my site... if not everything.. close to it..
__________________
hyratech
X-CART Gold 4.1.10
Hosted - Unix
Reply With Quote
  #176  
Old 01-16-2006, 05:18 PM
  davidsaldana's Avatar 
davidsaldana davidsaldana is offline
 

Senior Member
  
Join Date: Oct 2005
Posts: 187
 

Default

This search is great, I have been using it for a couple of months now. I have noticed that some of my customers are searching for products by the SKU. I have seen other sku search modifications on the forums, but none seem to work with this 4.0.16 modified search. Does anybody know how to change this to search by sku?

Thanks
__________________
4.4
Code:
Hello World
Reply With Quote
  #177  
Old 01-18-2006, 10:53 AM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Default

This topic has to many threads & I am confused about correct code

Could any one tell me the exact code or exact post link for version 4.0.12 please ?
__________________
X-Cart: 4.7.7 LIVE
Skin:Ultra by xcartmods.co.uk
X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9)
---------------
Server: Linux
php: 5.3
mysql: 5.0.89
----------------
Reply With Quote
  #178  
Old 01-24-2006, 08:28 PM
 
hyratech hyratech is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 172
 

Default

I'm sorry for the double post.. but.. my search is completly screwed up...
it does not matter what u type... it'll bring up everything on my site..
__________________
hyratech
X-CART Gold 4.1.10
Hosted - Unix
Reply With Quote
  #179  
Old 01-24-2006, 10:48 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

Quote:
Originally Posted by hyratech
I'm sorry for the double post.. but.. my search is completly screwed up...
it does not matter what u type... it'll bring up everything on my site..

Did you back up the file?

If so, upload the old original file and start over.

If you DID NOT!, then download the cartware again from your login and then take it from the original zip file and upload to server.

Also, note that there are two locations where the search.php file are located.

Do Not rework the wrong one by mistake. This could cause realo issues as well.
__________________
vs 4.1.12
Reply With Quote
  #180  
Old 01-31-2006, 10:54 AM
  More-Japan's Avatar 
More-Japan More-Japan is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 107
 

Default

This mod was working for a little while for me, but now i'm getting lots of irrelevant results...any ideas what could have changed this?


On 4.017
__________________
Version 5.2.13

http://www.more-japan.com/
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 02:13 PM.

   

 
X-Cart forums © 2001-2020