new importfiles
This commit is contained in:
@@ -97,7 +97,7 @@ class SwPushStockCommand extends Command
|
||||
$shopware = new Shopware($this->logger);
|
||||
$shopwareProduct = $shopware->getShopwareIdbyGtin($product->getGtin());
|
||||
if($shopwareProduct != null) {
|
||||
dump($shopwareProduct);
|
||||
//dump($shopwareProduct);
|
||||
$product->setShopwareId($shopwareProduct->id);
|
||||
$this->productRepository->save($product, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user