/// <summary> /// Compute Sub total needed to avail free shipping. FreeShippingThreshold and ShippingMethodCodeIfFreeShippingIsOn appconfig MUST be setup /// properly for this feature to work. /// </summary> private void ShowFreeshippingInfo() { decimal threshHold = AppLogic.AppConfigUSDecimal("FreeShippingThreshold"); string currencyCode = _cart.ThisCustomer.CurrencyCode; decimal subTotal = _cart.GetCartSubTotalExcludeOversized(); string shippingMethods = AppLogic.AppConfig("ShippingMethodCodeIfFreeShippingIsOn"); string total; if (threshHold > decimal.Zero && threshHold > subTotal) { pnlGetFreeShippingMsg.Visible = true; total = InterpriseHelper.FormatCurrencyForCustomer(threshHold, currencyCode); GetFreeShippingMsg.Text = string.Format(AppLogic.GetString("checkoutshipping.aspx.2", SkinID, ThisCustomer.LocaleSetting), total, shippingMethods); } }