Skip to content

Instantly share code, notes, and snippets.

@markshust
Last active August 2, 2024 21:43
Show Gist options
  • Save markshust/7736c64698d73146d9025dec16b0880a to your computer and use it in GitHub Desktop.
Save markshust/7736c64698d73146d9025dec16b0880a to your computer and use it in GitHub Desktop.
app/code/Macademy/CheckoutMessages/view/frontend/layout/checkout_index_index.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="checkout" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<referenceBlock name="checkout.root">
<arguments>
<argument name="jsLayout" xsi:type="array">
<item name="components" xsi:type="array">
<item name="checkout" xsi:type="array">
<item name="children" xsi:type="array">
<item name="sidebar" xsi:type="array">
<item name="config" xsi:type="array">
<item name="template" xsi:type="string">Macademy_CheckoutMessages/sidebar</item>
</item>
</item>
</item>
</item>
</item>
</argument>
</arguments>
</referenceBlock>
</referenceContainer>
</body>
</page>
@marcobolognesi
Copy link

Line 21 should be
</referenceBlock>

@markshust
Copy link
Author

You're right! Thanks @marcobolognesi, all updated 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment