1
我工作的Magento 2.Magento的2 - 獲得scopeconfig值
但找不到佈局的xml文件得到scopeconfig值的解決方案。
在magento 1.x中,使用如下。
<block type="cms/block" ...>
<action method="..." ifconfig="config_path/config"></action>
</block>
在magento 2中,如何在佈局xml中使用「ifconfig」?
如何在phtml文件中使用它? – Dmitry