Amrahp Posted September 11, 2008 Share Posted September 11, 2008 Hi, Does anyone have a clue if there is a way to change the static buttons to "form input" buttons? An example on what I want to do. Here is a pice of code from product_listing. $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> '; break; Now what I want is to change "tep_image_button..." for this type of code: <input name="B1" type="button" class="button" value="Add to cart"> These type of buttons have a nice hover effect as well as a "pressed down effect" Anyone with an idea? Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.