protected string GetTooltipBody(object cartItem) { CartItemGroup cartItemGroup = new CartItemGroup((ICartItem)cartItem); CartDisplayService displayService = new CartDisplayService(); string tooltipBody = displayService.GetCheckoutTooltipBody( StoreContext.CheckoutDetails, cartItemGroup, StoreContext.Customer, StoreContext.Currency); return(WebUtilities.ReplaceNewLine(tooltipBody)); }
protected string GetTooltipMainText(object cartItem) { CartDisplayService displayService = new CartDisplayService(); return(displayService.GetCheckoutTooltipMainText()); }