Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2009
    Location
    Athens, Europe
    Posts
    126
    Plugin Contributions
    0

    Default Substract product quantity when added to cart

    Hallo, I am running on a fresh install of Zen Cart 1.3.8a building a store with products that are not available in quantities. Usually, there might be one or two.

    If a customer adds one product in its basket, the quantity is not substracted from the product's page. This means that if another client simultaneously puts a product in its cart, at the end one of them will be disappointed.

    Is there a way I could guarantee that everything existing in the basket will be available at the checkout?

    Kind regards,
    orange_juice

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,477
    Plugin Contributions
    121

    Default Re: Substract product quantity when added to cart

    The system does this for you at each point throughout checkout, because at any point along the way a cart can be abandoned. Stock is only reduced at the very end of the process after a succesful checkout.
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  3. #3
    Join Date
    Apr 2009
    Location
    Athens, Europe
    Posts
    126
    Plugin Contributions
    0

    Default Re: Substract product quantity when added to cart

    Thanx for the very promt reply.

    What I want to avoid, is to have one client putting an existing product in its cart and then in the middle of the checkout to receive a message "the product is out of stock", just because someone else was a step ahead.

    It would be fair, just as in a real store, when someone holds a product in his hand (although he might dump it somewhere until he reaches the cachier) noone else can buy it. (especially when the majority of products is in a limited number)

    Is this something feasible?

    Kind regards,
    orange_juice
    Last edited by orange_juice; 18 Mar 2010 at 11:08 AM.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    18,031
    Plugin Contributions
    1

    Default Re: Substract product quantity when added to cart

    There are only two ways to subtract from stock, and neither is a perfect solution.

    Zencart, along with every other cart I'm familiar with, subtracts the item when the checkout is complete. The drawback is that two people can have the single remaining item in their respective carts, and one will be disappointed.

    The other way would be to subtract the item when it is placed in a cart. The downside to that is that someone could come to your site, login, place the last item in his cart, then leave, tying up that product for quite a while.

    I think the standard Zencart method is the best compromise.

  5. #5
    Join Date
    Apr 2009
    Location
    Athens, Europe
    Posts
    126
    Plugin Contributions
    0

    Default Re: Substract product quantity when added to cart

    Indeed this seems not to be a bad choice.

    I will give it a try and see what happens in real market activity with this issue.

    At least I am aware of it and I will find a way to notify my custommers that all the products in low stock are served on a "be quick or be dead" basis! LOL

    Kind regards,
    orange_juice

 

 

Similar Threads

  1. Blank page comes up when product added to cart
    By DebiWebi in forum Basic Configuration
    Replies: 4
    Last Post: 21 Aug 2009, 04:30 PM
  2. Successfully added Product to the cart ...
    By mviben in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Apr 2009, 01:08 PM
  3. Do not want to show product quantity or the date it was added ??
    By tanyaleann in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 25 Sep 2008, 12:23 AM
  4. Quantity of Items Added to Cart/Editing Quantity in Cart
    By johnhutch in forum Customization from the Admin
    Replies: 1
    Last Post: 12 Feb 2007, 09:20 AM
  5. Replies: 2
    Last Post: 8 Jun 2006, 02:54 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
  •