Skip to content

Instantly share code, notes, and snippets.

@ksysctl
Created May 19, 2014 16:03
Show Gist options
  • Save ksysctl/8cfda0050597475e46cd to your computer and use it in GitHub Desktop.
Save ksysctl/8cfda0050597475e46cd to your computer and use it in GitHub Desktop.
Import magento orders
# Import a batch of orders (usually run in a cron job), replace 2012-09-15 by a date to start importing
python manage.py sync_magento_orders --site skdy --end-date 2012-09-15
# Import an order by number (usually for testing), replace 100395134 by a order number
python manage.py sync_magento_orders --site skdy --order-number 100395134
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment