Skip to content

Commit

Permalink
Reset tax_id_columns (#31)
Browse files Browse the repository at this point in the history
Co-authored-by: Robin Mulder <robin@justbetter.nl>
  • Loading branch information
rbnmulder and Robin Mulder authored May 26, 2023
1 parent ca09d3c commit f83fedf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Plugin/SetTaxClassId.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public function afterAddRequiredData(Product $context)

$mappings = $this->serializer->unserialize($mappings);

$this->tax_id_columns = [];
foreach ($attributes as $attribute) {
if ($attribute['magento_type'] === "tax") {
$this->tax_id_columns[] = $attribute['pim_type'];
Expand Down

0 comments on commit f83fedf

Please sign in to comment.