If I understand you correctly, I came across a similar problem. My eventual fix was to display both the left.phtml and layered navigation at the same time, then hide the category in layered navigation. (if($showBlock && $this->__($_filter->getName()) != "Category"):)
Then in left.phtml I parsed the $_GET variable and appended it to the end of the URL string for each category, ensuring that the layered navigation search terms persisted between categories.
Category landing pages are usually defined in the same place where you created the category. Set the display mode to CMS block or CMS block + products and you should see your content displayed for the user.
If this isn't what you are expecting, please elaborate on what you are using as a "category landing page".
发布评论
评论(2)
如果我理解正确的话,我也遇到过类似的问题。
我最终的解决办法是同时显示 left.phtml 和分层导航,然后隐藏分层导航中的类别。
(if($showBlock && $this->__($_filter->getName()) != "Category"):)
然后在 left.phtml 中我解析了 $_GET 变量并将其附加到末尾每个类别的 URL 字符串,确保分层导航搜索词在类别之间持续存在。
有点脏,但它能完成工作。
If I understand you correctly, I came across a similar problem.
My eventual fix was to display both the left.phtml and layered navigation at the same time, then hide the category in layered navigation.
(if($showBlock && $this->__($_filter->getName()) != "Category"):)
Then in left.phtml I parsed the $_GET variable and appended it to the end of the URL string for each category, ensuring that the layered navigation search terms persisted between categories.
Slightly dirty but it does the job.
类别登陆页面通常在您创建类别的同一位置定义。将显示模式设置为 CMS 块或 CMS 块 + 产品,您应该会看到为用户显示的内容。
如果这不是您所期望的,请详细说明您使用的“类别登陆页面”。
Category landing pages are usually defined in the same place where you created the category. Set the display mode to CMS block or CMS block + products and you should see your content displayed for the user.
If this isn't what you are expecting, please elaborate on what you are using as a "category landing page".