Skip to content

Commit 8a8e227

Browse files
authored
ENGCOM-4513: [Backport] Wishlist review summary #21759
2 parents 8d15e07 + a951d50 commit 8a8e227

File tree

7 files changed

+26
-10
lines changed

7 files changed

+26
-10
lines changed

app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Actions.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
*/
66

77
/**
8-
* Wishlist for item column in customer wishlist
9-
*
108
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Wishlist\Block\Customer\Wishlist\Item\Column;
1311

1412
/**
13+
* Model for item column in customer wishlist.
14+
*
1515
* @api
16+
* @deprecated
1617
* @since 100.0.2
1718
*/
1819
class Actions extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column

app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Comment.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
*/
66

77
/**
8-
* Wishlist block customer item cart column
9-
*
108
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Wishlist\Block\Customer\Wishlist\Item\Column;
1311

1412
/**
13+
* Wishlist block customer item cart column.
14+
*
1515
* @api
16+
* @deprecated
1617
* @since 100.0.2
1718
*/
1819
class Comment extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column

app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Edit.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
*/
66

77
/**
8-
* Edit item in customer wishlist table
9-
*
108
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Wishlist\Block\Customer\Wishlist\Item\Column;
1311

1412
/**
13+
* Edit item in customer wishlist table.
14+
*
1515
* @api
16+
* @deprecated
1617
* @since 100.0.2
1718
*/
1819
class Edit extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column

app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Info.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
*/
66

77
/**
8-
* Wishlist block customer item cart column
9-
*
108
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Wishlist\Block\Customer\Wishlist\Item\Column;
1311

1412
/**
13+
* Wishlist block customer item cart column.
14+
*
1515
* @api
16+
* @deprecated
1617
* @since 100.0.2
1718
*/
1819
class Info extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column

app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Column/Remove.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
*/
66

77
/**
8-
* Delete item column in customer wishlist table
9-
*
108
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Wishlist\Block\Customer\Wishlist\Item\Column;
1311

1412
/**
13+
* Delete item column in customer wishlist table
14+
*
1515
* @api
16+
* @deprecated
1617
* @since 100.0.2
1718
*/
1819
class Remove extends \Magento\Wishlist\Block\Customer\Wishlist\Item\Column

app/code/Magento/Wishlist/view/frontend/layout/wishlist_index_index.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<block class="Magento\Wishlist\Block\Customer\Wishlist\Items" name="customer.wishlist.items" as="items" template="Magento_Wishlist::item/list.phtml" cacheable="false">
1818
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Image" name="customer.wishlist.item.image" template="Magento_Wishlist::item/column/image.phtml" cacheable="false"/>
1919
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Info" name="customer.wishlist.item.name" template="Magento_Wishlist::item/column/name.phtml" cacheable="false"/>
20+
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column" name="customer.wishlist.item.review" template="Magento_Wishlist::item/column/review.phtml" cacheable="false"/>
2021
<block class="Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Cart" name="customer.wishlist.item.price" template="Magento_Wishlist::item/column/price.phtml" cacheable="false">
2122
<block class="Magento\Catalog\Pricing\Render" name="product.price.render.wishlist">
2223
<arguments>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
/** @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column $block */
8+
$product = $block->getItem()->getProduct();
9+
?>
10+
<?= $block->getReviewsSummaryHtml($product, 'short');

0 commit comments

Comments
 (0)