Migrate WooCommerce data into Aimeos database
Migrate WooCommerce data into Aimeos database
Migrate your WooCommerce database to your Aimeos ecommerce installation.
In your Aimeos setup, use composer to install the ai-woocommerce package:
composer req aimeos/ai-woocommerceConfigure your Wordpress database in your Laravel ./config/shop.php:
'resource' => [
'db' => [
// existing DB connection settings
],
'db-woocommerce' => [
'adapter' => 'mysql',
'host' => '127.0.0.1',
'port' => '3306',
'database' => 'wordpress',
'username' => 'wp_db_user',
'password' => 'wp_password',
],
],Caution: Make sure the Aimeos installation contains no demo data and db-woocommerce is at the end of the resource list!
Afterwards, run this command to execute all setup tasks including those from the ai-woocommerce package:
php artisan aimeos:setupThis will migrate these entities from your WooCommerce database to the Aimeos database:
If everything works correctly, remove the db-woocommerce database settings from your ./config/shop.php again.
No open issues yet, or sync has not completed.