Re: Am I going senile? (Price recalc based on quantity)

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13722
interpreted = N
texte = >OK, I figured out my problem. I needed to remove the passwrod security for >changing an item's price at runtime. > >Is there any way to allow a change by hardcoded WEBDNA but not by URL-passing?Yes, in the formulas.db you can use any WebDNA expression to create a price. I'll look into special-casing [SetLineItem] as another avenue, because it makes sense that you should be able to use an embedded context to securely change a price.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Am I going senile? (Price recalc based on quantity) (Luke Melia 1997)
  2. Re: Am I going senile? (Price recalc based on quantity) (Luke Melia 1997)
  3. Re: Am I going senile? (Price recalc based on quantity) (Luke Melia 1997)
  4. Re: Am I going senile? (Price recalc based on quantity) (Grant Hulbert 1997)
  5. Re: Am I going senile? (Price recalc based on quantity) (Grant Hulbert 1997)
  6. Re: Am I going senile? (Price recalc based on quantity) (Luke Melia 1997)
  7. Re: Am I going senile? (Price recalc based on quantity) (Luke Melia 1997)
  8. Am I going senile? (Price recalc based on quantity) (Luke Melia 1997)
  9. Re: Am I going senile? (Price recalc based on quantity) (Grant Hulbert 1997)
>OK, I figured out my problem. I needed to remove the passwrod security for >changing an item's price at runtime. > >Is there any way to allow a change by hardcoded WEBDNA but not by URL-passing?Yes, in the formulas.db you can use any WebDNA expression to create a price. I'll look into special-casing [setlineitem] as another avenue, because it makes sense that you should be able to use an embedded context to securely change a price.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Pipes instead of tabs (1998) RE: Subtotal help (1997) Re:Searching for ALL / empty form field (1997) weiered lookup (2004) shownext (1997) WebCat2 Append problem (B14Macacgi) (1997) If Empty ? (1997) NT installation (2000) select menus & database design (1998) Error: Permision deny. (2005) [WebDNA] multi-language sites in current versions of webdna? (2010) Re[2]: Re[2]: OT: Amazon Patents (2000) Requiring that certain fields be completed (1997) ShowIf variables (1997) Reload adding to cart (2001) includes and cart numbers (1997) New syntax feedback for 4.0 (2000) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Multiple Pulldowns (1997) WebCat2: Items xx to xx shown, etc. (1997)