【发布时间】:2020-10-14 11:12:44
【问题描述】:
我正在 prestashop 中开发电子商务,它正在使用 Apollo Page builder 对其进行模板化。
在产品页面(Ap Products Details Builder)中,我想添加一个指向 cms 页面的链接。
这是我尝试过的:
-
App PageBuilder -> Ap Products Details Builder -> detail2556437236 -> 编辑
在构建器上,将块 tpl 代码拖到模板内并添加:
{url entity='cms' id=6 id_lang='1'} -
在文件detail2556437236.tpl中添加:
{url entity='cms' id=10 id_lang=2} -
在文件detail2556437236.tpl中添加:
<a href=""></a>
每次尝试时,元素中都不会出现任何内容,控制台上也不会出现错误。它似乎甚至没有被调用
【问题讨论】:
标签: smarty prestashop-1.7