Re: Price and Formula.db
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45498
interpreted = N
texte = Glenn Busbin wrote:> >are you sure that the variable you are using in the lookup is avaiable in> >the scope of the formulas database?> >>> I'm sure the same formula used in the Formulas.db is able to access the variable when copied and pasted into a template.>> I can also hard code the variable into the Formulas.db and get the correct price in the shopping cart, but hard coding defeats the purpose of the lookup.>> Why it won't work with a lookup is beyond me. This is getting to be more than frustrating.Glenn, did you do the test that I stated? In a site that I built I had to learn the formulas.db inside and out including multiple nested includes of code.I re-looked at them and I didn't use any outside vars. I either used [orderfile] vars or set newones within my includes. This leads me to believethat I forgot that you CANT pass non-orderfile variables into the formulas.db.Can anyone confirm or deny?If it is confirmed.. maybe you can setheader your needed data to a header1-40 and use that?At any rate, if you want to test it only hard code your [option] var and see if it works. If it does then your problemis that you are not getting that variable passed.Donovan>>> Glenn>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Glenn Busbin wrote:> >are you sure that the variable you are using in the lookup is avaiable in> >the scope of the formulas database?> >>> I'm sure the same formula used in the formulas.db is able to access the variable when copied and pasted into a template.>> I can also hard code the variable into the formulas.db and get the correct price in the shopping cart, but hard coding defeats the purpose of the lookup.>> Why it won't work with a lookup is beyond me. This is getting to be more than frustrating.Glenn, did you do the test that I stated? In a site that I built I had to learn the formulas.db inside and out including multiple nested includes of code.I re-looked at them and I didn't use any outside vars. I either used [orderfile] vars or set newones within my includes. This leads me to believethat I forgot that you CANT pass non-orderfile variables into the formulas.db.Can anyone confirm or deny?If it is confirmed.. maybe you can setheader your needed data to a header1-40 and use that?At any rate, if you want to test it only hard code your [option] var and see if it works. If it does then your problemis that you are not getting that variable passed.Donovan>>> Glenn>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Donovan
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:
How to verify email address (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Unique SKU Numbers (2000)
New public beta available (1997)
math a various prices (1997)
Credit Card processing (1998)
politeness (was searches with dash...) (2000)
NT [delete] - duh nevermind. (1998)
Reminder... (2003)
Locking up with WebCatalog... (1997)
japanese characters (1997)
Public Beta for WebCatalog 4.0 is Available (2000)
Searchable list archive (1997)
Size limit for tmpl editor ? (1997)
WebTen + WebCatalog Plugin clarification (1998)
WC2.0 Memory Requirements (1997)
HomePage Caution (1997)
WebCat2b12--[searchstring] bug (1997)
Initiating NewCart (1997)
More on the email templates (1997)