PHP code example of reach-digital / magento2-companyswitcher

1. Go to this page and download the library: Download reach-digital/magento2-companyswitcher 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/ */

    

reach-digital / magento2-companyswitcher example snippets


 if (! empty($order->getData('own_reference'))): 
BASH
composer nto module:enable Ho_CompanySwitcher