Magento Guide Layer Incorrect Product Counter

Problem. Invalid number of products for multi-level navigation on the list page for all attributes, but the number of products in the category is excellent.

Magento Version: 1.7.0.2

I deleted all the redefinition of the directory and folder file, and also downloaded the main magento file of the file to check if this is the problem of the main file, but still I am not getting the problem.

Example:

Manufacturer

Production 1 (90)

Production 2 (82)

Production 3 (223)

But when I click on Manufacture 1, there will be 3 products.

One thing I found in the code below if I change Mage :: getSingleton ('catalog / layer'); Mage :: getModel ('catalog / layer'); than the number of products, but the product is not displayed according to the filter.

//​​ ​​/////view.php № 149

public function getLayer()
{
   return Mage::getSingleton('catalog/layer');
}

.

.

+3
1

singleton . , , - ... , . reindex? , . . : app/code/core/Mage/Catalog/Model/Resource/Layer/Filter/Attribute.php: 83 getCount(). , . xDebug . , smth,

$a = (string) $select;
die($a);

, . !

0

All Articles