PHP code example of magematch / module-category-bottom-description

1. Go to this page and download the library: Download magematch/module-category-bottom-description 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/ */

    

magematch / module-category-bottom-description example snippets


$bottomDescription = $currentCategory->getData('bottom_description');
xml
<referenceContainer name="content">
	<block
		class="MageMatch\CategoryBottomDescription\Block\Category\BottomDescription"
		name="category.bottom.description"
		template="MageMatch_CategoryBottomDescription::category/bottom_description.phtml"
		after="category.products.list"
	/>
</referenceContainer>