标签: shopware
我想根据插件配置值在产品详细信息页面上显示/隐藏按钮,但不知道如何执行此操作。
答案 0 :(得分:0)
该配置应在如下的shopware对象下可用:
{% if shopware.config.{yourConfigKey} %} <button></button> {% endif %}