Laravel.io
public static function CardItemPrice($cart_p){
        $catalog = new Catalog();
            if($cart_prices = $catalog->where('orig_number', '=',$cart_p )->get()){
                //dd($cart_prices);
                foreach ($cart_prices as $cart_price){
                    $price = $cart_price->price;
                    dd($price);
                }
            }else{
                $price ='Под заказ';
            };
 return $price;
}

Please note that all pasted data is publicly available.