Re: [Price]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14949
interpreted = N
texte = At 04:37 PM 11/20/97, you wrote: >>Under any page with a founditems context it will pull and show the [price] >>from the database, yet after I $add to the cart, then $showcart on next >>page using [lineitems] the price is not there. I checked all the code and >>it seems correct, plus I flushed my database when I uploaded the new one. > >When you $Add a product to the cart, WebCatalog looks in the formulas.db for a formula that defines the price. If you just remove that formula, it defaults to whatever [price] field is in your database (probably a good idea in your case). My guess is you used a formula that uses db=catalog.txt or something like that, and your actual database is named something else. > >The reason for the formulas is to give you more flexibility in pricing (certain customers get a discount, etc). The other reason is security -- rather that just look in a
for the price (which someone can hack easily), we require that price information come from server-side databases or formulas.That was it...Thank's Grant, I forgot I was using that. Associated Messages, from the most recent to the oldest:

    
  1. Re: [price] maddness (Andrew Simpson 2002)
  2. Re: [price] maddness (Arturo Vargas 2002)
  3. Re: [price] maddness (Donovan 2002)
  4. Re: [price] maddness (Arturo Vargas 2002)
  5. Re: [price] maddness (Donovan 2002)
  6. Re: [price] maddness (Arturo Vargas 2002)
  7. Re: [price] maddness (Arturo Vargas 2002)
  8. Re: [price] maddness (Gary Krockover 2002)
  9. Re: [price] maddness (Glenn Busbin 2002)
  10. Re: [price] maddness (John Peacock 2002)
  11. Re: [price] maddness (Glenn Busbin 2002)
  12. Re: [price] maddness (Donovan 2002)
  13. [price] maddness (Arturo Vargas 2002)
  14. Re: [price] via a search (PCS Technical Support 1998)
  15. [price] via a search (Marty Schmid 1998)
  16. Re: Display [price] in banner ad (PCS Technical Support 1998)
  17. Re: Display [price] in banner ad (Mark Bergkvist 1998)
  18. Re: Display [price] in banner ad (PCS Technical Support 1998)
  19. Re: Display [price] in banner ad (Mark Bergkvist 1998)
  20. Re: Display [price] in banner ad (PCS Technical Support 1998)
  21. Re: Display [price] in banner ad (Mark Bergkvist 1998)
  22. Re: Display [price] in banner ad (Kenneth Grome 1998)
  23. Display [price] in banner ad (Mark Bergkvist 1998)
  24. Re: [Price] (Raymond Hatch 1997)
  25. Re: [Price] (Raymond Hatch 1997)
  26. Re: [Price] (Grant Hulbert 1997)
  27. Re: [Price] (bob 1997)
  28. [Price] (Raymond Hatch 1997)
At 04:37 PM 11/20/97, you wrote: >>Under any page with a founditems context it will pull and show the [price] >>from the database, yet after I $add to the cart, then $showcart on next >>page using [lineitems] the price is not there. I checked all the code and >>it seems correct, plus I flushed my database when I uploaded the new one. > >When you $Add a product to the cart, WebCatalog looks in the formulas.db for a formula that defines the price. If you just remove that formula, it defaults to whatever [price] field is in your database (probably a good idea in your case). My guess is you used a formula that uses db=catalog.txt or something like that, and your actual database is named something else. > >The reason for the formulas is to give you more flexibility in pricing (certain customers get a discount, etc). The other reason is security -- rather that just look in a for the price (which someone can hack easily), we require that price information come from server-side databases or formulas.That was it...Thank's Grant, I forgot I was using that. Raymond Hatch

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:

PCS Frames (1997) Search returns all, not 20 (1997) NTbeta18 corrupted? (1997) Preserving form data (1999) New global preference ... ??? (2000) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] WebDNA 6.2 ErrorLog.txt (2014) authenticating a second user (1997) Installation Woes (2003) suffix mapping for NT? (1997) Commitdatabase tag (1998) expired beta (1997) Adding multiple items to Cart at one time, & append contextproblem (1998) Web* 4.2 (2000) Using Plug-In while running 1.6.1 (1997) Webcat 2.0.1 date math bug -> Crash! (1997) Practice runs ? (1997) WebCat2_Mac RETURNs in .db (1997) WebCatalog/WebMerchant 2.1 (1998) Trouble with formula.db (1997)