getPriceWithVat()->asFloat(); if ($price <= 0 && $this->order) { $price = $this->order->total_price; } return parent::accept($totalPrice, $freeDelivery) && $price >= 1500; } }