protected function inspectProducts() { if (isset($this->params['params']['remove']) && (bool) $this->params['params']['remove']) { return; } parent::inspectProducts(); }
protected function processResponseData($response) { foreach ($this->listingsProducts as $listingProduct) { if (isset($response['skus'][$listingProduct->getId() . '-id'])) { continue; } $this->getLogger()->logListingProductMessage($listingProduct, 'New SKU was not added', Ess_M2ePro_Model_Log_Abstract::TYPE_ERROR, Ess_M2ePro_Model_Log_Abstract::PRIORITY_MEDIUM); unset($this->listingsProducts[$listingProduct->getId()]); } parent::processResponseData($response); }
protected function unsetLocks($fail = false, $message = NULL) { $this->removeFromQueueOfSKus(); parent::unsetLocks($fail, $message); }
protected function processResponseData($response) { $this->responseBody = $response; parent::processResponseData($response); }
public function eventAfterProcessing() { parent::eventAfterProcessing(); $this->removeSKUsFromQueue(); }
protected function inspectProducts() { if (empty($this->params['params']['remove'])) { parent::inspectProducts(); } }