We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca82868 commit 05e15ecCopy full SHA for 05e15ec
src/Processor/Product/TaxonsProcessor.php
@@ -28,6 +28,7 @@ public function __construct(
28
29
public function process(ProductInterface $product, array $resource): void
30
{
31
+ $product->getProductTaxons()->clear();
32
$taxonCodes = array_unique($resource['categories']);
33
34
foreach ($taxonCodes as $taxonCode) {
0 commit comments