Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search function not working.


lefty78

Recommended Posts

Posted

My search function is not working on one place.

 

This is probably not the right code to display, let me know what file has it.

 

I know this is where you can change the image paths for the picture of the search button.

 

Also, when you click on "OK" when attempting to search, the url shows "http://www.mywebsite.com/product_info.php?x=19&y=28" and the x and y are determined by where you click the "OK" button

 

<tr>

 

<td height="53">

 

<form style="margin:0">

 

<table WIDTH=722 BORDER=0 CELLPADDING=0 CELLSPACING=0>

 

<tr>

 

<td><a href="<?php echo tep_href_link(FILENAME_DEFAULT,'cPath=1'); ?>"><img src="<?php echo DIR_WS_IMAGES ?>theme/menu_01.jpg" alt="" width=104 height=53 border="0"></a></td>

 

<td><a href="<?php echo tep_href_link(FILENAME_DEFAULT,'cPath=2'); ?>"><img src="<?php echo DIR_WS_IMAGES ?>theme/menu_02.jpg" alt="" width=103 height=53 border="0"></a></td>

 

<td><a href="<?php echo tep_href_link(FILENAME_DEFAULT,'cPath=3_29'); ?>"><img src="<?php echo DIR_WS_IMAGES ?>theme/menu_03.jpg" alt="" width=103 height=53 border="0"></a></td>

 

<td><a href="<?php echo tep_href_link(FILENAME_DEFAULT,'cPath=30'); ?>"><img src="<?php echo DIR_WS_IMAGES ?>theme/menu_04.jpg" alt="" width=103 height=53 border="0"></a></td>

 

<td><a href="<?php echo tep_href_link(FILENAME_DEFAULT); ?>"><img src="<?php echo DIR_WS_IMAGES ?>theme/menu_05.jpg" alt="" width=103 height=53 border="0"></a></td>

 

<td><img SRC="<?php echo DIR_WS_IMAGES ?>theme/menu_06.jpg" WIDTH=49 HEIGHT=53 ALT=""></td>

 

<td background="<?php echo DIR_WS_IMAGES ?>theme/menu_07.jpg" WIDTH=124 HEIGHT=53 ALT="">

 

<input type="TEXT" style="width:114px;height:17px;font-size:10px;margin-top:0px;margin-left:7px">

 

</td>

 

<td WIDTH=33 HEIGHT=53 ALT=""><input type="image" src="<?php echo DIR_WS_IMAGES ?>theme/menu_08.jpg" border="0" align="absmiddle"></td>

 

</tr>

 

</table>

 

</form>

 

</td>

 

</tr>

  • 1 month later...
Posted

Fixed. It searches. Now onto a new area of the same topic.

 

I want my search box (to right of header) to search in descriptions ALWAYS.

 

I also would like both the search and quick search to ignore dashes, periods, and slashes......any ideas?

 

Example products below:

 

AN-LP100N//1

SP.018634.001

 

I want to give the customer the ability to search with, without the charactures listed above.

Archived

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

×
×
  • Create New...