【发布时间】:2016-05-15 12:27:08
【问题描述】:
我想在我的 Prestashop 主题的标题 (header.tpl) 中获取我的所有类别,但它似乎效果不佳...
我的代码header.tpl:
{$childCategories= Category::getChildren(0, 0, $active = true, $id_shop = false);}
{printf($childCategories)}
问题:错误 500
【问题讨论】:
-
您检查过您的 apache 错误日志文件吗?您使用的是哪个版本的 Prestashop?
-
我使用的是最新版本,错误是
Category不存在...但是我在哪里可以将类别发送到模板?
标签: smarty prestashop