Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Oct 2007
    Posts
    387
    Plugin Contributions
    0

    Default Update quantity in cart not updating

    ZC 2.1.0

    Not sure if this is a bug or if I did something wrong, did anybody else have problems with updating the quantity in the shopping cart? right before checking out. When I change the quantity and click the Update icon, neither the quantity or the amount is updated.
    Name:  screenshot-nordfield_com-2025_01_06-16_01_15.jpg
Views: 229
Size:  40.3 KB

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,823
    Plugin Contributions
    0

    Default Re: Update quantity in cart not updating

    is that the bootstrap template? what version of the template?
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Oct 2007
    Posts
    387
    Plugin Contributions
    0

    Default Re: Update quantity in cart not updating

    Yes Bootstrap 3.7.4

  4. #4
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    256
    Plugin Contributions
    4

    Default Re: Update quantity in cart not updating

    Quote Originally Posted by DML73 View Post
    Yes Bootstrap 3.7.4
    Which version of zc did you upgrade from and how old is your database?

    I had the same issue and ended up putting in the recursive classic template file with a few embellishments copied in from the bootstrap version as a workaround.

    My db is 10 years old and I swear it's something to do with it because if I use the test db it works fine.

  5. #5
    Join Date
    Oct 2007
    Posts
    387
    Plugin Contributions
    0

    Default Re: Update quantity in cart not updating

    That's what I was afraid of. I upgraded from v1.5.7, but the database is even older, from 1.3.x I believe.

    Do you remember which files fixed this? or did you use the full classic template file-set?

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,849
    Plugin Contributions
    11

    Default Re: Update quantity in cart not updating

    i would open the dev tools and look at the console.

    i have a feeling you have an error there that is causing the problem.

    i would think it unlikely to be a db problem. although i could be wrong…

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,617
    Plugin Contributions
    19

    Default Re: Update quantity in cart not updating

    If you followed the upgrade process and upgraded your database during your upgrade process, then your database is not from v1.3.x - it's now an upgraded database and you're free to say it's from 2.1.0
    I upgraded a 1.2.4 site recently (yup, you read it right) and it's currently on 2.1.0 and everything works just fine so it's very unlikely that this is a database issue.

    A URL would help for sure... Maybe your form element is closing before the update button?

  8. #8
    Join Date
    Oct 2007
    Posts
    387
    Plugin Contributions
    0

    Default Re: Update quantity in cart not updating

    Sounds good regarding the database.
    The url is: https://nordfield.com/
    Any ideas would be great.

  9. #9
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,617
    Plugin Contributions
    19

    Default Re: Update quantity in cart not updating

    I'm not familiar with that template, but do check your includes/templates/bootstrap/templates/tpl_shopping_cart_default.php

    You're missing one line:
    Code:
    echo zen_draw_hidden_field('products_id[]', $product['id']);
    When you click the update button, quantities *are* POSTed, but there's no products_id array, and I don't see the hidden products_id field anywhere in the form...

  10. #10
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    256
    Plugin Contributions
    4

    Default Re: Update quantity in cart not updating

    Quote Originally Posted by DML73 View Post
    That's what I was afraid of. I upgraded from v1.5.7, but the database is even older, from 1.3.x I believe.

    Do you remember which files fixed this? or did you use the full classic template file-set?
    Sorry, overseas at present so can't be too precise.

    Try replacing tpl_shopping_cart.php with the version from recursive classic. But you'll need to comment out some lines referring to mobil usage. If the functionality works then you have the same issue I have.

    I can send you my file if you want. Pm me your email and I can send to you.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. 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
  2. Not able to update product quantity in shopping cart
    By bstoppel in forum General Questions
    Replies: 5
    Last Post: 3 Aug 2009, 06:15 PM
  3. Shopping cart quantity not updating in Firefox
    By DML73 in forum General Questions
    Replies: 0
    Last Post: 12 Nov 2008, 05:13 PM
  4. Update Cart button not updating cart
    By nathancarnes in forum General Questions
    Replies: 10
    Last Post: 24 Apr 2007, 08:50 PM
  5. Quantity in cart does not update correctly. Why ?
    By carlocas in forum General Questions
    Replies: 3
    Last Post: 21 Mar 2007, 06:01 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