k1w1guy Posted June 2, 2005 Share Posted June 2, 2005 Anyone know how to move the ADD TO CART button to the top of the products_info.php page?? Pete Link to comment Share on other sites More sharing options...
seank123 Posted June 2, 2005 Share Posted June 2, 2005 The bit you need it: <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> It's near the bottom of the file If you look in the same filem near the top, for : <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> </tr> This is the start of where the layout of the product page is defined - all you need to do now is decide where to put it! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.