ltsecurityinc安防产品在线商城代码
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
<?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\Catalog\Block\Product\ListProduct">
|
||||
<plugin disabled="false" name="Olegnax_Quickview_Plugin_ListProduct" sortOrder="10" type="Olegnax\Quickview\Plugin\ListProduct"/>
|
||||
</type>-->
|
||||
|
||||
<type name="Magento\Catalog\Block\Product\AbstractProduct">
|
||||
<plugin name="Olegnax_Quickview_Plugin_AbstractProduct"
|
||||
type="Olegnax\Quickview\Plugin\AbstractProduct" sortOrder="5"/>
|
||||
</type>
|
||||
<type name="Magento\Checkout\Controller\Cart\Add">
|
||||
<plugin name="Olegnax_Quickview_Plugin_CartAdd"
|
||||
type="Olegnax\Quickview\Plugin\CartAdd" sortOrder="5"/>
|
||||
</type>
|
||||
<type name="Magento\Framework\View\Result\Page">
|
||||
<plugin name="Olegnax_Quickview_Plugin_ResultPage"
|
||||
type="Olegnax\Quickview\Plugin\ResultPage" sortOrder="1"/>
|
||||
</type>
|
||||
<type name="Magento\Framework\App\Config\ScopeConfigInterface">
|
||||
<plugin name="Olegnax_Quickview_Plugin_ScopeConfig"
|
||||
type="Olegnax\Quickview\Plugin\ScopeConfig" sortOrder="5"/>
|
||||
</type>
|
||||
|
||||
<type name="Magento\Catalog\Block\Product\View\Gallery">
|
||||
<plugin name="Olegnax_Quickview_Plugin_BlockProductViewGalleryMagnifier"
|
||||
type="Olegnax\Quickview\Plugin\BlockProductViewGalleryMagnifier" sortOrder="15"/>
|
||||
</type>
|
||||
</config>
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
|
||||
<event name="layout_load_before">
|
||||
<observer name="ox_quickview" instance="Olegnax\Quickview\Observer\addHandle" />
|
||||
</event>
|
||||
</config>
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
|
||||
<router id="standard">
|
||||
<route id="ox_quickview" frontName="ox_quickview">
|
||||
<module name="Olegnax_Quickview" />
|
||||
</route>
|
||||
</router>
|
||||
</config>
|
||||
Reference in New Issue
Block a user