Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search box problems


ryanf

Recommended Posts

Hey, I have a search box in my header that works great but has one problem. On product_info pages it keeps filling itself with the product description and I can't figure out why. It does it on non of the other pages.

 

Its annoying

here is my code in the header:

<tr class="header">
?<td valign="middle" align="right">
? Search: <?php echo tep_draw_form('advanced_search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'). tep_draw_input_field('keywords',' ','size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_draw_pull_down_menu('categories_id', tep_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES))))?>
?</td>
?<td valign="middle" width="30" align="center">
?<input type="image" src="images/index/go_off.gif" border="0" alt="Quick Find" title=" Quick Find ">
?</form>
?</td>
</tr>

 

 

Thanks for the help.

If I was crafty, this would be a funny signature.

Link to comment
Share on other sites

great catch, it was getting set to set the meta description for the page, so I just reset it to blank right before the call to the header and now it works.

 

Thanks!

If I was crafty, this would be a funny signature.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...