Re: Confused about QTY and QTY* price updating

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20098
interpreted = N
texte = >sorry but the tearoom example DOESN'T have an update button, nor does the >general store, and there's nothing in my manualMaybe I don't understand what you mean. When I go to the GeneralStore and put something in the cart I see a Qty field I can type in. When I proceed to Final Checkout, the resulting qty shows up there. If I back up and change it, it gets changed in the final invoice. Do you not mean that?>Also, another strange and related behavior.... clicking on the refresh >button of the browser causes the general store cart example to add items >on its own (and any templates derived from it), but the tearoom doesn't.This is most likely a browser caching issue. Probably the GeneralStore templates contain Pragma no-cache headers in them, and the TeaRoom ones don't. Your browser may be deciding to re-send a form, when other browsers might not. It is a nasty issue, because no two browsers are the same, but you can usually control it with HTML pragmas or worst-case code some WebDNA to look for duplicates in your cart and remove them.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Confused about QTY and QTY* price updating (PCS Technical Support 1998)
  2. Confused about QTY and QTY* price updating (John Reginald Harris Jr 1998)
>sorry but the tearoom example DOESN'T have an update button, nor does the >general store, and there's nothing in my manualMaybe I don't understand what you mean. When I go to the GeneralStore and put something in the cart I see a Qty field I can type in. When I proceed to Final Checkout, the resulting qty shows up there. If I back up and change it, it gets changed in the final invoice. Do you not mean that?>Also, another strange and related behavior.... clicking on the refresh >button of the browser causes the general store cart example to add items >on its own (and any templates derived from it), but the tearoom doesn't.This is most likely a browser caching issue. Probably the GeneralStore templates contain Pragma no-cache headers in them, and the TeaRoom ones don't. Your browser may be deciding to re-send a form, when other browsers might not. It is a nasty issue, because no two browsers are the same, but you can usually control it with HTML pragmas or worst-case code some WebDNA to look for duplicates in your cart and remove them.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

[WebDNA] Show next..... (2010) please unsubscribe me! (2000) Finding max value for a field (1997) SiteEdit NewFile.html ? (1997) Photo Album (2000) [encrypt] blues.... (2000) Opinion: [input] should be called [output] ... (1997) all records returned. (1997) TCP Connect (2003) PCS Frames (1997) WebCat2b15MacPlugin - showing [math] (1997) Up and running ... at last !! (1997) File not found error message (1998) Credit Card not accepted (1998) Odd [math] behaviour (2003) Dark Horse Comics success story (1997) test (2004) Append File help needed (2000) Summing fields (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)