an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 2/9/2011 11:10:08 AM By hlopezrd. 4 replies.
2/8/2011 9:59:24 AM
hlopezrd
Posts: 14
Joined: 4/3/2009
OnePageCheckout Order Total
Hi,
How can I get the OrderTotal in the OnePageCheckout component?
 
Thanks ind advance.
2/8/2011 12:49:52 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: OnePageCheckout Order Total
Just call GetOrderTotal() in OnePageCheckout.ascx.cs ,
DotShoppingCart Staff
2/8/2011 6:23:50 PM
hlopezrd
Posts: 14
Joined: 4/3/2009
Re: OnePageCheckout Order Total
 Hi,
Thanks for the help lukezy,
but the GetOrderTotal() method return a List.
Must I sum all item in the list?
2/9/2011 9:00:13 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: OnePageCheckout Order Total
The order totals are the items shown in the bottom of the checkout page. If you just need to get the grand order total, you can just use the last item in the list.
DotShoppingCart Staff
2/9/2011 11:10:08 AM
hlopezrd
Posts: 14
Joined: 4/3/2009
Re: OnePageCheckout Order Total
Thank you very much.
<img src="http://www.dotshoppingcart.com/FCKEditor/editor/images/smiley/msn/thumbs_up.gif" alt="" />