Using [setlineitems] after a purchase command ...

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15862
interpreted = N
texte = If you use [setlineitems] after a purchase command, you have to remember something:WebCat won't let you use the standard cart=[cart] parameter in the [setlineitems] context, so you have to use the alternate parameter file=orders/[cart] instead.I think the reason is because the cart file gets moved to the orders folder immediately after the purchase command, so it's no longer in the ShoppingCart folder, which is where the standard cart=[cart] parameter tells it to look.Just a hint, in case you're doing something like this in the future ... :)Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://webdna.net/ Associated Messages, from the most recent to the oldest:

    
  1. Using [setlineitems] after a purchase command ... (Kenneth Grome 1997)
If you use [setlineitems] after a purchase command, you have to remember something:WebCat won't let you use the standard cart=[cart] parameter in the [setlineitems] context, so you have to use the alternate parameter file=orders/[cart] instead.I think the reason is because the cart file gets moved to the orders folder immediately after the purchase command, so it's no longer in the ShoppingCart folder, which is where the standard cart=[cart] parameter tells it to look.Just a hint, in case you're doing something like this in the future ... :)Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://webdna.net/ Kenneth Grome

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:

Searchable Talklist Archive (1998) OH MY GOD! (1998) Merging LineItems (2003) Cart/ Form Use (1998) [OT] will work for... (2003) [OrderFile] error (1999) Problems getting parameters passed into email. (1997) Notice To ICVerify Users (2000) WebDNA on Intel Mac (2006) Emailer Error 550 (Was Strange Crash) (1998) Security Issue (1997) different show next (1997) Bug (feature) in v6 listfiles shows hidden files ... (2004) Re:UPS, FEDEX TRACKING (1999) [WebDNA] Authenticating with Twitter OAuth API v1.1 (2013) [WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011) PIXO support (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) cookie based login process (2004) WebCat2 several catalogs? (1997)