PHP code example of remp / crm-products-module

1. Go to this page and download the library: Download remp/crm-products-module 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/ */

    

remp / crm-products-module example snippets


public function registerFrontendMenuItems(MenuContainerInterface $menuContainer)
{
    ...
    
    $menuItem = new MenuItem($this->translator->translate('products.menu.books'), ':Products:Orders:Library', '', 155);
    $menuContainer->attachMenuItem($menuItem);
}