Skip to content

Commit

Permalink
Merge branch '3.2' into 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Apr 25, 2024
2 parents 1c6cb71 + 36dd7e7 commit 39af768
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -47,6 +47,11 @@ public function clone(
}

$quantityPriceRules = $referenceProduct->getQuantityPriceRules();
$hasQuantityPriceRules = count($product->getQuantityPriceRules()) > 0;

if ($hasQuantityPriceRules === true && $resetExistingData === false) {
return;
}

/**
* @var Concrete&ProductInterface $referenceProduct
Expand Down

0 comments on commit 39af768

Please sign in to comment.