What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Problem 2 of 2 (was: Shipping Confusion)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33733
interpreted = N
texte = *What* exactly is not working? I can be most helpful to debug one small thing at a time (as that is the time I have for this). Isolate the issue and if you can't figure out why that one small thing is not acting the way you think it should, then ask me that. Not why is this whole page of code not working. :-) Are we sure [NumLineItems] returns the # we think it will? Put this- NumLineItems=[NumLineItems] in the template and see if it returns the number of lineitems in the cart.And yes remove all carriage returns from any context. I.e. [setheader] and [SetLineItem] and [lookup] ... should NOT be broken into 2 or more lines. Email is not great for showing code...-JohnChristopher Mackay wrote:> Hi again (getting sick of me yet? :) > > Thanks for your help so far, John. It's starting to feel as though > the end's in sight! Here's what I've got on my invoice.tpl page > (still not working): > > [SetHeader > cart=[cart]]shipVia=[url][__shipVia][/url]&shipToState=[url][__shipToState][/url]&CartIPAddress=[ipAddress][/SetHeader] > > [lineitems] > [SetLineItem > cart=[cart]&index=[lineindex]]quantity=[interpret][quantity[lineindex]][/interpret]&textA=[url][lookup > db=tantramar_publishing.db&lookinfield=sku&value=[url][sku][/url]&returnfield=title][/url][/SetLineItem] > [showif [url][itemType][/url]=poster] > [text show=F]needsTube=yes[/text] > [/showif] > [/lineitems] > > [showif [url][needsTube][/url]=yes] > [SetLineItem cart=[cart]&index=[math > show=T][NumLineItems]+1[/math]]quantity=1&price=0&UnitShipCost=5[/SetLineItem] > [/showif] > > I did add the itemType field, with a value of poster for each > record in the tantramar_publishing.db. > > I also changed the price to 0 from 5, and added UnitShipCost of 5. It > didn't work before I made this change, either, though. Could the line > breaks be the problem? > -- > > Regards, > > Christopher Mackay, Multimedia Developer > Tantramar Interactive, http://www.tantramar.com/ > 506/364-1097 cell: 364-7659 fax: 536-2409 > > ------------------------------------------------------------- > 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://search.smithmicro.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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Problem 2 of 2 (was: Shipping Confusion) (Christopher Mackay 2000)
  2. Re: Problem 2 of 2 (was: Shipping Confusion) (Christopher Mackay 2000)
  3. Re: Problem 2 of 2 (was: Shipping Confusion) (Rob Marquardt 2000)
  4. Re: Problem 2 of 2 (was: Shipping Confusion) (John Peacock 2000)
  5. Re: Problem 2 of 2 (was: Shipping Confusion) (John Butler 2000)
  6. Re: Problem 2 of 2 (was: Shipping Confusion) (Christopher Mackay 2000)
  7. Re: Problem 2 of 2 (was: Shipping Confusion) (John Peacock 2000)
  8. Re: Problem 2 of 2 (was: Shipping Confusion) (Christopher Mackay 2000)
  9. Re: Problem 2 of 2 (was: Shipping Confusion) (John Butler 2000)
  10. Problem 2 of 2 (was: Shipping Confusion) (Christopher Mackay 2000)
*What* exactly is not working? I can be most helpful to debug one small thing at a time (as that is the time I have for this). Isolate the issue and if you can't figure out why that one small thing is not acting the way you think it should, then ask me that. Not why is this whole page of code not working. :-) Are we sure [NumLineItems] returns the # we think it will? Put this- NumLineItems=[NumLineItems] in the template and see if it returns the number of lineitems in the cart.And yes remove all carriage returns from any context. I.e. [setheader] and [setlineitem] and [lookup] ... should NOT be broken into 2 or more lines. Email is not great for showing code...-JohnChristopher Mackay wrote:> Hi again (getting sick of me yet? :) > > Thanks for your help so far, John. It's starting to feel as though > the end's in sight! Here's what I've got on my invoice.tpl page > (still not working): > > [SetHeader > cart=[cart]]shipVia=[url][__shipVia][/url]&shipToState=[url][__shipToState][/url]&CartIPAddress=[ipaddress][/SetHeader] > > [lineitems] > [SetLineItem > cart=[cart]&index=[lineindex]]quantity=[interpret][quantity[lineindex]][/interpret]&textA=[url][lookup > db=tantramar_publishing.db&lookinfield=sku&value=[url][sku][/url]&returnfield=title][/url][/SetLineItem] > [showif [url][itemType][/url]=poster] > [text show=F]needsTube=yes[/text] > [/showif] > [/lineitems] > > [showif [url][needsTube][/url]=yes] > [SetLineItem cart=[cart]&index=[math > show=T][NumLineItems]+1[/math]]quantity=1&price=0&UnitShipCost=5[/SetLineItem] > [/showif] > > I did add the itemType field, with a value of poster for each > record in the tantramar_publishing.db. > > I also changed the price to 0 from 5, and added UnitShipCost of 5. It > didn't work before I made this change, either, though. Could the line > breaks be the problem? > -- > > Regards, > > Christopher Mackay, Multimedia Developer > Tantramar Interactive, http://www.tantramar.com/ > 506/364-1097 cell: 364-7659 fax: 536-2409 > > ------------------------------------------------------------- > 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://search.smithmicro.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 Web Archive of this list is at: http://search.smithmicro.com/ John Butler

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:

[QuantityPrice] Not working in WebCatNT 2.0.1??? (1997) Explorer 3.0/ Access Denied! (1997) Re:shipping code (1998) price formula (1999) Quit revisited (1997) Updating fields from different platforms (1998) shownext and searches (2002) WebCat2: Formulas.db question (1997) [WebDNA] API- continued - bit.ly statistics (2011) Using [Include] Context (1999) Logging users (1998) Best way to download a db (2003) writefile - continued (1997) WebCat consulting $ (1998) WebCat cannot handle compatible search parameters? (1997) [WebDNA] Libmysql.dll error (2009) WebMerchant? (1998) FS WebCatalaog license (2000) [include] and not found (2005) WebCat2b15MacPlugin - [protect] (1997)