/** * 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); }
/** * Starts the client */ protected function startClient() { $storeApiUrl = Shopware()->Plugins()->Backend()->StoreApi()->Config()->StoreApiUrl; //@todo: Fix of the plugin configuration // $storeApiUrl = 'http://store.shopware-preview.de/StoreApi'; if(empty($storeApiUrl)) { throw new Shopware_StoreApi_Exception_Exception('there is no store api url configured'); } $this->client->startClient($storeApiUrl); }