Re: Number of cars in cart...
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58260
interpreted = N
texte = on 6/8/04 5:45 PM, John Peacock at jpeacock@rowman.com wrote:> 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.Sorry John I should have said what to do once there (thanks for taking thetime to have a play about)... I have gone with the stripping out the longerurl's as it mimics our existing logic in our site only the information isgathered differently...> >> 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.I will look into this... I take it I would then do an if param ^ cart typestatement to recognise cart.> > HTH> > JohnThanksAlan-------------------------------------------------------------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:
on 6/8/04 5:45 PM, John Peacock at jpeacock@rowman.com wrote:> 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.Sorry John I should have said what to do once there (thanks for taking thetime to have a play about)... I have gone with the stripping out the longerurl's as it mimics our existing logic in our site only the information isgathered differently...> >> 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.I will look into this... I take it I would then do an if param ^ cart typestatement to recognise cart.> > HTH> > JohnThanksAlan-------------------------------------------------------------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/
Alan White
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:
Mac 2.1b2 speed (1997)
Limiting user access to .tmpl files (1997)
syntax question, not in online refernce (1997)
WebCat2b15MacPlugin - [protect] (1997)
Multiple prices (1997)
Need help with emailer- 2 issues (1997)
html in a database (1998)
Sort & Shownext (1999)
Attention all list readers (1997)
Frames and WebCat (1997)
Multiple cart additions (1997)
Running 2 two WebCatalog.acgi's (1996)
Umm...about those log files? (Off Topic) (1997)
orderfile and setlineitems (1998)
Nested tags count question (1997)
Hierarchy of form/text/math variables (2000)
WebCatalog can't find database (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
Multiple prices (1997)
Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997)