Skip to content

Commit 53ebf75

Browse files
luigifabfballiano
authored andcommitted
"Sales order items" now read product data from the store they were created in (#2723)
1 parent f91b7a1 commit 53ebf75

File tree

1 file changed

+1
-1
lines changed
  • app/code/core/Mage/Sales/Model/Order

1 file changed

+1
-1
lines changed

app/code/core/Mage/Sales/Model/Order/Item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ public function getBuyRequest()
811811
public function getProduct()
812812
{
813813
if (!$this->getData('product')) {
814-
$product = Mage::getModel('catalog/product')->load($this->getProductId());
814+
$product = Mage::getModel('catalog/product')->setStoreId($this->getStoreId())->load($this->getProductId());
815815
$this->setProduct($product);
816816
}
817817

0 commit comments

Comments
 (0)