Skip to content

Commit 4bfe264

Browse files
authored
Merge pull request #1529 from algolia/feature/MAGE-896
MAGE-896: looking similar added to cart page
2 parents d898c5f + ef222c2 commit 4bfe264

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Block/Configuration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ public function getConfiguration()
241241
'trendingItemsTitle' => __($config->getTrendingItemsTitle()),
242242
'addToCartParams' => $addToCartParams,
243243
'isLookingSimilarEnabledOnPDP' => $config->isLookingSimilarEnabledOnPDP(),
244+
'isLookingSimilarEnabledOnCartPage' => $config->isLookingSimilarEnabledOnShoppingCart(),
244245
'lookingSimilarTitle' => __($config->getLookingSimilarTitle())
245246
],
246247
'extensionVersion' => $config->getExtensionVersion(),

view/frontend/templates/recommend/cart/recommend_items.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if (!empty($recommendConfig['enabledRelatedInCart']) || !empty($recommendConfig[
88
<div id="frequentlyBoughtTogether" class="recommend-component"></div>
99
<div id="relatedProducts" class="recommend-component"></div>
1010
<div id="trendItems" class="trendsItem recommend-component"></div>
11+
<div id="lookingSimilar" class="lookingSimilar recommend-component"></div>
1112
<script type="text/x-magento-init">
1213
{
1314
"*": {

0 commit comments

Comments
 (0)