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:

[date] insanity! (2001) [WebDNA] XML parsing issue with cdata (2012) problems with add to cart (2007) WebCat2_Mac RETURNs in .db (1997) adding a unique value to each record in an existing andlive db (2002) File Upload (1997) Re:E-mailer application times out (1998) Re:Searchable Archives (1998) Keeping the cart alive through multiple add commands (2000) Emailer on NT not working. (1999) more on my bbs (1997) Back to Authnet with storebuilder (2003) form ENCTYPE confusion [correction] (2003) WebCat2 several catalogs? (1997) suffix mapping for NT? (1997) Giving out error pages (1997) WebMerchant and MacAuthorize Errors (1998) Re:listfiles-looking for slick solution (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) ATTN:SMITH MICRO (2001)