Magento 类别/子类别作为页面
我正在尝试使用类别及其子类别来呈现自定义页面。为此,我尝试了以下操作:
* Catalog->Categories->Manage Categories
* Create the category
o Create any of the subcategories I want
* Select a subcategory and select the 'Custom Design' tab
o Select 'Custom Design' in the dropdown.
现在,我进入代码库并执行以下操作:
$: cd /var/www/host/app/design/frontend/siteredesign
$: tree custom_design/
custom_design/
├── etc
├── layout
├── locale
└── template
└── catalog
└── category
└── view.phtml
当我转到:host.com/category/subcategory 时,我收到 404...我缺少什么? TIA。
我希望 view.phtml 能够运行。
I'm trying to use a category and its subcategory to render a custom page. To do this I've tried the following:
* Catalog->Categories->Manage Categories
* Create the category
o Create any of the subcategories I want
* Select a subcategory and select the 'Custom Design' tab
o Select 'Custom Design' in the dropdown.
Now I go into my code base and do the following:
$: cd /var/www/host/app/design/frontend/siteredesign
$: tree custom_design/
custom_design/
├── etc
├── layout
├── locale
└── template
└── catalog
└── category
└── view.phtml
And when I goto: host.com/category/subcategory I get a 404...what am I missing? TIA.
I would expect that view.phtml gets run.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已解决 -
必须重新创建类别和子类别,现在一切正常。想想吧,Magento FTW。
Solved -
Had to recreate the category and subcategory, now it all works. Go figure, Magento FTW.