From 22926ff6d441ecedc70e7e0a180c88f7d73ec003 Mon Sep 17 00:00:00 2001 From: Jonas Chen Date: Tue, 3 May 2022 11:22:15 +1200 Subject: [PATCH] Update ImportSimple.php --- Console/Command/Product/ImportSimple.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Console/Command/Product/ImportSimple.php b/Console/Command/Product/ImportSimple.php index 72b20fe..9b5ac76 100644 --- a/Console/Command/Product/ImportSimple.php +++ b/Console/Command/Product/ImportSimple.php @@ -35,7 +35,8 @@ protected function configure() { $this->setName('fastsimpleimportdemo:products:importsimple') ->setDescription('Import Simple Products '); - + + //Import::BEHAVIOR_APPEND will do update $this->setBehavior(Import::BEHAVIOR_ADD_UPDATE); $this->setEntityCode('catalog_product'); @@ -70,4 +71,4 @@ protected function getEntities() } return $data; } -} \ No newline at end of file +}