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?

  • Can u please run indexer:reindex command and check – Naresh Rupareliya Dec 7 '19 at 4:43
  • which PHP version have to use ? – Vishal Baraiya Dec 7 '19 at 7:05
  • @NareshRupareliya, I did run it. Still having the issue – Siva Dec 9 '19 at 1:44
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!

  • 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. – Siva Dec 10 '19 at 13:41
  • After renaming that file did you cleared Magento cache ? – Kishan Savaliya Dec 10 '19 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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