<?xml version="1.0"?>
<!--
/**
* BSS Commerce Co.
*
* NOTICE OF LICENSE
*
* This source file is subject to the EULA
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://bsscommerce.com/Bss-Commerce-License.txt
*
* @category   BSS
* @package    Bss_ConfiguableGridView
* @author     Extension Team
* @copyright  Copyright (c) 2018-2019 BSS Commerce Co. ( http://bsscommerce.com )
* @license    http://bsscommerce.com/Bss-Commerce-License.txt
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="product.info.addtocart.additional">
            <action method="setTemplate">
                <argument name="template" xsi:type="helper" helper="Bss\ConfiguableGridView\Helper\Data::getAddtocartButtonTemplate">
                    <param name="name">Bss_ConfiguableGridView::product/view/addtocart.phtml</param>
                </argument>
            </action>
            <action method="setIsPortoTheme">
                <argument name="portoTheme" xsi:type="helper" helper="Bss\ConfiguableGridView\Helper\Data::isPortoThemeActive"/>
            </action>
        </referenceBlock>
        <referenceBlock name="product.info">
            <action method="setTemplate">
                <argument name="template" xsi:type="helper" helper="Bss\ConfiguableGridView\Helper\Data::getFormTemplate">
                    <param name="name">Bss_ConfiguableGridView::product/view/form.phtml</param>
                </argument>
            </action>
        </referenceBlock>
    </body>
</page>
