Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Search Box


nordikte

Recommended Posts

Here is the code people for adding the search option to the header...

 

Make sure you go to the following;

 

catalog/includes/header.php

 

Select the area in the HTML code were to paste in the code to allow search depending what your looking for for size, images etc, just play around and edit the code..

 

 

<form name="quick_find" action="http://www.your-company.com/advanced_search_result.php" method="get"><input name="keywords" size="10" maxlength="30" style="width: 95px;" type="text"> <input src="includes/languages/english/images/buttons/button_quick_find.gif" alt="Quick Find" title=" Quick Find " border="0" type="image"><br>Use keywords to find the product you are looking for.<br><a href="http://www.your-company.com/advanced_search.php"><b>Advanced Search</b></a></form>

 

 

Here is the code for addinga search box for oscommerce.

 

All you need to do is edit the image part, select and upload the image to any image directory make sure you add it correctly.

 

also; http://www.your-company.com/advanced_search.php <--- make this the same use your company name , yourname.com/advanced_search.php.

 

Erik...

Link to comment
Share on other sites

Here is the code people for adding the search option to the header...

 

Make sure you go to the following;

 

catalog/includes/header.php

 

Select the area in the HTML code were to paste in the code to allow search depending what your looking for for size, images etc, just play around and edit the code..

<form name="quick_find" action="http://www.your-company.com/advanced_search_result.php" method="get"><input name="keywords" size="10" maxlength="30" style="width: 95px;" type="text"> <input src="includes/languages/english/images/buttons/button_quick_find.gif" alt="Quick Find" title=" Quick Find " border="0" type="image"><br>Use keywords to find the product you are looking for.<br><a href="http://www.your-company.com/advanced_search.php"><b>Advanced Search</b></a></form>

Here is the code for addinga search box for oscommerce.

 

All you need to do is edit the image part, select and upload the image to any image directory make sure you add it correctly.

 

also; http://www.your-company.com/advanced_search.php <--- make this the same use your company name , yourname.com/advanced_search.php.

 

Erik...

 

 

Erik..

 

I forgot to add the following;

 

If you need text or image before the search box and disable the advanced search area were it has that big old mess of options this will help just custom eddit.

 

 

<input src="images/search.gif" alt="Search" title=" Search " border="0" type="image"><form name="quick_find" action="http://www.yoursite.com/advanced_search_result.php" method="get">

<input name="keywords" size="8" maxlength="30" style="width: 95;height:17" type="text"> <br></form>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...