why doesn't prestashop layered navigation block show on the front end?

ⅰ亾dé卋堺 提交于 2019-12-11 00:01:04

问题


I read docs, activated the layered navigation block, rebuilt the indexes, created a template, but it doesn't show at all on the front end. Why?

Thank you


回答1:


Make sure the category currently active in the module's configuration. Steps: 1. go to layered navigation block configuration 2. edit template 3. check the categories in "Categories used for this template"




回答2:


In order to use the Layered Navigation Block you need to have mod_rewrite enabled and active on your server. You also need to go to Preferences>SEOnURLs>Turn on Friendly URL.

You should also turn on Error reporting to check what, if any, errors you have. Below are instructions.

for releases below PrestaShop 1.5.3

config/config.inc.php

find this line @ini_set('display_errors', 'off');

change to look like this: @ini_set('display_errors', 'on');

PrestaShop 1.5.3+

config/defines.inc.php

find this line define('_PS_MODE_DEV_', false);

change to look like this: define('_PS_MODE_DEV_', true);



来源:https://stackoverflow.com/questions/17565663/why-doesnt-prestashop-layered-navigation-block-show-on-the-front-end

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!