Download the PHP package jgrasp/sylius-prestashop-migration-plugin without Composer
On this page you can find all versions of the php package jgrasp/sylius-prestashop-migration-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jgrasp/sylius-prestashop-migration-plugin
More information about jgrasp/sylius-prestashop-migration-plugin
Files in jgrasp/sylius-prestashop-migration-plugin
Package sylius-prestashop-migration-plugin
Short Description Migrate Prestashop data into Sylius
License MIT
Informations about the package sylius-prestashop-migration-plugin
Introduction
This plugin allows you to migrate your Prestashop data to Sylius. It is able to recreate the tree structure of categories, import products and their variations, shops, product images, etc...
The wish is that you can decorate every part of it to use according to your needs.
Please use this plugin only on a developing site, ideally before starting work on the site, as this plugin has the ability to completely remove the database for work.
I am not responsible for the loss of your data. I created this plugin with the aim of making life easier for developers, I will try to keep the documentation as clear as possible.
I hope this plugin helps you as much as it helped me. I will continue to make it grow and evolve with the new projects that I will meet (and your feedback perhaps? :blush:).
Requirements
- Sylius 1.10 minimum
- PHP 8.0 minimum
Installation
- Add the plugin to your project
- Add plugin dependency to your file:
- Add .env variables
- Create a new doctrine DBAL connection
- Add package configuration
Create a new configuration file in like and put this configuration :
- Custom Entities
Add the following code
in entities :
This trait is essential & add a link between Sylius & Prestashop entities.
should implements . So add the following code :
- Upgrade your database
- Configure the locale parameter
The parameter must be a locale that exists in the list of active languages of the Prestashop you want to migrate. Without this, the migration of the translations will not be able to be done correctly.
Congratulations ! Your project is ready for the migration. Let's start with How to use !