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:

Showif for mulitple variations (1997) Help! WebCat2 bug (1997) 4.01 broken pages using ShowNext (2000) Announce: WebMerchant 3.0 for Mac shipping now (1998) Fun with Dates - finally resolved but.... (1997) Dreamweaver Extensions (2001) SQL connection (2000) Banners (1997) PCS Frames (1997) Removing Space Characters (1999) Comments in db? (1997) OLD ORDERS (1998) PSC recommends what date format yr 2000??? (1997) Cart Numbers (1997) Encrypt broken on Mac 3.05b13?? (2000) Open Source (2000) Summarizing on two fields (1998) WebCat2b15MacPlugin - showing [math] (1997) bug? template caching and apache transfer byte log (1999) mass mailing (1998)