<?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_ForceLogin
 * @author     Extension Team
 * @copyright  Copyright (c) 2017-2018 BSS Commerce Co. ( http://bsscommerce.com )
 * @license    http://bsscommerce.com/Bss-Commerce-License.txt
 */
 -->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\Customer\Block\Account\AuthenticationPopup">
        <plugin name="bss_register_button" type="Bss\ForceLogin\Plugin\Block\Account\AuthenticationPopup" sortOrder="10"/>
    </type>

    <!--  Mageplaza AjaxLayer compatible  -->
    <type name="Mageplaza\AjaxLayer\Controller\Search\Result\Index">
        <plugin name="bss_mageplaza_force_login_plugin"
                type="Bss\ForceLogin\Plugin\CatalogSearch\Result\Index"
                sortOrder="20" />
    </type>
    <!--  ./=================================  -->
</config>
