Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2008
    Posts
    11
    Plugin Contributions
    0

    Default Remote search box facility

    I am intending to use ZenCart in catalogue mode, will be installing it in a sub folder domain.com/products but would like to have a search box on the main site pages which are static html/php (whichever will be needed to make this work).

    What I would like is that if someone wants to do a product search using keywords, then the normal search page will be returned.

    So put simply. I would like a remote search box, on the same site, but on pages in the root folder, while the installation of Zc is in a sub folder.

    is there an easy way to do this, or is it (as I think) a fairly simple coding task for a php dude?

    Thanks

  2. #2
    Join Date
    Feb 2008
    Posts
    1,352
    Plugin Contributions
    1

    Default Re: Remote search box facility

    You can add Google Search to your domain, I never used it but its free search tool and a lot of site use it.
    I have also seen php based search tools that are free, try to search for that in Google also, but I think Google search will work just fine.

  3. #3
    Join Date
    Jul 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Remote search box facility

    Hi , Thanks for that, but it wouldnt work as Google search only displays the content of pages it has in its database

    I have a feeling I am going to have to get this hand coded.

    Thanks for your reply though :)

  4. #4
    Join Date
    Feb 2008
    Posts
    1,352
    Plugin Contributions
    1

    Default Re: Remote search box facility

    There is free php based search mod that can be coded to any site. Look into the zen cart mod, Numinix have coded that php file to work with zen cart but if you Google the original mod it can be added to any site that use php such as Blogs, Forum or shopping carts

  5. #5
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    10,275
    Plugin Contributions
    3

    Default Re: Remote search box facility

    If you add this to a page on any remote site, it should work:

    HTML Code:
    <div id="productSearch">
    		<form id="quick_find" action="http://www.YOUR-WEBSHOP.COM/index.php?main_page=advanced_search_result" method="get">
    			<fieldset>
    				<label for="keyword">Search our product catalogue</label>
    				<input type="text" name="keyword"  id="keyword" size="20" maxlength="100" style="width: 145px" value="Enter search keywords" onfocus="if (this.value == 'Enter search keywords') this.value = '';" onblur="if (this.value == '') this.value = 'Enter search keywords';" />
    				<input name="submit" type="submit" class="submit" value="Go" />
    
    				<p><a href="http://www.YOUR-WEBSHOP.COM/index.php?main_page=advanced_search">Advanced search &gt;</a></p>
    				<input type="hidden" name="main_page" value="advanced_search_result" />
    				<input type="hidden" name="search_in_description" value="1" />
    			</fieldset>
    		</form>
    	</div>
    ... remembering of course to change:

    http://www.YOUR-WEBSHOP.COM

    ... to "your webshop's URL" .
    We host with Terranetwork.

  6. #6
    Join Date
    Jul 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Remote search box facility

    I owe you a thousand thanks :)

    Thank you so much for taking the time to help me here.

 

 

Similar Threads

  1. Search Facility
    By BobDGinn in forum Addon Sideboxes
    Replies: 3
    Last Post: 12 Sep 2010, 03:55 PM
  2. Search facility
    By GTrotter in forum General Questions
    Replies: 1
    Last Post: 18 Nov 2008, 05:14 AM
  3. Adding Search Facility to Quick Update?
    By businesstoweb in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Jul 2006, 11:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR