//amount must be greater than 0 laravel validation function store(Request $request) { $request->validate([ 'product_price' => 'required|numeric|gt:0' ]); } //@sujay