private void LoadOrderSummary() { int profileId = QueryUserId; int offerRuleId = QueryOfferRuleId; var orderTotals = CartService.CalculateOrderTotals(profileId, true, offerRuleId); var profile = AccountService.GetProfileById(profileId); var promoCode = profile.GetAttribute <string>("Profile", SystemCustomerAttributeNames.DiscountCouponCode, UtilityService); litAppliedPromocode.Text = promoCode; litTotalsDiscount.Text = AdminStoreUtility.GetFormattedPrice(orderTotals.Discount, orderTotals.CurrencyCode, CurrencyType.HtmlEntity); litTotalsSubTot.Text = AdminStoreUtility.GetFormattedPrice(orderTotals.Subtotal, orderTotals.CurrencyCode, CurrencyType.HtmlEntity); litTotalsTotal.Text = AdminStoreUtility.GetFormattedPrice(orderTotals.Total, orderTotals.CurrencyCode, CurrencyType.HtmlEntity); }