Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2007
    Posts
    178
    Plugin Contributions
    0

    Default Second "Add to Cart" button.

    Is there any problem with adding a second "Add to Cart" button on my product pages? tpl_Product_Info_Dispaly.php
    My product descriptions contain so much info and I thougt having the "Add to Cart" button at both the top and bottom of the page would be nice. I've got the second button showing, but wanted to see if anyone knew of any potential problems I might run into using this method.

    How I did it. I just edited the above page, by copying the "Add to Cart" section of the code and pasting it above and below the product description.

    Thanks for any info...

    Rick

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Second "Add to Cart" button.

    The only problem is quantities.

    If a customer puts 1 item in the top field, and 3 items in the bottom field, - or 3 in the top field and then when he gets to the bottom he changes his mind and puts 4 in the bottom, then one of the fields has to be "ignored".

    Try this on a test order to see what I mean...
    20 years a Zencart User

  3. #3
    Join Date
    Sep 2007
    Posts
    178
    Plugin Contributions
    0

    Default Re: Second "Add to Cart" button.

    I see exactly what you mean.
    It uses the quantity from the bottom box, regardless of which "Add" button you click.

    Thanks!

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Second "Add to Cart" button.

    That's right... the last input field will supercede earlier ones (like css).
    20 years a Zencart User

 

 

Similar Threads

  1. v151 Getting rid of "add to cart" and just have a "buy" button
    By BryanKollar in forum General Questions
    Replies: 5
    Last Post: 22 Feb 2014, 06:41 PM
  2. Replies: 0
    Last Post: 2 Jan 2011, 01:14 PM
  3. Replies: 26
    Last Post: 19 Feb 2010, 02:56 AM
  4. Change "Add to cart" button to "Download" button instead?
    By m_mbarakota in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Jan 2009, 12:56 PM
  5. How to add "Download" button instead of "Add to cart" one
    By m_mbarakota in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Jan 2009, 04:49 AM

Posting Permissions

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