new importfiles

This commit is contained in:
Marko
2023-02-24 09:20:07 +01:00
parent f0aa2ac5d5
commit 67fff48967
9 changed files with 274 additions and 187 deletions

View File

@@ -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);
}