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()
1463
1463
$ productIds [] = $ product ->getId ();
1464
1464
}
1465
1465
if (!empty ($ productIds )) {
1466
+ $ storeId = $ this ->getStoreId ();
1466
1467
$ options = Mage::getModel ('catalog/product_option ' )
1467
1468
->getCollection ()
1468
- ->addTitleToResult (Mage:: app ()-> getStore ()-> getId () )
1469
- ->addPriceToResult (Mage:: app ()-> getStore ()-> getId () )
1469
+ ->addTitleToResult ($ storeId )
1470
+ ->addPriceToResult ($ storeId )
1470
1471
->addProductToFilter ($ productIds )
1471
- ->addValuesToResult ();
1472
+ ->addValuesToResult ($ storeId );
1472
1473
1473
1474
foreach ($ options as $ option ) {
1474
1475
if ($ this ->getItemById ($ option ->getProductId ())) {
You can’t perform that action at this time.
0 commit comments