Skip to content

Commit 0d2273e

Browse files
committed
MAGETWO-70835: Fix Tier Price for One Product Unit
1 parent 031762b commit 0d2273e

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/TierPrice.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ protected function _construct()
7272
*/
7373
public function reindexEntity(array $entityIds = [])
7474
{
75+
$this->getConnection()->delete($this->getMainTable(), ['entity_id IN (?)' => $entityIds]);
76+
7577
//separate by variations for increase performance
7678
$tierPriceVariations = [
7779
[true, true], //all websites; all customer groups

0 commit comments

Comments
 (0)