Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default help: update quantity

    After adding a product to my shopping cart, I go to my shopping cart page and try to add another product by changing the #1 to #2 in the quantity box.

    After pressing the UPDATE CART button that I have underneath the table (I removed the ones appearing next to each quantity box because I did not want too many update buttons), the page does not update to the new quantity.... how can I fix it?



    my web is: http://www.amnyperfumes.com/zen-cart

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: help: update quantity

    That is often a template thing. When you switch temporarily to the 'Classic' template, does it work?

  3. #3
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: help: update quantity

    how can I fix it?

  4. #4
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: help: update quantity

    BTW, I checked both Classic and MYCUSTOM tpl_shopping_cart.php files and the only difference resides on the code that I was advised to remove, in order to get rid-off the update button on each and every item row in the shopping cart. I only left 1 update button at the bottom of the cart, but so far it does not update changes on the quantities. The code I removed is:

    <?php
    if ($product['buttonUpdate'] == '') {
    echo '' ;
    } else {
    echo $product['buttonUpdate'];
    }
    ?>


    I don't want the buttons back, but only that the update action happens when I click the update button located below the table.

    Please advise. thanks!

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

    Default Re: help: update quantity

    I would put the code back to how it was and just use the built in settings to remove the Update Button from each line and just have the one below the items in the Configuration ... Stock Settings ...
    Show Shopping Cart - Update Cart Button Location
    Show on Shopping Cart Update Cart Button Location as:

    1= Next to each Qty Box
    2= Below all Products
    3= Both Next to each Qty Box and Below all Products
    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!]
    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
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: help: update quantity

    Ajeh, you rock! it worked. thanks a lot. =)

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

    Default Re: help: update quantity

    Thanks for the update that the built in switches to control the Update buttons on the shopping_cart was able to set your Shopping Cart up correctly without the need of changing code ...
    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!]
    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. v151 Update Quantity
    By joem83 in forum General Questions
    Replies: 2
    Last Post: 7 Jun 2014, 10:23 PM
  2. quantity update problem
    By willie bee in forum General Questions
    Replies: 11
    Last Post: 25 May 2011, 05:30 PM
  3. Update cart Quantity
    By red8ii8 in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 20 Oct 2010, 02:06 AM
  4. Position quantity update button under quantity box
    By JC.M in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Feb 2010, 02:43 PM

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