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:
Shownext - am i missing something? (1998)
[random] only for 1-100??? (1997)
[WebDNA] IIS 7.5 (2015)
WC1.6 to WC2 date formatting (1997)
Country & Ship-to address & other fields ? (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
rename a file (1997)
using showpage and showcart commands (1996)
Checkboxes (1998)
Running 2 two WebCatalog.acgi's (1996)
Document Contains No Data! (1997)
Webcatalog and foreign languages (1998)
Stumped (1999)
searching by date (1998)
(ot) sitemap generator (1998)
Max Record length restated as maybe bug (1997)
WebCatalog Hosting (1996)
Multiple prices (1997)
Where is eudora plugin? (1998)
ListWords passing multi values in one form field (2000)