0

当我们在 magento 中搜索产品时,它会在带有寻呼机的搜索页面上显示结果,但我想在不使用 magento 寻呼机的情况下显示项目计数。

我想要一个自定义代码来显示搜索结果中的项目总数。

如果有人得到答案,请更新我。

谢谢

4

1 回答 1

2

use $this->getCollection()->count() in your list.phtml file and it counts total products found in search result.

于 2012-05-28T08:01:57.600 回答