Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

buttons in the header


Recommended Posts

I am trying to add buttons to my header like this http://modulardepot.com/ I would also like to put a picture and search box in like that one. In a nut shell I want to copy the format of the header section of this website but then customize it for my purpose. Can anyone point me in the right direction? I think I can use searchbox anywhere to put the search box in the box where it says top and catalog. Is there any contributions to help with buttons in the header like that.

Link to comment
Share on other sites

here is the contribution for the search box


for the buttons you need to create the button images and edit the catalog/includes/header.php file and edit the tables and create links. the code will look like this to link an image to a file(3 buttons, 3 files in this instance

<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>

of course edit alignment and spaces to suit your needs

My Contributions


Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites


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

  • Create New...