Repost: Orderfile, Grandtotal: How do I get it to all add up.

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31726
interpreted = N
texte = My grandTotal is picking up everything but my tax total. How do I get grandTotal to include taxtotal?Thanks. > > [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]][/interpret]&textA=[url][lookup > db=fitproducts.db&lookinfield=sku&value=[url][sku][/url]&returnfield=title][/url][/SetLineItem] > [/lineitems] > >

Billing & Shipping Info

> [ HREF=ShoppingCart.tpl?command=showcart&db=fitproducts.db&cart=[cart]>Change > Quantities, Shipping, or Ship-To State | > Shop Some More ]
>

Place Your Order

> Your Order Number is #[cart]

>
> > > > > > > > > > > > > [lineItems] > > > > > > > > > > [/lineItems] > > > > > > > > > > > > > > > > >
Item #QtyProduct #Product NamePriceUnit Ship CostExtension
[lineIndex][quantity][sku][textA]$[price]$[unitShipCost]$[format > .2f][math][quantity]*[price]+[unitShipCost][/math][/format]
Subtotal$[subTotal]
[shipTostate] Tax Rate: [taxRate]% > Tax$[format > .2f][math][subTotal]*[taxRate]/100[/math][/format]
[shipVia] Shipping & > Handling$[shippingTotal]
Grand Total$[grandTotal]
>

> > Please enter the following information so that we may process your > order.

>

>

> > [include file=InvoiceInfo.inc] > >

>

>
> > [/orderfile] > > ------------------------------------------------------------- > 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: Repost: Orderfile, Grandtotal: How do I get it to all add up. (WebDNA Support 2000)
  2. Re: Repost: Orderfile, Grandtotal: How do I get it to all add up. (Bob McPeak 2000)
  3. Re: Repost: Orderfile, Grandtotal: How do I get it to all add up. (WebDNA Support 2000)
  4. Re: Repost: Orderfile, Grandtotal: How do I get it to all add up. (Bob McPeak 2000)
  5. Re: Repost: Orderfile, Grandtotal: How do I get it to all add up. (WebDNA Support 2000)
  6. Repost: Orderfile, Grandtotal: How do I get it to all add up. (Bob McPeak 2000)
My grandTotal is picking up everything but my tax total. How do I get grandTotal to include taxtotal?Thanks. > > [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]][/interpret]&textA=[url][lookup > db=fitproducts.db&lookinfield=sku&value=[url][sku][/url]&returnfield=title][/url][/SetLineItem] > [/lineitems] > >

Billing & Shipping Info

> [ HREF=ShoppingCart.tpl?command=showcart&db=fitproducts.db&cart=[cart]>Change > Quantities, Shipping, or Ship-To State | > [cart]>Shop Some More ]
>

Place Your Order

> Your Order Number is #[cart]

>
> [cart]> > > > > > > > > > > > > [lineitems] > > > > > > > > > > [/lineItems] > > > > > > > > > > > > > > > > >
Item #QtyProduct #Product NamePriceUnit Ship CostExtension
[lineIndex][quantity][sku][textA]$[price]$[unitShipCost]$[format > .2f][math][quantity]*[price]+[unitShipCost][/math][/format]
Subtotal$[subTotal]
[shipTostate] Tax Rate: [taxRate]% > Tax$[format > .2f][math][subTotal]*[taxRate]/100[/math][/format]
[shipVia] Shipping & > Handling$[shippingTotal]
Grand Total$[grandTotal]
>

> > Please enter the following information so that we may process your > order.

>

>

> > [include file=InvoiceInfo.inc] > >

>

>
> > [/orderfile] > > ------------------------------------------------------------- > 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/ Bob McPeak

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:

[format 40s]text[/format] doesn't work (1997) Login and pass variables to [protect] tag (2001) New One (for me).... Error type 12 (1999) Search inside Include (1998) Setting up WebCatalog with Retail Pro data (1996) Adding Text (2000) Emailer Chokes on bad address (1997) Fun with dates (1997) Cart Template (1997) RE: [WebDNA] What does PHP(5) has, that Webdna hasn't (2009) all records returned. (1997) WebCatalog and WebMerchant reviewed by InfoWorld (1997) More DateMath problems (1997) Fwd: [WebDNA] writefile / RETS (2009) Calendar Solutions (1998) Multipart/alternative e-mail (2003) [search] in formulas.db (1997) Search in 2 or more catalogs (1997) Using "/" for path to virtual host root ? (2003) Email address checker (2002)