Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default Cart Quantity Update Button Stopped Working

    The Cart Quantity Update Button is there, but doesn't "update" when clicked. I searched tpl_shopping_cart_default.php and found this bit of code to display the button, but I could not figure out how it "updates". I even went back through a few backups files and couldn't figure it out.

    </td>
    <td class="cartQuantityUpdate">
    <?php
    if ($product['buttonUpdate'] == '') {
    echo '' ;
    } else {
    echo $product['buttonUpdate'];
    }
    ?>
    </td>

    Thx Sweet

  2. #2
    Join Date
    Apr 2006
    Posts
    242
    Plugin Contributions
    0

    Default Re: Cart Quantity Update Button Stopped Working

    Try downloading a fresh zen-cart file set (your version), and replace that file.

  3. #3
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default Re: Cart Quantity Update Button Stopped Working

    Good idea shackle. I should be able to use winmerge and compare the 2 files and find out what's missing.

  4. #4
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default Re: Cart Quantity Update Button Stopped Working

    I went back to an old backup, used WinMerge and found this bit of code missing from tpl_shopping_cart_default.php

    <?php echo zen_draw_form('cart_quantity', zen_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?>
    <div id="cartInstructionsDisplay" class="content"><?php echo TEXT_INFORMATION; ?></div>

    The cart update works fine now.

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

    Default Re: Cart Quantity Update Button Stopped Working

    Thanks for the update that replacing the top of the <form> allowed the update buttons to process correctly again when submitted ...
    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!

 

 

Similar Threads

  1. v155 Update Button of Shopping Cart Reduces Quantity in Cart
    By mc12345678 in forum Bug Reports
    Replies: 2
    Last Post: 29 Jul 2016, 12:26 PM
  2. quantity update button in the cart - not saving changes
    By carl7081 in forum General Questions
    Replies: 10
    Last Post: 24 Oct 2010, 07:20 PM
  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. Update button not working in Shopping Cart page
    By dealbyethan.com in forum General Questions
    Replies: 1
    Last Post: 22 Apr 2007, 06:05 AM

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