我想使用分层导航块创建制造商(在我的情况下为品牌)过滤器并将其放在我的默认排序旁边
在 ps 1.5 中,我通过在我的 category.tpl 中插入此代码来做到这一点
{include file="./modules/blocklayered/blocklayered.tpl"}
所以现在我的问题是当我在 prestashop 1.6 执行此步骤时遇到此错误
Notice: Undefined index: nbr_filterBlocks in /home/vhost/dextertonstore2/cache/smarty/compile/2a/3d/27/2a3d274f79f30dbcf6a26fed74f871da2fb62e0e.file.blocklayered.tpl.php on line 44 Notice: Trying to get property of non-object in /home/vhost/dextertonstore2/cache/smarty/compile/2a/3d/27/2a3d274f79f30dbcf6a26fed74f871da2fb62e0e.file.blocklayered.tpl.php on line 44
Notice: Undefined index: nbr_filterBlocks in /home/vhost/dextertonstore2/cache/smarty/compile/2a/3d/27/2a3d274f79f30dbcf6a26fed74f871da2fb62e0e.file.blocklayered.tpl.php on line 436 Notice: Trying to get property of non-object in /home/vhost/dextertonstore2/cache/smarty/compile/2a/3d/27/2a3d274f79f30dbcf6a26fed74f871da2fb62e0e.file.blocklayered.tpl.php on line 436
我试图清除缓存并重新编译我的模板,我什至在 \cache\smarty\cache 和 \cache\smarty\compile 中手动删除了我的缓存,但我仍然收到此错误。