Re: setlineitem quantity to zero?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29638
interpreted = N
texte = >on 03/27/00 12:00 PM, Irene Chien at irenec@dhorse.com wrote: > > > Is it not possible to set the quantity of an item in a shopping cart > > to zero? I would like to hold items with zero quantity in the > > shopping cart briefly so that I can display out-of-stock items before > > removing the item from the shopping cart. > >Check the archives for my posts entitled Inventory Adjustment. Especially >look for the one entitled Inventory Adjustment SOLUTION. > >I have WC deduct ordered items from inventory. When the number of items >reaches 1<, I have WC display a message (Out of Stock, Temporarily >Unavailable, whatever) and also have it NOT display the Add to Cart feature. >That allows customers to see the item and its decription, but not place it >in the shopping cart. IMHO, that seems like an easier way to solve your >problem. > >GlennYes, we similarly prevent items from being displayed on the shopping site when inventory has dipped down to zero. However, we do not deduct items from inventory at the moment a person places an item in their shopping cart, but when the person actually makes a purchase. Therefore, it is slightly possible that if 2 people have the last of an item in stock in their shopping carts and 1 person completes the purchase, the item will have gone out-of-stock while still in the other person's shopping cart. If this happens, I'd like to be able to set the lineitem quantity to zero.Thanks, Irene________________________________ Irene Chien Senior Web Developer, Dark Horse Comics irenec@dhorse.com http://www.darkhorse.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re[2]: setlineitem quantity to zero? (jpeacock@univpress.com 2000)
  2. Re: setlineitem quantity to zero? (Glenn Busbin 2000)
  3. Re: setlineitem quantity to zero? (Michael Winston 2000)
  4. Re: setlineitem quantity to zero? (Michael Winston 2000)
  5. Re: setlineitem quantity to zero? (Glenn Busbin 2000)
  6. Re: setlineitem quantity to zero? (Michael Winston 2000)
  7. Re: setlineitem quantity to zero? (Glenn Busbin 2000)
  8. Re: setlineitem quantity to zero? (Irene Chien 2000)
  9. Re: setlineitem quantity to zero? (Glenn Busbin 2000)
  10. setlineitem quantity to zero? (Irene Chien 2000)
>on 03/27/00 12:00 PM, Irene Chien at irenec@dhorse.com wrote: > > > Is it not possible to set the quantity of an item in a shopping cart > > to zero? I would like to hold items with zero quantity in the > > shopping cart briefly so that I can display out-of-stock items before > > removing the item from the shopping cart. > >Check the archives for my posts entitled Inventory Adjustment. Especially >look for the one entitled Inventory Adjustment SOLUTION. > >I have WC deduct ordered items from inventory. When the number of items >reaches 1<, I have WC display a message (Out of Stock, Temporarily >Unavailable, whatever) and also have it NOT display the Add to Cart feature. >That allows customers to see the item and its decription, but not place it >in the shopping cart. IMHO, that seems like an easier way to solve your >problem. > >GlennYes, we similarly prevent items from being displayed on the shopping site when inventory has dipped down to zero. However, we do not deduct items from inventory at the moment a person places an item in their shopping cart, but when the person actually makes a purchase. Therefore, it is slightly possible that if 2 people have the last of an item in stock in their shopping carts and 1 person completes the purchase, the item will have gone out-of-stock while still in the other person's shopping cart. If this happens, I'd like to be able to set the lineitem quantity to zero.Thanks, Irene________________________________ Irene Chien Senior Web Developer, Dark Horse Comics irenec@dhorse.com http://www.darkhorse.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Irene Chien

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Robots fill event log (1997) WebCat2b15MacPlugin - [protect] (1997) FWD: Autoproxy Bug with WebCatalog and FireSite (1997) Limitations on fields? Server is crashing (1997) Cookies (1999) Security Hole - NetCloak Update (1998) Re:Virtual hosting and webcatNT (1997) Date Sorting (1997) FINAL: STILL not starting on bootup - FIX? (2002) [OT] .php3 extension (2000) Real Audio files (1997) Frames and WebCat (1997) webdelivery.html and webna (1997) WebCatalog dying in NT (1998) Ok here is a question? (1997) WC2.0 Memory Requirements (1997) Text Variabels Not Passed To Include (2002) What if SSL server down? MAC (1997) how to use WebCat w. SSL & CyberCash (1998) multi-paragraph fields (1997)