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:
emailer on Windows Beta 18 (1997)
sendmail spaces (1997)
Frames and WebCat (1997)
createfolder not behaving as expected (1999)
[WebDNA] Sorry WebDNA server not running - September 2019 Edition (2019)
$Replace with [founditems] (1997)
complete escaped ascii chart - importing and exporting filesquestion (1998)
' add to cart ' or ' sku ' problem (1998)
Nested searches (1998)
Next X hits (1996)
New Command prefs ... (1997)
SSL and reg web* (1997)
Error: Too many nested [xxx] contexts (1997)
Trouble with formula.db + more explanation (1997)
EIMS Problems (1997)
More on the email templates (1997)
[random] only for 1-100??? (1997)
Database Updates (1997)
Cant open pages generated by Webcat (2004)
Using [showif] within [lineitems] (2000)