public static decimal ParsePrice()
        {
            CartItem product = new CartItem();
            bool     parsed  = decimal.TryParse(Console.ReadLine(), out decimal price);

            product.Price = price;

            if (parsed == true)
            {
                if (product.Price <= 0)
                {
                    Console.WriteLine($"{product.Price}: is not a valid price");
                    ConsoleLogging.GetPrice(product);
                }
                return(product.Price);
            }
            ConsoleLogging.GetPrice(product);
            return(product.Price);
        }
 public static void CreateProduct(CartItem product)
 {
     ConsoleLogging.GetName(product);
     ConsoleLogging.GetQuantity(product);
     ConsoleLogging.GetPrice(product);
 }