Skip to content

Commit ef222c2

Browse files
committed
MAGE-896: looking similar added to cart page
1 parent ccddef7 commit ef222c2

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
@@ -240,6 +240,7 @@ public function getConfiguration()
240240
'trendingItemsTitle' => __($config->getTrendingItemsTitle()),
241241
'addToCartParams' => $addToCartParams,
242242
'isLookingSimilarEnabledOnPDP' => $config->isLookingSimilarEnabledOnPDP(),
243+
'isLookingSimilarEnabledOnCartPage' => $config->isLookingSimilarEnabledOnShoppingCart(),
243244
'lookingSimilarTitle' => __($config->getLookingSimilarTitle())
244245
],
245246
'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)