Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-virtual-category/view/adminhtml/layout/merchandiser.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<!--
/**
 * Smile_ElasticsuiteVirtualCategory category form modifications.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
 * versions in the future.
 *
 * @category  Smile
 * @package   Smile\ElasticsuiteVirtualCategory
 * @author    Pierre Gauthier <pigau@smile.fr>
 * @copyright 2021 Smile
 * @license   Open Software License ("OSL") v. 3.0
 */
 -->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="category.merchandiser.smart_category" remove="true" />
        <referenceBlock name="category.merchandiser.sort_products_button" remove="true" />
        <referenceBlock name="category.merchandiser.sort_order" remove="true" />

        <referenceBlock name="category.merchandiser.add_product_button">
            <arguments>
                <argument name="label" translate="true" xsi:type="string">Add/Remove Products</argument>
            </arguments>
        </referenceBlock>
    </body>
</page>