Beispiel #1
0
        public void UpdateSumCart(List <BLProduct> productsCart)
        {
            int[] productAmounts = (int[])Session["productAmount"];
            int   numOfProducts  = BLProduct.SumArr(productAmounts);

            NumOfProducts.Text = "Num Of Products-" + numOfProducts;
            double totalPrice = BLProduct.TotalPrice(productsCart, productAmounts);

            TotalPrice.Text = "Total Price-" + totalPrice;
        }