How can I make an ecommerce form with inventory management?