1

We have added some of the products in one of the category. When we go to that category page, the item count is not updating. It always showing "1 Total Result". Please see the below screenshot once.

Could anyone please help me to resolve this?

3
  • Can u please run indexer:reindex command and check Dec 7, 2019 at 4:43
  • which PHP version have to use ? Dec 7, 2019 at 7:05
  • @NareshRupareliya, I did run it. Still having the issue
    – MagentoDev
    Dec 9, 2019 at 1:44

1 Answer 1

0

Please look at this file

vendor/magento/module-catalog/view/frontend/templates/product/list/toolbar/amount.phtml

If you have added that in your custom theme here

app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list/toolbar/amount.phtml

Then please rename it with amount1.phtml and check if this thing fix your issue ? Then again revert that file name and try to dubug that file's code.

Hope this will help you!

2
  • Thanks. Yes we have file amount.phtml on our custom theme so that I have renamed the file as your suggestion. But after renaming the file, the item count is not visible at all.
    – MagentoDev
    Dec 10, 2019 at 13:41
  • After renaming that file did you cleared Magento cache ? Dec 10, 2019 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.