A Customized Magento 2 module that allows for exporting of orders in a CSV format which can then be integrated with ETM/CUDI CRM as an Internet order.
php bin/magento prymag:orders:export --store_ids=1,2,3 --range_start="24 hours" --filenames="hal,sel,emp"| Params | Required | Desc |
|---|---|---|
| store_ids | yes | Comma separated store ids |
| filenames | no | Comma separated filenames that matches comma separated store_ids If no store_ids is provided each exported file will default to the format: Export-"STORE_ID"-DATE If comma separation does not match, the missing index will follow the default format |
| range_start | no | Default: -24 Hours A date/time string indicating the start range of the orders will be selected Valid formats are explained in PHP Date and Time Formats. |
| delimiter | no | Default: comma "," The csv delimiter. To use tab, simply pass "tab" |