Skip to content

Commit

Permalink
Merge pull request #1345 from bakaphp/hotfix-importer-attributes-fix
Browse files Browse the repository at this point in the history
fix: upload
  • Loading branch information
kaioken authored May 16, 2024
2 parents 7e516f1 + 8e695ac commit 4c99b90
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public function execute(): bool
'upc' => $this->importedProduct->upc,
'variants' => $this->importedProduct->variants,
'is_published' => $this->importedProduct->isPublished,
'attributes' => $this->importedProduct->attributes,
]);
$this->product = (new CreateProductAction($productDto, $this->user))->execute();

Expand All @@ -96,10 +97,6 @@ public function execute(): bool

$this->categories();

if (! empty($this->importedProduct->attributes)) {
$this->attributes();
}

$this->productWarehouse();

//$this->variants();
Expand Down

0 comments on commit 4c99b90

Please sign in to comment.