/** * Starts the client */ protected function startClient() { $storeApiUrl = Shopware()->Plugins()->Backend()->StoreApi()->Config()->StoreApiUrl; if (empty($storeApiUrl)) { throw new Shopware_StoreApi_Exception_Exception('there is no store api url configured'); } $this->client->setConfig($this->Config()); $this->client->startClient($storeApiUrl); }