Can someone please help me with this script?
I am trying to use this script on a confirmation page
to show: shipping, taxes, grand total.
The problem i am having is: the shipping is the only part that displays
correctly, the salesTax only returns a value of $0.00 and the grandTotal
is not adding the subtotal+salesTax+Shipping but instead, is showing the
subtotal and shipping on the same line. example: subtotal=$80.00+Shipping
=$7.95 It displays as $807.95 Can any one help me out on this?
var UCCart1_subTotal = UCCart1.GetColumnTotal("Total");
var UCCart1_salesTax = 0;
var UCCart1_salesTaxRate = 0;
var TaxState = Request.Form("BillState")
if (TaxState == "NY")
UCCart1_salesTaxRate = 0.45;
var UCCart1_ShipCost = (Request.Cookies("cookieShippingCost"));
Session("grandTotal") = UCCart1_grandTotal