在Magento 2.1(.1)中,徽标被移到了/vendor/magento/module-checkout/view/frontend/layout/checkout_index_index.xml它的正常位置checkout.header.wrapper,然后似乎在某处丢失了。
这是祸根:
<move element="logo" destination="checkout.header.wrapper"/>
并修改:
layout="1column"
要取回徽标,请添加/编辑文件:
[root]/app/design/frontend/[vendor]/[theme]/Magento_Checkout/layout/checkout_index_index.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
layout="1column"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<move element="logo" destination="header-wrapper"/>
</body>
</page>
参考地址:https://magento.stackexchange.com/questions/125882/add-header-and-footer-in-checkout-page-magento2