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:

[WebDNA] Abandoned Carts (2009) [WebDNA] Billing Backend (2013) Emails sent twice (2000) Document Contains No Data! (1997) Protecting Files (2005) Help with ShowNext (1998) re:check boxes (1997) Fufillment e-mail? (1998) SMSI gift cert. module (review) (2003) RE: creating writefile data from a nested search (1997) Prepaid monthly subscription order fulfillment question (2004) [WebDNA] Ubuntu 14.04 & WebDNA (2017) Paranoid about serial numbers...not (1998) RE: ShowNext Command (1997) Re:2nd WebCatalog2 Feature Request (1996) Shop till you drop dead on the avenue ... (1997) Re1000001: Setting up shop (1997) Comparing two fields so the match (1998) Installing on IIS 5.1 Windows XP Pro - Username/Password (2006) WebCat for Unix?? (1997)