<?xml version="1.0"?>
<!--
    Selector de tienda como vista adicional del método storepickup_storepickup: Hyvä lo
    pinta dentro de la caja del método cuando está seleccionado (hijo de
    checkout.shipping.methods con alias = código del método).
    Plantilla y lógica comunes en Yeboyebo_CheckoutShopify (pickup selector).
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="checkout.shipping.methods">
            <block name="checkout.shipping.method.storepickup_storepickup"
                   as="storepickup_storepickup"
                   template="Yeboyebo_CheckoutShopify::checkout/pickup/selector.phtml">
                <arguments>
                    <argument name="magewire" xsi:type="object">
                        \Yeboyebo\StorePickupHyva\Magewire\Checkout\StorePickup
                    </argument>
                    <argument name="pickup_icon" xsi:type="string">store</argument>
                </arguments>
            </block>
        </referenceBlock>
    </body>
</page>
