Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 7 of 7

Thread: changing a buy now button to an add to cart button in product list

  1. #1
    tanyacollier
    Guest


    Default changing a buy now button to an add to cart button in product list

    Hello, I am trying to create a very simple (for the user) order form that customers can select quantities of each item and proceed to checkout in minimum number of clicks.

    So far I have updated product listing to include a qty box and now I am trying to change the 'buy it now' to an 'add to cart' button.

    What I would really like to do is have customers be able to enter quantity of each item they want and then press one 'add to cart' button and go to checkout, rather than have to add each item to the cart. However I would be happy if I could just change buy it now to add to cart.

    If you look at the old website http://www.sycanmeats.com.au/fundraising.htm , it is a very basic calculator & form...we would be happy for it to be as simple as that, just with the functionality oscmax offers. And here is the work in progress Sycan Fundraising : . (nb. although the buttons say 'add to cart' it actually only forwards you to the item)

    It would also be great if this 'order form' could be on the main page...but that is another post!

    I would really appreciate any help!

  2. #2
    met00
    Guest


    Default Re: changing a buy now button to an add to cart button in product list

    Are you looking for something like
    Chalk : Discount School Supplies - Discount Education Supplies from Education 4 Kids, Inc.

    when you press on the "buy now", it adds it to the cart without going to the products page?

    Or are you looking for an "add to cart" with a quantity box?
    (like Blackboard Chalk [CK-1760] - $1.75 - Discount School Supplies - Discount Education Supplies from Education 4 Kids, Inc. : Blackboard Chalk [CK-1760] - $1.75)
    but in the category listing.

  3. #3
    tanyacollier
    Guest


    Default Re: changing a buy now button to an add to cart button in product list

    Add to cart with qty in the category listing please

    Similar to https://www.colesonline.com.au/webap...s:ShowWebStore
    if you go into any of the categories (sorry for some reason I can't get a url directly into a category), you are given a list where you can simply enter the quantity and click add to cart and it appears in the shopping cart in the right hand column, without being taken to a product page and without being taken to the cart page.

    Thank you!

  4. #4
    met00
    Guest


    Default Re: changing a buy now button to an add to cart button in product list

    can't get into the store link your provided (need an au post code)

    As for what you want to do, it can be done and it's not that hard. I don't know if there is already a mod for it, but if not, it's about a 20 minute hack to /includes/modules/product_listing.php or /includes/modules/product_listing_col.php (depending on which you are using)

  5. #5
    tanyacollier
    Guest


    Default Re: changing a buy now button to an add to cart button in product list

    Thank you for replying! I am using /includes/modules/product_listing.php which I replaced with a mod to include the qty box.

    I will try to attach the php in a text box.

    Could I be cheeky and ask for details of such a mod? I have googled for hours trying to find the answer...perhaps I am searching for the wrong thing...but no luck.
    Attached Files Attached Files

  6. #6
    osCMax Development Team

    changing a buy now button to an add to cart button in product list

    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,517
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    pgmarshall     $ 35.00
    Rep Power
    77


    Smile Re: changing a buy now button to an add to cart button in product list

    The best place to look for code is at www.oscommerce.com ...

    You could try this one ...

    Regards,
    pgmarshall
    _______________________________

  7. #7
    tanyacollier
    Guest


    Default Re: changing a buy now button to an add to cart button in product list

    Thank you, I will go and have a look around!

    I have actually used that mod, whic was great...it added the quantity boxes I wanted, but unfortunately the 'add to cart' is only the image, it still operates as a 'buy it now' button.

    My php isn't the greatest, I have tried to copy 'add to cart' from the product info page into my category listing...but end up with errors.

Similar Threads

  1. Remove Product From Cart Button
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 10-06-2009, 04:00 PM
  2. Enlarge Picture Button In Product List
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-02-2008, 02:04 AM
  3. Enlarge Picture Button In Product List
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-29-2008, 08:40 PM
  4. Enlarge Picture Button In Product List
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-13-2007, 11:11 AM
  5. 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, 05:13 PM

Tags for this Thread

Bookmarks

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
  •