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 toremember something:WebCat won't let you use the standard cart=[cart] parameter in the[setlineitems] context, so you have to use the alternate parameterfile=orders/[cart] instead.I think the reason is because the cart file gets moved to the ordersfolder immediately after the purchase command, so it's no longer inthe 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 Gromeken@iav.com808-737-6499WebDNA Solutionshttp://webdna.net/
Associated Messages, from the most recent to the oldest:
| |
- Using [setlineitems] after a purchase command ... (Kenneth Grome 1997)
|
If you use [setlineitems] after a purchase command, you have toremember something:WebCat won't let you use the standard cart=
[cart] parameter in the[setlineitems] context, so you have to use the alternate parameterfile=orders/
[cart] instead.I think the reason is because the cart file gets moved to the ordersfolder immediately after the purchase command, so it's no longer inthe 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 Gromeken@iav.com808-737-6499WebDNA Solutionshttp://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:
Recycling fee (1998)
Practice runs ? (1997)
bug report -- leading < character (1998)
[listdatabases] feature request. (2003)
Searching for words equal to A or equal to B (1999)
Date in IF ELSE Comparison (2004)
Discounting prices across a site (1997)
404 error -- but wc code executes... (2001)
BR (1997)
Two options to consider (2008)
3 fields must match (2004)
WebCatalog can't find database (1997)
RE: Languages (1997)
shownext & math (1997)
[WebDNA] unique words (2009)
RSS Feeds; basic info (2005)
restarting service remotely on NT (1997)
WebCat2b15MacPlugin - [protect] (1997)
Re:listfiles-looking for slick solution (1997)
Great product and great job ! (1997)