commented out heavy select tags from unit price form
existing_inventory may not exist during inventory calculation
nil check in delivery name
try a search for products