Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2011
    Location
    Hong Kong
    Posts
    29
    Plugin Contributions
    1

    help question Auto update shopping cart

    Currently, the shopping cart shows the following:



    If a customer changes the quantity, then they ALSO have to push the update button to get the updated price; if they forget, or press [back to shopping] or [go to checkout] the changes are lost.

    What I want to achieve is that if the customer changes the quantity, that the price is updated automatically; either upon typing a number, upon hitting the [enter] key or the [tab] key.


    .

    Anyone can help me with this?

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

    Default Re: Auto update shopping cart

    You should already be able to type a new quantity and hit enter to update the quantity ...

    Let's say I have 3 Products in the shopping cart with quantity 1 ...

    I then change the quantities to to 2, 5, 3 and hit enter ... the product quantities should update all 3 of the products when I hit enter from any of the quantity fields ...
    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!

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,513
    Plugin Contributions
    126

    Default Re: Auto update shopping cart

    Quote Originally Posted by jewelsnpearls View Post
    ...
    What I want to achieve is that if the customer changes the quantity, that the price is updated automatically; either upon typing a number, upon hitting the [enter] key or the [tab] key.
    You will have to hit enter to make it go back to the server. It doesn't update in Javascript in the user's browser; you need to do a new pageload.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. quickbooks point of sale 9 and zen cart auto stock update possible?
    By Xbox Memberships in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 3 Sep 2011, 08:56 PM
  2. Can I get shopping cart to auto update stock quantity to max available
    By WayneStephens in forum Managing Customers and Orders
    Replies: 5
    Last Post: 17 Apr 2010, 05:42 PM
  3. Auto Fill Shopping Cart
    By grgolf in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Dec 2008, 11:58 PM
  4. Auto-Adding product(s) to shopping cart?
    By Sheehan in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 16 Aug 2007, 05:58 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