I have a quantity box on my product_listing.php page and would like my customers to be able to select a group of products they want to buy. Then they can press ANY "Add to Cart" button and all the products selected would be added to the cart.
The code for the "Buy Now" button is as follows:
$lc_text = tep_draw_form('buy_now', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id='. $listing['products_id']), 'POST') . '<table cellSpacing="0" cellPadding="0" width="100%"><tr><td align="right" width="25%">' . tep_draw_input_field('buyqty', '0', 'size=2 maxlength=2') . '</td><td align="center" width="75%" valign="absmiddle">' . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART, 'align=absmiddle') . '</td></tr></table></form>';
Any idea how I can do this?
I have lots of products on a page and it is a real pain to have the customer keep paging down all the time.
Thanks,
Donna Gordon
UKGoods





LinkBack URL
About LinkBacks






Bookmarks