Skip to content

Commit 461cbc5

Browse files
committed
MAGETWO-57420: Backport of MAGETWO-54320: Category page showing old price -indexer to 2.1
- back porting commits from ticket MAGETWO-55055: Tier price doesn't work correctly with FPC for 2.1
1 parent 144f363 commit 461cbc5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,16 @@ public function getCacheKey()
128128
{
129129
return parent::getCacheKey() . ($this->getData('list_category_page') ? '-list-category-page': '');
130130
}
131+
132+
/**
133+
* {@inheritdoc}
134+
*
135+
* @return array
136+
*/
137+
public function getCacheKeyInfo()
138+
{
139+
$cacheKeys = parent::getCacheKeyInfo();
140+
$cacheKeys['display_minimal_price'] = $this->getDisplayMinimalPrice();
141+
return $cacheKeys;
142+
}
131143
}

0 commit comments

Comments
 (0)