osCmax v2.5 User Manual
Results 1 to 2 of 2

Add to Cart Button

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 ...

      
  1. #1
    New Member
    Join Date
    Jul 2004
    Posts
    5
    Rep Power
    0


    Default Add to Cart Button

    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

  2. #2
    Lurker
    Join Date
    Jan 2005
    Posts
    1
    Rep Power
    0


    Default I have the same problem. any Solution

    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

Similar Threads

  1. add to cart button and detail button show on main page
    By jikey in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 01-14-2007, 04:13 PM
  2. Automatic remove button in shopping cart
    By auntie22 in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 10-25-2005, 07:03 PM
  3. adding a buy now button to the shopping cart
    By doumawis in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 02-28-2005, 04:21 AM
  4. my add to cart button is HIJACKED
    By uab3 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-15-2004, 10:46 AM
  5. Empty shopping cart after clicking Buy Now Button
    By Walter in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 05-03-2004, 10:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •