Not seeing cart info on Invoice.tmpl (was PROBLEM)

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13955
interpreted = N
texte = >I've done this. But the problem is not there but in Invoice.tmpl. If I put a >search field there, I get only the customers details on the Thankyou page. I >lose the items. How should I write the search fields there:OK, I think I understand now. It sounds like you're saying that your embedded search is working fine, but the CART information is not showing up. That is the opposite of the problem I thought I was solving.If you look at the GeneralStore, you'll see that you must use $ShowCart or $Purchase commands in order to see information from a shopping cart. You must also pass the cart# through to those pages. If you don't, WebCatalog has no idea that you're trying to view the contents of a cart, and it doesn't know which cart to look at.
When you're ready to purchase, you need to send the $Purchase command If you really really don't want to send any $ShowCart or $Purchase commands, you can also embed an [OrderFile] context inside any template. This lets you see all the order file header variables and LineItems.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Not seeing cart info on Invoice.tmpl (was PROBLEM) (natasha 1997)
  2. Not seeing cart info on Invoice.tmpl (was PROBLEM) (Grant Hulbert 1997)
>I've done this. But the problem is not there but in Invoice.tmpl. If I put a >search field there, I get only the customers details on the Thankyou page. I >lose the items. How should I write the search fields there:OK, I think I understand now. It sounds like you're saying that your embedded search is working fine, but the CART information is not showing up. That is the opposite of the problem I thought I was solving.If you look at the GeneralStore, you'll see that you must use $ShowCart or $Purchase commands in order to see information from a shopping cart. You must also pass the cart# through to those pages. If you don't, WebCatalog has no idea that you're trying to view the contents of a cart, and it doesn't know which cart to look at. [cart]>When you're ready to purchase, you need to send the $Purchase command [cart]>If you really really don't want to send any $ShowCart or $Purchase commands, you can also embed an [orderfile] context inside any template. This lets you see all the order file header variables and LineItems.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

StandardConversions.db (1998) Re:no [search] with NT (1997) [TaxableTotal] - not working with AOL and IE (1997) Repeating Fields (1997) Variables for chat (1997) Clickable maps and WebCatalog? (1996) carriage returns in data (1997) I think WebDNA-Talk died ... :( (1997) [WebDNA] HMAC-SHA1 Encryption (2013) Use WebCat to search files in a folder like a search engine? (2001) shopping cart (2000) Encrypt broken on Mac 3.05b13?? (2000) [WebDNA] Debian installation configuration for .html extension to work (2015) Change history ... ? (2003) Updating fields from different platforms (1998) Search all Fields in a db (1997) If Empty ? (1997) Re:Using WebMerchant Only? (1998) WebCat2 - storing unformatted date data? (1997) Setting up WebCatalog with Retail Pro data (1996)