PHP code example of tryoto / mage2-ordersync

1. Go to this page and download the library: Download tryoto/mage2-ordersync 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/ */

    

tryoto / mage2-ordersync example snippets

sh
composer gento maintenance:enable;
php bin/magento module:enable Oto_OrderSync;
php bin/magento setup:upgrade;
php bin/magento setup:di:compile;
php bin/magento setup:static:deploy -f;
php bin/magento maintenance:disable;
php bin/magento cache:flush;
sh
cd your_website_path;
git clone https://github.com/apps-tryoto/magento2-ordersync app/code/Oto/OrderSync;
php bin/magento maintenance:enable;
php bin/magento module:enable Oto_OrderSync;
php bin/magento setup:upgrade;
php bin/magento setup:di:compile;
php bin/magento setup:static:deploy -f;
php bin/magento maintenance:disable;
php bin/magento cache:flush;
sh
cd your_website_path;
php bin/magento maintenance:enable;
php bin/magento module:enable Oto_OrderSync;
php bin/magento setup:upgrade;
php bin/magento setup:di:compile;
php bin/magento setup:static:deploy -f;
php bin/magento maintenance:disable;
php bin/magento cache:flush;