Re: ShoppingCart Woes
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20957
interpreted = N
texte = On 11/11/1998 10:57 am, charles kline so noted...>On the preview page I display the plaque and if it looks cool, they can >add it to their cart.>This is the link I use for that.>>
href=shoppingCart.tpl?command=add&Cart=[Cart]&db=Marker.db&Sku=0001&textA=>[AnimalName]&textB=[BornDate]&textC=[DiedDate]&textD=[Message]&Breed=[Breed>]>>The trouble is that textA only shows the first word in the string (which >is ok if the name is only one word, but I have two names). Secondly the >rest of the textB...textD don not show up at all. The only other thing I >am getting besides the first part of the textA is the price.Since your text variables can contain spaces, you'll need to wrap them in a [URL] context to convert the spaces (and other url-unfriendly characters) to an acceptable form.Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
On 11/11/1998 10:57 am, charles kline so noted...>On the preview page I display the plaque and if it looks cool, they can >add it to their cart.>This is the link I use for that.>>
href=shoppingCart.tpl?command=add&Cart=[cart]&db=Marker.db&Sku=0001&textA=>[AnimalName]&textB=[BornDate]&textC=[DiedDate]&textD=[Message]&Breed=[Breed>]>>The trouble is that textA only shows the first word in the string (which >is ok if the name is only one word, but I have two names). Secondly the >rest of the textB...textD don not show up at all. The only other thing I >am getting besides the first part of the textA is the price.Since your text variables can contain spaces, you'll need to wrap them in a
[url] context to convert the spaces (and other url-unfriendly characters) to an acceptable form.
[cart]&db=Marker.db&Sku=0001&textA=
[url][AnimalName][/URL]&textB=
[url][BornDate][/URL]&textC=
[url][DiedDate][/URL]&textD=
[url][Message][/URL]&Breed=
[url][Breed][/URL]>Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Rob Marquardt
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:
[WebDNA] How much does it cost now? (2008)
Converting characters to numbers ... (1997)
SiteEdit NewFile.html ? (1997)
Setting up shop (1997)
Using Applescript to process WebCatalog functions (1998)
Database (2002)
[date] +1 (1999)
Nested tags count question (1997)
Mac OS X Server, Apache etc etc (1999)
Changes to the List (1997)
YACBQ.....(Yet another checkbox question) (2000)
WebCatalog as a ListServ (1998)
UK credit card info follow-up (1997)
[taxRate] [TaxTotal] ? (1997)
Multiple instances of database (2003)
WebCat2b12 - nesting [tags] (1997)
Help! WebCat2 bug (1997)
Need help... (1997)
WebDNA Solutions ... sorry! (1997)
Summary search -- speed (1997)