Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving Buy Now button under price


marcndannie

Recommended Posts

Hi. I would like to know if it is possible to move the 'buy now' button to the top right side under product price. I have some listings with very long descriptions and it requires customers to scroll alllllll the way down to the bottom of the page. Any help would be greatly appreciated. :)

Link to comment
Share on other sites

Hi there

 

 

You can grab the code from further down the page, strip out the bit for reviews and then add it after the <h1> code for the price

 

<div>
 <h1 style="float: right; color:#999;"><?php echo $products_price; ?></h1>
   <div class="buttonSet" >
    <span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?></span>
 </div>

 

Provided you have a pretty standard osC with no extra <form> tags that would give you a working BUy Now button in both places

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...