Handles migrating WooCommerce to Easy Digital Downloads (Including support for Subscriptions and API Keys).
WP-CLI WooCommerce to EDD Migration Script requires WooCommerce and Easy Digital Downloads to be active.
To migrate WooCommerce data to Easy Digital Downloads, you'll need to have the ability to run WP-CLI commands in your environment.
This section describes how to install the plugin and get it working.
- Upload
woocommerce-to-edd-migration
to the/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' menu in WordPress.
To activate the plugin using WP-CLI you can run this command.
$ wp plugin activate wp-cli-woo-to-edd-migration
After installing and activating the plugin, you'll need to migrate products, product categories (taxonomies), coupons and orders.
The way to accomplish this is via WP-CLI, and the plugin ships with a number of commands to help.
The migrate_products
command will migrate products from WooCommerce into download in EDD.
$ wp migrate_woo migrate_products
The migrate_taxonomies
command will migrate product categories from WooCommerce into download categories and tags in EDD.
$ wp migrate_woo migrate_taxonomies
The migrate_coupons
command will migrate coupons from WooCommerce into discount codes in EDD.
$ wp migrate_woo migrate_coupons
The migrate_orders
command will migrate orders from WooCommerce into payments in EDD.
$ wp migrate_woo migrate_orders