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:
XML Woes (2004)
spaces in [texta] (1998)
WebCat editing, SiteGuard & SiteEdit (1997)
WebMerchant - MacAuthorize (1999)
webcat2b12 CGI -- Date comparisons (1997)
what the... (2004)
docs for WebCatalog2 (1997)
off topic - dna snipets (1997)
WebDNA Quick Reference (Reserved Words) (2000)
method of payment (1997)
Assigning new CART number (1997)
[OT] 'Email this story to a friend' (2003)
Updating Prices db (still not working) (1999)
RequiredFields template (1997)
&FieldNametype=time unnecessary? (2000)
Question... (2002)
Extra equals signs with IE? (More debugging questions...) (1997)
WCS Newbie question (1997)
ReturnRaw and redirect (1997)
In Digest Dijon (2000)