diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php index 494ba62556c2e..47ad0ba2e3eda 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php +++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php @@ -1091,9 +1091,9 @@ public function joinUrlRewrite() { $this->joinTable( 'core_url_rewrite', - 'entity_id=entity_id', + 'product_id=entity_id', array('request_path'), - '{{table}}.type = ' . Mage_Core_Model_Url_Rewrite::TYPE_PRODUCT, + null, 'left' );