vuestorefront / magento2-vsbridge-indexer

This is official Vue Storefront, native, Magento2 indexer
https://vuestorefront.io
MIT License
69 stars 89 forks source link

Category product count ignores visibility status #294

Open janimaljanen opened 4 years ago

janimaljanen commented 4 years ago

Problem: Category product count does not take in account the visibility of products. Because of this products with status "not visible individually" are counted in the total here at getProductCount.

This also means that child products for configurable products are counted towards the total even though they are in most cases not shown individually.

Solution: Visibility check is added to getProductCount