PHP code example of mage-obsidian / module-search
1. Go to this page and download the library: Download mage-obsidian/module-search library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mage-obsidian / module-search example snippets
xml
<type name="MageObsidian\Search\Model\Fragment\SectionPool">
<arguments>
<argument name="sections" xsi:type="array">
<item name="catalog_category_view" xsi:type="array">
<item name="promo" xsi:type="string">my.promo.block</item>
</item>
</argument>
</arguments>
</type>