Skip to content

Commit 9804da7

Browse files
author
shikhamis11
committed
fixed store wise product filter issue
Fixed issue - magento#18374 Unable to get product attribute value for store-view scope type in product collection loaded for a specific store.
1 parent 6b109f4 commit 9804da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Model/Entity/Collection/AbstractCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public function addAttributeToFilter($attribute, $condition = null, $joinType =
394394
*/
395395
public function addFieldToFilter($attribute, $condition = null)
396396
{
397-
return $this->addAttributeToFilter($attribute, $condition);
397+
return $this->addAttributeToFilter($attribute, $condition,'left');
398398
}
399399

400400
/**

0 commit comments

Comments
 (0)