![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/app/code/Webkul/PrivateShop/etc/ |
<?xml version="1.0" ?> <!-- /** * Webkul Software * * @category Webkul * @package Webkul_PrivateShop * @author Webkul Software Private Limited * @copyright Webkul Software Private Limited (https://webkul.com) * @license https://store.webkul.com/license.html */ --> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="Webkul\PrivateShop\Api\PrivateGroupRepositoryInterface" type="Webkul\PrivateShop\Model\PrivateGroupRepository"/> <preference for="Webkul\PrivateShop\Api\Data\PrivateGroupInterface" type="Webkul\PrivateShop\Model\PrivateGroup"/> <preference for="Webkul\PrivateShop\Api\Data\PrivateGroupSearchResultsInterface" type="Magento\Framework\Api\SearchResults"/> <preference for="Webkul\PrivateShop\Api\PrivateProductRepositoryInterface" type="Webkul\PrivateShop\Model\PrivateProductRepository"/> <preference for="Webkul\PrivateShop\Api\Data\PrivateProductInterface" type="Webkul\PrivateShop\Model\PrivateProduct"/> <preference for="Webkul\PrivateShop\Api\Data\PrivateProductSearchResultsInterface" type="Magento\Framework\Api\SearchResults"/> <preference for="Webkul\PrivateShop\Api\Config\ConfigInterface" type="Webkul\PrivateShop\Model\Queue\Config\Config" /> <preference for="Webkul\PrivateShop\Api\Data\EnvelopeInterface" type="Webkul\PrivateShop\Model\Queue\Envelope" /> <preference for="Webkul\PrivateShop\Api\Queue\EncoderInterface" type="Webkul\PrivateShop\Model\Queue\MessageEncoder" /> <preference for="Webkul\PrivateShop\Api\Queue\PublisherInterface" type="Webkul\PrivateShop\Model\Queue\Publisher" /> <preference for="Webkul\PrivateShop\Api\Data\MessageInterface" type="Webkul\PrivateShop\Model\Queue\Message" /> <preference for="Webkul\PrivateShop\Api\Queue\MessageRepositoryInterface" type="Webkul\PrivateShop\Model\Queue\MessageRepository" /> <preference for="Webkul\PrivateShop\Api\Data\EmailDataInterface" type="Webkul\PrivateShop\Model\EmailData" /> <preference for="Webkul\PrivateShop\Api\MassEmailPublisherInterface" type="Webkul\PrivateShop\Model\Queue\MassEmailPublisher" /> <preference for="Magento\Catalog\Ui\DataProvider\Product\ProductDataProvider" type="Webkul\PrivateShop\Ui\DataProvider\Product\ProductDataProvider" /> <preference for="Magento\Customer\Ui\Component\DataProvider" type="Webkul\PrivateShop\Ui\DataProvider\Customer\DataProvider" /> <type name="Webkul\PrivateShop\Logger\Handler"> <arguments> <argument name="filesystem" xsi:type="object">Magento\Framework\Filesystem\Driver\File</argument> </arguments> </type> <type name="Webkul\PrivateShop\Logger\PrivateGroupLogger"> <arguments> <argument name="name" xsi:type="string">adslogger</argument> <argument name="handlers" xsi:type="array"> <item name="system" xsi:type="object">Webkul\PrivateShop\Logger\Handler</item> </argument> </arguments> </type> <!-- Plugins --> <type name="Magento\Customer\Api\CustomerRepositoryInterface"> <plugin name="extensionAttributePrivateGroup" type="Webkul\PrivateShop\Model\Plugin\CustomerRepositoryPlugin" /> </type> <type name="Magento\Customer\Model\Customer\DataProviderWithDefaultAddresses"> <plugin name="addGroupDataToCustomerForm" type="Webkul\PrivateShop\Model\Plugin\CustomerDataProviderPlugin" /> </type> <type name="Magento\Catalog\Model\Category"> <plugin name="savePrivateGroupsToCategory" type="Webkul\PrivateShop\Model\Plugin\CategoryPlugin" /> </type> <type name="Magento\Catalog\Model\Category\DataProvider"> <plugin name="addGroupDataToCategoryForm" type="Webkul\PrivateShop\Model\Plugin\CategoryDataProvider" /> </type> <type name="Magento\Catalog\Model\Product"> <plugin name="savePrivateGroupsToProduct" type="Webkul\PrivateShop\Model\Plugin\ProductPlugin" /> </type> <type name="Magento\Catalog\Ui\DataProvider\Product\Form\ProductDataProvider"> <plugin name="addGroupDataToProductForm" type="Webkul\PrivateShop\Model\Plugin\ProductDataProvider" /> </type> <type name="Magento\Catalog\Model\Layer"> <plugin name="afterProductcollectionLoad" type="Webkul\PrivateShop\Model\Plugin\Product\ProductCollectionLoad" /> </type> <type name="Magento\CatalogSearch\Model\Advanced"> <plugin name="afterAdvancedProductcollectionLoad" type="Webkul\PrivateShop\Model\Plugin\Product\AdvancedProductCollectionLoad" /> </type> <type name="Magento\ConfigurableProduct\Block\Product\View\Type\Configurable"> <plugin name="afterAssociateProductLoad" type="Webkul\PrivateShop\Model\Plugin\Product\Type\Configurable" /> </type> <type name="Magento\Bundle\Block\Catalog\Product\View\Type\Bundle"> <plugin name="afterAssociateProductLoad" type="Webkul\PrivateShop\Model\Plugin\Product\Type\Bundle" /> </type> <type name="Magento\GroupedProduct\Block\Product\View\Type\Grouped"> <plugin name="afterAssociateProductLoad" type="Webkul\PrivateShop\Model\Plugin\Product\Type\Grouped" /> </type> <type name="Magento\Catalog\Controller\Product\View"> <plugin name="productviewbefore" type="Webkul\PrivateShop\Plugin\Catalog\Product\View" /> </type> <type name="Magento\Catalog\Controller\Category\View"> <plugin name="categoryviewbefore" type="Webkul\PrivateShop\Plugin\Catalog\Category\View" /> </type> <!-- To add product label --> <type name="Magento\CatalogWidget\Block\Product\ProductsList"> <plugin name="Widget_PrivateProductLabelPlugin" type="Webkul\PrivateShop\Plugin\Catalog\Widget\LablePlugin" /> </type> <type name="Magento\Catalog\Block\Product\Widget\NewWidget"> <plugin name="NewWidget_PrivateProductLabelPlugin" type="Webkul\PrivateShop\Plugin\Catalog\NewWidget\LablePlugin" /> </type> <virtualType name="Magento\CatalogSearch\Block\SearchResult\ListProduct"> <plugin name="SearchPage_PrivateProductLabelPlugin" type="Webkul\PrivateShop\Plugin\Catalog\ProductLablePlugin" /> </virtualType> <type name="Magento\Catalog\Block\Product\AbstractProduct"> <plugin name="PrivateProductLabelPlugin" type="Webkul\PrivateShop\Plugin\Catalog\ProductLablePlugin"/> </type> <virtualType name="Webkul\PrivateShop\Model\ResourceModel\PrivateGroup\Grid\Collection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult"> <arguments> <argument name="mainTable" xsi:type="string">webkul_privateshop_group</argument> <argument name="resourceModel" xsi:type="string">Webkul\PrivateShop\Model\ResourceModel\PrivateGroup\Collection</argument> </arguments> </virtualType> <virtualType name="Webkul\PrivateShop\Model\ResourceModel\PrivateProduct\Grid\Collection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult"> <arguments> <argument name="mainTable" xsi:type="string">webkul_private_product</argument> <argument name="resourceModel" xsi:type="string">Webkul\PrivateShop\Model\ResourceModel\PrivateProduct\Collection</argument> </arguments> </virtualType> <virtualType name="Webkul\PrivateShop\Model\ResourceModel\Queue\Message\Grid\Collection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult"> <arguments> <argument name="mainTable" xsi:type="string">webkul_privateshop_queue_message</argument> <argument name="resourceModel" xsi:type="string">Webkul\PrivateShop\Model\ResourceModel\Queue\Message\Collection</argument> </arguments> </virtualType> <type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory"> <arguments> <argument name="collections" xsi:type="array"> <item name="webkul_privategroup_index_data_source" xsi:type="string">Webkul\PrivateShop\Model\ResourceModel\PrivateGroup\Grid\Collection</item> <item name="privateshop_privateproduct_grid_data_source" xsi:type="string">Webkul\PrivateShop\Model\ResourceModel\PrivateProduct\Grid\Collection</item> <item name="queue_listing_data_source" xsi:type="string">Webkul\PrivateShop\Model\ResourceModel\Queue\Message\Grid\Collection</item> </argument> </arguments> </type> <type name="Magento\Framework\Console\CommandListInterface"> <arguments> <argument name="commands" xsi:type="array"> <item name="publishMessageCommand" xsi:type="object">Webkul\PrivateShop\Console\PublishMessageCommand</item> <!-- <item name="startConsumerCommand" xsi:type="object">Webkul\PrivateShop\Console\StartConsumerCommand</item>--> </argument> </arguments> </type> <type name="Webkul\PrivateShop\Controller\LoginCheck"> <arguments> <argument name="defaultRoutes" xsi:type="array"> <item name="/catalogsearch/advanced" xsi:type="string">advanced search page</item> <item name="catalog/category/view" xsi:type="string">Category Page</item> <item name="catalog/product/view" xsi:type="string">Product Page</item> <item name="/checkout/cart/add" xsi:type="string">cart add</item> <item name="/checkout/cart" xsi:type="string">cart page</item> <item name="/checkout" xsi:type="string">checkout page</item> </argument> </arguments> </type> </config>