Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Location
    Chesterfield, VA
    Posts
    108
    Plugin Contributions
    0

    Default Cart not adding the proper quantity

    Greetings,

    It's been awhile since I worked on Zen-Cart, though I am familiar with most aspects. Sometimes I just need a nudge in the right direction.

    I have one cart that from the product info page, when you enter an amount in the quantity box, and click 'in cart', it ignores the amount you entered, and instead just puts one of the item in the cart. After that point you can update your cart as appropriate.

    Any idea why it's only adding 1 product into the cart instead of hte amount entered in the quantity box?

  2. #2
    Join Date
    Jan 2004
    Location
    Chesterfield, VA
    Posts
    108
    Plugin Contributions
    0

    Default Re: Cart not adding the proper quantity

    Nevermind. Found and fixed the problem.

    It seems I had copied the code that produces the quantity box in order to move it to a different place in the page, and having 2 quantity boxes on the same page caused the cart to have this issue. When I removed one of them, the cart went back to working fine.

    Thanks in advance.

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Cart not adding the proper quantity

    :) Thanks for posting the follow up.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. v155 Add Selected to Cart is not at proper places?
    By yisou in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 May 2016, 06:06 AM
  2. Replies: 1
    Last Post: 3 Nov 2013, 05:15 AM
  3. shopping cart - hide the Cart Quantity Update button when not needed
    By dause in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Oct 2009, 04:28 AM
  4. Proper Code for Image the Zen Cart Way
    By DLLong in forum General Questions
    Replies: 2
    Last Post: 30 Jan 2009, 09:26 AM
  5. Add to cart not adding the right quantity
    By rleepac in forum General Questions
    Replies: 1
    Last Post: 29 Jan 2009, 06:51 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