Re: passing info to thankyou.tpl
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21785
interpreted = N
texte = >I'm having problems getting the info from my invoice.tpl to the>thankyou.tpl file (and it's associated .txt email inclusion files) It>looks like none of the data is getting through at all! What could be>the matter? These pages are 99 44/100% right out of the examples.>Formatting and colors have changed, and the email addresses in the>fulfillment.txt file, but nothing else.It all depends on what context you're in. For instance, hitting a pagewith command=ShowCart (or Purchase) wraps the entire page inside theequivalent of an [OrderFile] context, which makes it so that anywhere onthat page you can access orderfile information like all the headers and theLineItems.However, if you just hit a page with no ShowCart, then it's not 'in thecontext of' an order file, and all those header variables and lineitems aremeaningless, because WebCatalog has no idea which cart you intend to getinformation from.If you borrowed from the examples, and they work OK, then it's time to lookclosely at the differences between your pages and the examples. You'veprobably moved some of your email stuff outside the context where orderfileinformation would be meaningful.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>I'm having problems getting the info from my invoice.tpl to the>thankyou.tpl file (and it's associated .txt email inclusion files) It>looks like none of the data is getting through at all! What could be>the matter? These pages are 99 44/100% right out of the examples.>Formatting and colors have changed, and the email addresses in the>fulfillment.txt file, but nothing else.It all depends on what context you're in. For instance, hitting a pagewith command=ShowCart (or Purchase) wraps the entire page inside theequivalent of an
[orderfile] context, which makes it so that anywhere onthat page you can access orderfile information like all the headers and theLineItems.However, if you just hit a page with no ShowCart, then it's not 'in thecontext of' an
order file, and all those header variables and lineitems aremeaningless, because WebCatalog has no idea which cart you intend to getinformation from.If you borrowed from the examples, and they work OK, then it's time to lookclosely at the differences between your pages and the examples. You'veprobably moved some of your email stuff outside the context where orderfileinformation would be meaningful.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/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:
syntax question, not in online refernce (1997)
OH CRAP!!!!!- Template not found error!!! (1999)
RE: Purchased cart being overwritten (1997)
Forcing a NEWCART (1997)
5.0 Pricing (2003)
Emailer errors (1997)
WebCatalog 4.0 has been released! (2000)
OT - SMSI complaint (2001)
Summ=T Problem (1997)
View Source from cache (1997)
Other then credit cards-how? (1997)
Kaaaaahhhhhhhnnnnnnn! (1997)
FlushDatabases (2000)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Duplicate Hell (1999)
Chicago based WebCat Hosters (2000)
WebCat2b12 - nesting [tags] (1997)
nesting limits? (1998)
Math Problem - Format? (1997)
HomePage Caution (1997)