Download the PHP package thelia/import-t1-module without Composer

On this page you can find all versions of the php package thelia/import-t1-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package import-t1-module

ImportT1 module for Thelia 2

This module will import a Thelia 1.5.x database into the local Thelia 2 database. The following information will be imported :

Be aware that the related content of your database will be deleted, so be sure to backup it before starting the importation process.

The import process needs an access to your Thelia 1 database. This could be the real (live) database, but is is safer to make a copy of this database (e.g. an export / import), and start the import on this copy.

If you want to import images and documents, you'll have to provide the absolute path to the 'client' directory of your Thelia 1 installation. As the required folders are client/gfx, client/document and client/commande, this is the only ones you need to copy on the local machine if your Thelia 1 installation is located somewhere else.

It is recommended to start the import process on a fresh Thelia 2 database, to prevent any inconsistencies

Once you've completed a full import, you can choose to only customers and orders. This way, you can prepare your Thelia 2 shop while keeping the Thelia 1 shop opened, and get the last customers and orders when the shop is switched to Thelia 2.

How to install

This module must be into your directory (thelia/local/modules/).

You can download the .zip file of this module or clone it into your project like this :

Next, go to your Thelia admin panel for module activation.

Customer passwords

Once the import ended, this module must remain enabled ! A temporary table (customer_temp) is created for storing password in Thelia 1 format.

Payment and Delivery modules

Before starting the importation, please be sure that at least one payment module and one delivery module are installed and activated.

Unfortunately, the import process cannot find the real delivery and payment modules used by your customers during their orders on Thelia 1. Thus, the import process will use the first payment and delivery modules found in Thelia 2, and assign them to imported orders.

Log

The whole importation process is logged in the log/import-log.txt file, which contains all record created, and the possible errors encountered during the importation.

Correspondance tables

The importation process creates several t1_t2_xxxxxx tables in your Thelia 1 database. Once the importation is finished, you can safely delete these tables.


All versions of import-t1-module with dependencies

PHP Build Version
Package Version
Requires thelia/installer Version ~1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package thelia/import-t1-module contains the following files

Loading the files please wait ....