Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我们在 magento 中搜索产品时,它会在带有寻呼机的搜索页面上显示结果,但我想在不使用 magento 寻呼机的情况下显示项目计数。
我想要一个自定义代码来显示搜索结果中的项目总数。
如果有人得到答案,请更新我。
谢谢
use $this->getCollection()->count() in your list.phtml file and it counts total products found in search result.