PHP code example of reach-digital / magento2-vendit

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

bash
# Install composer package
composer 
php bin/magento setup:upgrade
# Flush the cache
php bin/magento cache:flush
bash
php bin/magento vendit:attribute-codes:lowercase
bash
php bin/magento vendit:attribute-options:trim vendit_color,vendit_size
bash
# Export orders
php bin/magento vendit:orders:export