aimeos/ai-woocommerce

Aimeos ai-woocommerce extension

Installs: 26

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 2

Open Issues: 0

Type:aimeos-extension

2024.04.2 2024-05-02 19:02 UTC

This package is auto-updated.

Last update: 2024-06-02 19:08:06 UTC


README

Migrate your WooCommerce database to your Aimeos ecommerce installation.

Requirements

  • Wordpress with WooCommerce
  • Aimeos 2023.10+

Installation

In your Aimeos setup, use composer to install the ai-woocommerce package:

composer req aimeos/ai-woocommerce

Migration

Configure your Wordpress database in your Laravel ./config/shop.php:

	'resource' => [
		'db-woocommerce' => [
			'adapter' => 'mysql',
			'host' => '127.0.0.1',
			'port' => '3306',
			'database' => 'wordpress',
			'username' => 'wp_db_user',
			'password' => 'wp_password',
		],
        // existing DB connection settings
    ],

Caution: Make sure the Aimeos installation contains no demo data!

Afterwards, run this command to execute all setup tasks including those from the ai-woocommerce package:

php artisan aimeos:setup

This will migrate these entities from your WooCommerce database to the Aimeos database:

  • Products
  • Categories
  • Suppliers/Brands
  • Attributes and attribute types
  • Extra product options from a WooCommerce extension (partly)

If everything works correctly, remove the db-woocommerce database settings from your ./config/shop.php again.