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:

Re:2nd WebCatalog2 Feature Request (1996)Multiple catalog databases and showcart (1997)Single Link browsing (1997)serial number (1998)[WebDNA] DNA suffix (2008)searches with dash, period etc. (2000)[WebDNA] multi [sendmail] inside [search] (2012)Adding freight and percentages (2000)showif and cart (1997)[WebDNA] Apple Server (2013)More Discount Pricing thoughts/efforts (1998)search for all (1998)No Wanna Duppys (1998)different show next (1997)Setting user and password (1999)carriage returns in data (1997)Running 2 two WebCatalog.acgi's (1996)oops private message leaked into talk list (1997)sorting question... (2001)I'm new be kind (1997)
skutitleprice
[sku] [title][price][url][sku][/ url]&cart=[cart] target=frame49130>add to new cart