File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
app/code/core/Mage/Catalog/Model/Resource/Product Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1463,12 +1463,13 @@ public function addOptionsToResult()
14631463 $ productIds [] = $ product ->getId ();
14641464 }
14651465 if (!empty ($ productIds )) {
1466+ $ storeId = $ this ->getStoreId ();
14661467 $ options = Mage::getModel ('catalog/product_option ' )
14671468 ->getCollection ()
1468- ->addTitleToResult (Mage:: app ()-> getStore ()-> getId () )
1469- ->addPriceToResult (Mage:: app ()-> getStore ()-> getId () )
1469+ ->addTitleToResult ($ storeId )
1470+ ->addPriceToResult ($ storeId )
14701471 ->addProductToFilter ($ productIds )
1471- ->addValuesToResult ();
1472+ ->addValuesToResult ($ storeId );
14721473
14731474 foreach ($ options as $ option ) {
14741475 if ($ this ->getItemById ($ option ->getProductId ())) {
You can’t perform that action at this time.
0 commit comments