X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Replace Xcart Search Box with Google Search (https://forum.x-cart.com/showthread.php?t=31904)

sohaibkhan 06-17-2007 08:53 PM

Replace Xcart Search Box with Google Search
 
hello,

I have a Google Custom Search, I would like to replace X-cart original search box with my Google Custom Search engine box, how can I do that.

Thanks

balinor 06-18-2007 04:10 AM

Re: Replace Xcart Search Box with Google Search
 
Open up the template where the search box is displayed (customer/search.tpl) and replace the default X-Cart form with your form.

sohaibkhan 06-18-2007 11:23 AM

Re: Replace Xcart Search Box with Google Search
 
Thanks for your response, I really do appreciate that.

I have replace the search box but when the user search on the page it shows the search results but it shows the search results at the bottom of the results it shows my main page, i didnt get that.. :) Can I just display the search results only.

balinor 06-18-2007 11:32 AM

Re: Replace Xcart Search Box with Google Search
 
Sounds like an issue with Google search...afraid I can't help with that :(

inebriate 06-18-2007 04:02 PM

Re: Replace Xcart Search Box with Google Search
 
go to http://google.com/coop/docs/cse/cref.html

scroll down to where it says "Example of a Linked CSE with results hosted on your site", it gives an example of how to accomplish what you want (seems to use an iframe)

sohaibkhan 06-18-2007 06:31 PM

Re: Replace Xcart Search Box with Google Search
 
Do you have example, I am just lost. Where should I put iframe

heatmiser 12-01-2007 03:42 AM

Re: Replace Xcart Search Box with Google Search
 
DId you ever get this to work ? I would like to use the Google CSE


All times are GMT -8. The time now is 06:19 AM.

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