File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 17
17
*/
18
18
class Grid extends \Magento \Wishlist \Model \ResourceModel \Item \Collection
19
19
{
20
- /**
21
- * Load product attributes to present in grid
22
- */
23
- private const PRODUCT_ATTRIBUTES_TO_GRID = [
24
- 'name ' ,
25
- 'price ' ,
26
- ];
27
-
28
20
/**
29
21
* @var \Magento\Framework\Registry
30
22
*/
@@ -120,7 +112,7 @@ protected function _assignProducts()
120
112
{
121
113
/** @var ProductCollection $productCollection */
122
114
$ productCollection = $ this ->_productCollectionFactory ->create ()
123
- ->addAttributeToSelect (self :: PRODUCT_ATTRIBUTES_TO_GRID )
115
+ ->addAttributeToSelect ($ this -> _wishlistConfig -> getProductAttributes () )
124
116
->addIdFilter ($ this ->_productIds );
125
117
126
118
/** @var Item $item */
You can’t perform that action at this time.
0 commit comments