<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
   <type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
        <arguments>
            <argument name="collections" xsi:type="array">
                <item name="mastering_items_grid_data_source" xsi:type="string">Yeboyebo\FueraStockNotificacion\Model\ResourceModel\Subscription\Grid\Collection</item>
            </argument>
        </arguments>
    </type>

    <!-- Quitado (2026-11-11) el bloque "Solucion ver tallas de producto sin stock": preference de
         Magento\ConfigurableProduct\Helper\Data, plugins ShowOutOfStockProducts / ShowAllProductSwatches y
         StockStatusBaseSelectProcessorN en LinkedProductSelectBuilder. Era para el selector de tallas de Luma;
         la ficha Hyvä pinta las tallas agotadas con su propio mapa de stock y así el precio de los configurables
         vuelve a calcularse solo con las tallas con stock, como en Magento. -->

    <type name="Yeboyebo\FueraStockNotificacion\Helper\Data"> 
        <arguments>
            <argument name="frontUrlModel" xsi:type="object" shared="false">Magento\Framework\Url</argument>
        </arguments>
    </type>
</config>