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:

[WebDNA] talklist size... (2009) [WebDNA] Crashing again (2008) PIXO (1997) creating a 60 fields database (1997) Some ThankYou page problems (1997) Re:WebCatalog/WebMerchant III (1998) international time (1997) What is WebDNA (1997) How Many SKU's is enough? (1997) displaying New products (Yikes! it's Fixed!) (1997) Classified Ads 4 Sale (1998) WebCat2 beta 11 - new prefs ... (1997) Running _every_ page through WebCat-error.html (1997) InSecureTextVariables.... (2000) [Sum] function? (1997) What am I missing (1997) Remove Multiple Line Items (2005) Summ=T Problem (1997) WebCatalog security on NT (2000) SQL Tutorial (1998)