Re: ups calculator
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28961
interpreted = N
texte = On 3/13/00 4:29 pm, Stephen Russo so noted...>I have recently programmed the UPS calculator onto a site.>Now when I set my lineitems everything works except the quantity comes in>with a crazy number.>If I take the set lineitems out it works fine, but my quantity always reads>one and my title and other>things set in my lineitems do not come out.>>Here is my set lineitems code:>>[orderfile cart=[cart]]>>[SetHeader>cart=[cart]]shipVia=[url][__shipVia][/url]&shipToState=[url][__shipToState][>/url]&CartIPAddress=[ipAddress][/SetHeader]>>[lineitems]>[SetLineItem>cart=[cart]&index=[lineindex]]quantity=[interpret][quantity[lineindex]][/int>erpret]&textA=[url][lookup>db=database&lookinfield=sku&value=[url][sku][/url]&returnfield=title][/url]&>textB=[url][lookup>db=database&lookinfield=sku&value=[url][sku][/url]&returnfield=description1]>[/url][/SetLineItem]>[/lineitems]Where are your values coming from for [quantity1], [quantity2], etc? Are they valid? If they're ok, how about using the [lineitems] loop to get the values you need (for texta and textb) and set them to temp variables, then use a separate [loop] to do the [setLineItem] assignment (if there's some odd interaction from having [setLineItem] occurring *inside* the [lineitems])?Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------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:
On 3/13/00 4:29 pm, Stephen Russo so noted...>I have recently programmed the UPS calculator onto a site.>Now when I set my lineitems everything works except the quantity comes in>with a crazy number.>If I take the set lineitems out it works fine, but my quantity always reads>one and my title and other>things set in my lineitems do not come out.>>Here is my set lineitems code:>>[orderfile cart=[cart]]>>[SetHeader>cart=[cart]]shipVia=[url][__shipVia][/url]&shipToState=[url][__shipToState][>/url]&CartIPAddress=[ipaddress][/SetHeader]>>[lineitems]>[SetLineItem>cart=[cart]&index=[lineindex]]quantity=[interpret][quantity[lineindex]][/int>erpret]&textA=[url][lookup>db=database&lookinfield=sku&value=[url][sku][/url]&returnfield=title][/url]&>textB=[url][lookup>db=database&lookinfield=sku&value=[url][sku][/url]&returnfield=description1]>[/url][/SetLineItem]>[/lineitems]Where are your values coming from for [quantity1], [quantity2], etc? Are they valid? If they're ok, how about using the [lineitems] loop to get the values you need (for texta and textb) and set them to temp variables, then use a separate [loop] to do the [setlineitem] assignment (if there's some odd interaction from having [setlineitem] occurring *inside* the [lineitems])?Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------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
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:
Multiple Search Fields (1998)
URGENT: WebCatalog Stalls (1998)
blank page from template (1997)
More Applescript (1997)
Max Record length restated as maybe bug (1997)
Speed Test Results Dell 2650 Xeon 2.4ghz (2002)
Webcatalog, Webstar and Crasharama (1999)
WebCat2 - Getting to the browser's username/password data (1997)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Announcement-WebCatalog 2.0 Released (1997)
TCPConnect (2002)
WC1.6 to WC2 date formatting (1997)
[LOOKUP] (1997)
Multiple catalog databases and showcart (1997)
[WebDNA] max=0 returns all records (2010)
date pref (1999)
WebCatalog on Linux/MacOSX/etc (2000)
Big Databases (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Replace Statement (1997)