我有一個名爲無法在Magento 2延伸的佈局,返回到供應商文件夾
/無功/網絡/ t_f /供應商/的magento /模塊獎勵/視圖/前端/佈局/ customer_account文件。 XML
,我想擴展刪除鏈接,所以我創建
/var/www/t_f/app/design/frontend/Tf/lion/Magento_Reward/layout/customer_account.xml
但它仍然使用供應商文件夾...任何想法?不知道我做錯了什麼。非常感謝!
我有一個名爲無法在Magento 2延伸的佈局,返回到供應商文件夾
/無功/網絡/ t_f /供應商/的magento /模塊獎勵/視圖/前端/佈局/ customer_account文件。 XML
,我想擴展刪除鏈接,所以我創建
/var/www/t_f/app/design/frontend/Tf/lion/Magento_Reward/layout/customer_account.xml
但它仍然使用供應商文件夾...任何想法?不知道我做錯了什麼。非常感謝!
你應該把你的佈局XML文件來此路徑
/var/www/t_f/app/design/frontend/Tf/lion/Magento_Reward/view/frontend/layout/customer_account.xml
首先清除緩存並檢查。
備選您可以將代碼放置在默認主題文件夾中。
/var/www/t_f/app/design/frontend/Tf/default/Magento_Reward/layout/customer_account.xml
你可以把佈局文件的代碼? –