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 page with command=ShowCart (or Purchase) wraps the entire page inside the equivalent of an [OrderFile] context, which makes it so that anywhere on that page you can access orderfile information like all the headers and the LineItems.However, if you just hit a page with no ShowCart, then it's not 'in the context of' an order file, and all those header variables and lineitems are meaningless, because WebCatalog has no idea which cart you intend to get information from.If you borrowed from the examples, and they work OK, then it's time to look closely at the differences between your pages and the examples. You've probably moved some of your email stuff outside the context where orderfile information would be meaningful.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: passing info to thankyou.tpl (PCS Technical Support 1998)
  2. Re: passing info to thankyou.tpl (Gil Poulsen 1998)
  3. passing info to thankyou.tpl (Karl Isselhardt 1998)
  4. passing info to thankyou.tpl (Karl Isselhardt 1998)
>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 page with command=ShowCart (or Purchase) wraps the entire page inside the equivalent of an [orderfile] context, which makes it so that anywhere on that page you can access orderfile information like all the headers and the LineItems.However, if you just hit a page with no ShowCart, then it's not 'in the context of' an order file, and all those header variables and lineitems are meaningless, because WebCatalog has no idea which cart you intend to get information from.If you borrowed from the examples, and they work OK, then it's time to look closely at the differences between your pages and the examples. You've probably moved some of your email stuff outside the context where orderfile information would be meaningful.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/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)