/**
  * Compute an individual product and all its parts (translations).
  *
  * @param array $product
  */
 protected function computeProduct($product)
 {
     $sku = $this->getProductSku($product);
     parent::computeProduct($product);
     $sku = substr($sku, 5);
     // due to "conf-" prefix for configurables
     $channel = $this->channelManager->getChannelByCode($this->getChannel());
     $this->configExportManager->setLastExportDate($channel, $this->getJobInstance(), $sku);
 }
 /**
  * Compute an individual product and all its parts (translations).
  *
  * @param array $product
  */
 protected function computeProduct($product)
 {
     $sku = $this->getProductSku($product);
     parent::computeProduct($product);
     $this->productExportManager->updateProductExport($this->getJobInstance(), $sku);
 }
 /**
  * {@inheritdoc}
  */
 public function setStepExecution(StepExecution $stepExecution)
 {
     parent::setStepExecution($stepExecution);
     $this->jobInstance = $stepExecution->getJobExecution()->getJobInstance();
 }