Yes, but i want to show the header and footer, any solution ?
solved,
I overwrite the checkout_index_index.php in my theme with the below code and header footer displaying.
<?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>
<referenceContainer name="header.panel" remove="false" />
<referenceBlock name="top.search" remove="false" />
<!-- <referenceBlock name="catalog.compare.link" remove="false" /> -->
<referenceBlock name="catalog.topnav" remove="true"/>
<referenceBlock name="navigation.sections" remove="true"/>
<referenceContainer name="footer-container" remove="false"/>
<referenceBlock name="top.links" remove="true" />
<referenceBlock name="top.links2" remove="true" />
<referenceBlock name="minicart" remove="true" />
<move element="logo" as="logo" destination="ves_header"/>
<!-- <referenceBlock name="ves.footer.top" remove="true" /> -->
</body>
</page>
You have to override check checkout_index_index.php file in your own theme. To do that create checkout_index_index.php in app/design/frontend/Demo/Yourtheme/Magento_Checkout/layout and insert this code in it:
<?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>
<referenceBlock name="minicart" remove="false" />
<referenceContainer name="header.panel" remove="false" />
<referenceBlock name="top.search" remove="false" />
<referenceBlock name="catalog.compare.link" remove="false" />
<referenceBlock name="catalog.topnav" remove="false"/>
<referenceContainer name="footer-container" remove="false"/>
</body>
</page>
After it, don’t forget to run these commands:
rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/* var/session/* var/view_preprocessed/* pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush