Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Non static buttons?


Amrahp

Recommended Posts

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

Archived

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

×
×
  • Create New...