From f5029c155ef1dcd3c52cd77a45da313d1390babc Mon Sep 17 00:00:00 2001 From: Pim Ruiter Date: Wed, 21 Dec 2022 13:25:32 +0100 Subject: [PATCH] Fix for error after removing dummy tax class column from tmp product table --- Plugin/SetTaxClassId.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Plugin/SetTaxClassId.php b/Plugin/SetTaxClassId.php index 90563f2..ecfad76 100644 --- a/Plugin/SetTaxClassId.php +++ b/Plugin/SetTaxClassId.php @@ -97,7 +97,6 @@ public function afterAddRequiredData(Product $context) try { $connection = $this->entitiesHelper->getConnection(); $connection->query($taxQuery); - $connection->query("ALTER TABLE `" . $tmpTable . "` DROP COLUMN `" . $tax_id_column . "`"); } catch (Exception $e) { throw $e; }