Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2009
    Posts
    24
    Plugin Contributions
    0

    help question Can't Edit Qty of Items in Cart

    I had this problem with my 1.3.9 (only mod was grid layout) and thought upgrading to 1.5.0 might fix it...but it didn't. I can't edit the quantity of an item after it's been added to the cart. Instead of an editable space where the number can be changed, it just has the number.

    I'm running 1.5.0, a rather clean upgrade then customized to my own template, and I've added some add ons now:
    save for later
    gift wrap (still configuring)
    ty tracking
    snaf
    flexible attributes
    usps

    My zen cart is at http://aprilmariemai.com

    I couldn't find anything talking about this with search or the faq.

    Any suggestions on what the problem might be?
    Thanks so much for any help!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't Edit Qty of Items in Cart

    If you edit a product ... what is the setting for:
    Products Quantity Box Shows: Yes, Show Quantity Box No, Do not show Quantity Box
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Aug 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: Can't Edit Qty of Items in Cart

    Oh! I have those set to off so it doesn't ask people for a qty before they add to cart. Does that also turn off the ability to edit qty in the cart? I hadn't thought of that at all!

  4. #4
    Join Date
    Aug 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: Can't Edit Qty of Items in Cart

    I tested it, and yes, that did it!

    Thanks! I did not realize that affected the ability to edit the qty in cart as well as on the product page. I will change them back.

    Thanks so much!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't Edit Qty of Items in Cart

    Thanks for the update that this fixes things for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Can't Edit Qty of Items in Cart

    Hello,

    Is there anyway to achieve both, do not display quantity box on product page but have the ability to edit in the cart?

    This comes useful when a customer mistakenly adds the product twice (we have a lot of attributes so it wouldn't be so convenient to remove all together)

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't Edit Qty of Items in Cart

    If I understand what you are trying to do here ... using your templates and overrides, customize the file:
    tpl_shopping_cart_default.php

    and add the code in RED for around line 68:
    Code:
      if (false && $product['flagShowFixedQuantity']) {
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Can't Edit Qty of Items in Cart

    To hide the quantity box in the product info page, add to your stylesheet
    Code:
    #cartAdd input[name='cart_quantity'] {display: none;}
    To remove the text before the box, you can edit the define for it. Search in Tools > Developers Toolkit for Add to Cart to find the file to edit. Change the defined value from 'Add to Cart:' to ''.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 15 Jan 2014, 04:17 AM
  2. Replies: 2
    Last Post: 22 May 2011, 05:13 PM
  3. Can I have two different checkout methods dependent upon the qty of items in cart?
    By kbascombe in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 28 Aug 2009, 05:28 PM
  4. Can't update QTY in shopping cart
    By dwdusharme in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 9 Jan 2009, 12:49 AM
  5. Can't edit product QTY in cart
    By csb in forum General Questions
    Replies: 2
    Last Post: 2 Jul 2007, 08:21 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR