/opencart-to-woocommerce-migration

Opencart to Woocommerce/Wordpress Migration 🔁🛒

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Opencart to WooCommerce Migration

Tested Opencart Version: 1.5.x
Tested WooCommerce Version: 3.x.x

Features

  • Main Categories
  • Sub Categories
  • Products
  • Product Photos
  • Product Tags

Installation

Step 1
$ cd opencart-to-woocommerce-migration\wc-api-php
$ composer require automattic/woocommerce
Step 2

Wordpress Admin Panel -> WooCommerce -> Settings -> Advanced -> Rest API -> Create Key
Description: Opencart Migration
User: Admin User
Permission: Read/Write
Create key button click.

Step 3

Open the config.php file in the opencart-to-woocommerce-migration folder. Edit the file.

$wpUrl = 'https://www.wordpressurl.com';
$token = 'xxx';
$tokenSecret = 'xxx';
Step 5

Go to opencart folder ../image/data
Replace htaccess file name with .htaccessx

Step 6

Files to be run respectively:

  • main-category-install.php
  • sub-category-install.php
  • run.php (press the buton on the page)