Re: Viewing old carts (was Re: FEW QUESTIONS)

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14091
interpreted = N
texte = Hi Grant > What value are you passing in for [oldcart]? It looks like you're not setting oldcart to anything when you visit this page. It goes like this: 1. In the Invoice.tmpl I input the cart value as a header: 2. In Thankyou.tmpl I enable the client to save thecard number as oldcart in database containing two fields: accountnum and oldcart:
3. I let the client search the cart.txt by accountnum to get the oldcart number: Accountnum
4.The client founds the oldcart field: [foundItems] [oldcart] [/foundItems] Everything works ok till this moment.Then, in View.tmpl I write: [OrderFile Orders/[oldcart]] [lineItems] [/lineItems] [/OrderFile] But when I click on the number found in previous page, the next one (View.tmpl) comes empty, which will not happen, if I write [OrderFile Orders/[cart]], but then, again, there is a problem of adding things to the same card number. What is wrong? Natalie Associated Messages, from the most recent to the oldest:

skutitleprice
[sku] [title][price]add to new cart
    
Hi Grant > What value are you passing in for [oldcart]? It looks like you're not setting oldcart to anything when you visit this page. It goes like this: 1. In the Invoice.tmpl I input the cart value as a header: [cart]> 2. In Thankyou.tmpl I enable the client to save thecard number as oldcart in database containing two fields: accountnum and oldcart: [cart]> 3. I let the client search the cart.txt by accountnum to get the oldcart number: Accountnum
4.The client founds the oldcart field: [founditems] [oldcart] [/foundItems] Everything works ok till this moment.Then, in View.tmpl I write: [OrderFile Orders/[oldcart]] [lineitems] [/lineItems] [/OrderFile] But when I click on the number found in previous page, the next one (View.tmpl) comes empty, which will not happen, if I write [OrderFile Orders/[cart]], but then, again, there is a problem of adding things to the same card number. What is wrong? Natalie natasha

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:

[WebDNA] Is [math] on a number with too many digits the only (2011)using showpage and showcart commands (1996)Bug? (1997)Reverse WHOIS (2003)Frames (1997)New: [WebDNA] Help with ReplaceFoundItems (2009)Return records from another (1997)PSC recommends what date format yr 2000??? (1997)Re[2]: Editor? (2000) Formvariables name matching (2005)[WebDNA] Problem with excessive cart file creation (2011)SKU lookup (1997)Templates for Customer Database? (1997)SiteGuard Admin Feature ? (1997)sendmail spaces (1997)WebCatalog for guestbook ? (1997)WebDNA Solutions ... (1997)Using WC for Bulk Emailings (1997)read and write you own cookies with webcat (1997)PIXO support (1997)
skutitleprice
[sku] [title][price][url][sku][/ url]&cart=[cart] target=frame49130>add to new cart