Re: Number of cars in cart...
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58257
interpreted = N
texte = Alan White wrote:> I have put into place a process.tpl that strips out parameters out of the> url. It took me a second to figure out what you were talking about (HINT for others: try to "Shop for Brand"). If you use POST instead of GET, you don't need to have any URL at all (just the index page), but if you like having long path's in the URL, that works too.> What I was trying to figure out is how to add my cart to my new URL> structure so I can have cart functionality.Since the URL structure is seperated by forward slashes, you don't need to do any parsing except splitting on slashes. Just append the cart value as the last element of the URL; prefix it with CART so you can differentiate between that and your other parameters.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Alan White wrote:> I have put into place a process.tpl that strips out parameters out of the> url. It took me a second to figure out what you were talking about (HINT for others: try to "Shop for Brand"). If you use POST instead of GET, you don't need to have any URL at all (just the index page), but if you like having long path's in the URL, that works too.> What I was trying to figure out is how to add my cart to my new URL> structure so I can have cart functionality.Since the URL structure is seperated by forward slashes, you don't need to do any parsing except splitting on slashes. Just append the cart value as the last element of the URL; prefix it with CART so you can differentiate between that and your other parameters.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
John Peacock
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:
Page Counters? (1997)
Show shoppingcart after remove last item (1997)
numfound=0 for a search after going into the SSL (2003)
Problem with empty form-variables in [search] (1998)
Removing [showif] makes a big difference in speed (1997)
webcat2b12 CGI -- Date comparisons (1997)
passing info to thankyou.tpl (1998)
Round up prices (2000)
Roundup function? (1997)
[tcpsend] (2001)
Math (1997)
Sizes/Colors Options (2006)
Multiple prices (1997)
Stat analyzer (1997)
Re:Running 2 two WebCatalog.acgi's (1996)
[OT] On a side note.. (2003)
RE: problem with applets embedded in tpl files (1997)
can WC render sites out? (1997)
Multiple prices (1997)
WebDNA creates DUPLICATE SHOPPING CART NUMBERS (2004)