Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add add to cart button to product_info


derrickpag

Recommended Posts

I have used the Add Back to product_info code

 

<table border="0" width="100%" cellspacing="0" cellpadding="0"><tr>

<td width="17"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td width="102" class="main"><a href="<?php echo

tep_href_link(FILENAME_DEFAULT, 'cPath=' . $cPath); ?>"><?php echo

tep_image_button('button_back.gif', IMAGE_BUTTON_BACK); ?></a></td>

<td width="168" align="right"><?php echo '<a href="' .

tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' .

tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>

</tr>

</table>

 

The button is on the product details and works (os template ecom26669)

 

Can I add the add to cart button also?

Link to comment
Share on other sites

Derrick,

 

The product_info.php SHOULD have a BUY NOW button on it that would add the item to the cart.

 

 

 

Chris

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...