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 1717 */
1818class Grid extends \Magento \Wishlist \Model \ResourceModel \Item \Collection
1919{
20- /**
21- * Load product attributes to present in grid
22- */
23- private const PRODUCT_ATTRIBUTES_TO_GRID = [
24- 'name ' ,
25- 'price ' ,
26- ];
27-
2820 /**
2921 * @var \Magento\Framework\Registry
3022 */
@@ -120,7 +112,7 @@ protected function _assignProducts()
120112 {
121113 /** @var ProductCollection $productCollection */
122114 $ productCollection = $ this ->_productCollectionFactory ->create ()
123- ->addAttributeToSelect (self :: PRODUCT_ATTRIBUTES_TO_GRID )
115+ ->addAttributeToSelect ($ this -> _wishlistConfig -> getProductAttributes () )
124116 ->addIdFilter ($ this ->_productIds );
125117
126118 /** @var Item $item */
You can’t perform that action at this time.
0 commit comments