La recherche n'est Pas de Retourner l'Ensemble d'Un Ensemble d'attributs de Produits dans Magento 1.13 EE (1.8 EC)

magento.stackexchange https://magento.stackexchange.com//questions/89438

Question

Après la mise à jour 1.13 EE (1.8 EC), tout un ensemble d'attributs de produits n'apparaît plus dans les résultats de recherche.Les produits ont de la visibilité de la Recherche et de la page de produit pour ce produit fonctionne bien dans les deux notre 1.12 EE (1.7 EC) et 1,13 EE instances.La recherche fonctionne bien en 1.12, mais ne tient pas entièrement dans 1.13.La ligne est là, dans la catalogsearch_fulltext comme on le voit ici:

SELECT * FROM catalogsearch_fulltext WHERE data_index LIKE '%3402-757%';
+------------+----------+---------------------------------------------------------------------+-------------+
| product_id | store_id | data_index                                                          | fulltext_id |
+------------+----------+---------------------------------------------------------------------+-------------+
|    2443712 |        1 | ARCTICCAT-3402-757|Taxable Goods|Arctic Cat|Arctic Cat - 3402-757   |   139705308 |
|            |          | - V BELT, DRIVE||Authentic V BELT, DRIVE from Arctic Cat (Part#:    |             |
|            |          | 3402-757). UPC: 886224105147|Authentic V BELT, DRIVE from Arctic    |             |
|            |          | Cat (Part#: 3402-757). UPC: 886224105147|194.72|1                   |             |
+------------+----------+---------------------------------------------------------------------+-------------+

Fait quelque chose de changer de sujet de recherche dans 1.13 Est-il autre chose qui me manque ici?

Était-ce utile?

La solution

PATCH_SUPEE-4937_EE_1.13.1.0_v1.sh a fait le tour

__PATCHFILE_FOLLOWS__
diff --git app/code/core/Enterprise/Catalog/Model/Index/Action/Catalog/Category/Product/Refresh.php app/code/core/Enterprise/Catalog/Model/Index/Action/Catalog/Category/Product/Refresh.php
index ff9883a..452f1a5 100644
--- app/code/core/Enterprise/Catalog/Model/Index/Action/Catalog/Category/Product/Refresh.php
+++ app/code/core/Enterprise/Catalog/Model/Index/Action/Catalog/Category/Product/Refresh.php
@@ -554,13 +554,6 @@ class Enterprise_Catalog_Model_Index_Action_Catalog_Category_Product_Refresh
                     $this->_connection->getIfNullSql('cpss.value', 'cpsd.value') . ' = ?',
                     Mage_Catalog_Model_Product_Status::STATUS_ENABLED
                 )
-                ->where(
-                    $this->_connection->getIfNullSql('cpvs.value', 'cpvd.value') . ' IN (?)',
-                    array(
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
-                    )
-                )
                 ->columns(
                     array(
                         'category_id'   => 'cc.entity_id',
@@ -698,13 +691,6 @@ class Enterprise_Catalog_Model_Index_Action_Catalog_Category_Product_Refresh
                     Mage_Catalog_Model_Product_Status::STATUS_ENABLED
                 )
                 ->where(
-                    $this->_connection->getIfNullSql('cpvs.value', 'cpvd.value') . ' IN (?)',
-                    array(
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
-                    )
-                )
-                ->where(
                     $this->_connection->getIfNullSql('ccas.value', 'ccad.value') . ' = ?',
                     1
                 )
@@ -805,13 +791,6 @@ class Enterprise_Catalog_Model_Index_Action_Catalog_Category_Product_Refresh
                     $this->_connection->getIfNullSql('cpss.value', 'cpsd.value') . ' = ?',
                     Mage_Catalog_Model_Product_Status::STATUS_ENABLED
                 )
-                ->where(
-                    $this->_connection->getIfNullSql('cpvs.value', 'cpvd.value') . ' IN (?)',
-                    array(
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
-                        Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
-                    )
-                )
                 ->group('cp.entity_id')
                 ->columns(
                     array(
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top