isAvailable()) return false; $object = new CartShipping; $object->carrier = 'flatrate'; $object->carrier_title = $this->getConfigData('title'); $object->method = 'flatrate_flatrate'; $object->method_title = $this->getConfigData('title'); $object->method_description = $this->getConfigData('description'); $object->price = 10; return $object; } }