This is a discussion on Add to Cart Button within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I have a quantity box on my product_listing.php page and would like my customers to be able to select a ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| Did you ever figure out how to make the change. Let me know as I would love to know so I can make the change also. thanks mani |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| add to cart button and detail button show on main page | jikey | osCMax v2 Customization/Mods | 1 | 01-14-2007 05:13 PM |
| Automatic remove button in shopping cart | auntie22 | osCMax v1.7 Discussion | 2 | 10-25-2005 08:03 PM |
| adding a buy now button to the shopping cart | doumawis | osCMax v1.7 General Mods Discussion | 0 | 02-28-2005 05:21 AM |
| my add to cart button is HIJACKED | uab3 | osCommerce 2.2 Modification Help | 1 | 11-15-2004 11:46 AM |
| Empty shopping cart after clicking Buy Now Button | Walter | osCommerce 2.2 Modification Help | 0 | 05-03-2004 11:02 AM |