Skip to content

Commit

Permalink
Fixed store get attribute raw value with store different then default (
Browse files Browse the repository at this point in the history
  • Loading branch information
midlan authored Jun 24, 2020
1 parent f19c4af commit e61cd64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Catalog/Model/Resource/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ public function getAttributeRawValue($entityId, $attribute, $store)
'store_value.value'
);
$joinCondition = array(
$adapter->quoteInto('store_value.attribute_id IN (?)', array_keys($_attributes)),
'store_value.attribute_id = default_value.attribute_id',
'store_value.entity_type_id = :entity_type_id',
'store_value.entity_id = :entity_id',
'store_value.store_id = :store_id',
Expand Down

0 comments on commit e61cd64

Please sign in to comment.