<?xml version="1.0"?>
<!--
/**
 * Hyvä Themes - https://hyva.io
 * Copyright © Hyvä Themes 2022-present. All rights reserved.
 * This product is licensed per Magento install
 * See https://hyva.io/license
 */
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
    <body>
        <referenceContainer name="before.body.end">
            <!-- Clear the Hyvä Checkout storage as soon as the order success page is shown. -->
            <block name="hyva.checkout.init-storage.clear-all"
                   template="Hyva_Checkout::page/js/api/v1/storage/clear-all.phtml"
            />
        </referenceContainer>
    </body>
</page>
