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:

using showpage and showcart commands (1996) Weird Math and SV (1997) SQLCONNECT (2005) Buying sans cart (1997) Capitalize (2003) protect tag on NT IIS (1997) Bug Report, maybe (1997) Webcatalog error, Plug-in for Webstar (1996) form data submission gets truncated (1997) listfiles-looking for slick solution (1997) Help! WebCat2 bug (1997) still having shipCost.db Problem (1997) Add a field to the error log? (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) WC2.0 Memory Requirements (1997) search for all (1998) Multiple Passwords (1997) Beta version-Mac? (was Emailer update for Mac?) (1998) pop up menu's (1998) AppleScript does not work properly ... (2000)