首页 > 解决方案 > 如何在 PrestaShop 1.7.6 的子主题中添加新块?

问题描述

我可以用代码扩展父模板文件吗

{extends file='parent:checkout/_partials/steps/checkout-step.tpl'}

添加一个新的{block}?如果是,那怎么办?

还是我只需要在我的子主题中覆盖父模板?

编辑:

我想在父模板中存在的任何块之外添加新块。

标签: templatesthemesprestashop-1.7

解决方案


推荐阅读