Skip to content

Instantly share code, notes, and snippets.

@luckyduck luckyduck/di.xml
Created Jul 9, 2018

Embed
What would you like to do?
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<!-- filter product list -->
<type name="Magento\Catalog\Model\Layer">
<plugin sortOrder="1" name="customCategoryFilter" type="...\LayerPlugin"/>
</type>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.