Re: Parameter Passing
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 26572
interpreted = N
texte = >Now that I have been passing parameters through the forms, when I go to the>invoice page from the shopping cart the last item that I added gets put>twice. So if I have four items in my cart when I go to the invoice page it>shows five. Then the same wrong five gets carried over to the thank you>page.>Any ideas.Look for a nested orderfile context, make sure you are not coming into the page with an orderfile context and a command=showcart. Both wrap the page in an orderfile context. Also, you don't have to pass all your parameters from page to page, if there are a lot of them it might be easier to store them in the orderfile headers.John Jakovich | ==Ecommerce and Beyond==Smith Micro Software Inc. | http://www.smithmicro.com-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
>Now that I have been passing parameters through the forms, when I go to the>invoice page from the shopping cart the last item that I added gets put>twice. So if I have four items in my cart when I go to the invoice page it>shows five. Then the same wrong five gets carried over to the thank you>page.>Any ideas.Look for a nested orderfile context, make sure you are not coming into the page with an orderfile context and a command=showcart. Both wrap the page in an orderfile context. Also, you don't have to pass all your parameters from page to page, if there are a lot of them it might be easier to store them in the orderfile headers.John Jakovich | ==Ecommerce and Beyond==Smith Micro Software Inc. | http://www.smithmicro.com-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
john Jakovich
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:
Getting total number of items ordered (1997)
Logging purchases (1997)
Migrating 4.0.2 to 4.5 (2002)
sendmail in html format? was allready solved..... (2002)
database visibility (2000)
[OT] 'Email this story to a friend' (2003)
Writing to triggers.db (2005)
Help needed! (SIMS recommendation) (1998)
SiteEdit Pro Update Announcement (1997)
Help! WebCat2 bug (1997)
contextual shownext (1998)
[WebDNA] Limits? (2009)
time + (1998)
WebCat2b13MacPlugIn - more [date] problems (1997)
Initiating NewCart (1997)
[checkboxes] and webcat (2000)
[Webcat 2]Next (1997)
Missing Cart Information (2003)
about this server and links to who (1997)
RequiredFields template (1997)