Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Maintain position when click in button buy now


VALENC1ANO

Recommended Posts

Posted

Hi from spain and sorry for my english. In spanish forum about oscommerce nobody knows the solution.

 

I have product listing in lines. When i go down and select the product and write the quantity in the box, when click one the button buy now the quantity selected adds into the basket but the problem is that the cursor returns on the top of the page and the customer needs to go down another time to select the next product.

 

i think i need to modify the next code (button buy now) but i don't know:

 

case 'PRODUCT_LIST_BUY_NOW':
         $lc_align = 'center';
         $lc_text = tep_draw_form('buy_now' . $listing['products_id'], tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']), 'POST') . TEXT_QTY . tep_draw_input_field('list_quantity', '1', 'size=2') .'   '. tep_image_submit('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</form> ';
           break;

 

i hope i explain well the question...if any body can helps me ... (-;

 

thanks

Archived

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

×
×
  • Create New...