![alt text][logo] [logo]: http://i.imgur.com/q0sdWSs.png "PIMGento : "
PIMGento is a Magento 2 extension that allows you to import your catalog from Akeneo CSV files into Magento.
PIMGento reads CSV files from Akeneo and insert data directly in Magento database.
In this way, it makes imports very fast and doesn't disturb your e-commerce website.
With PIMGento, you can import :
- Categories
- Families
- Attributes
- Options
- Variants (configurable products)
- Products
- Akeneo PIM >= 1.3 (CE & EE)
- Akeneo Bundle EnhancedConnectorBundle
- Magento >= 2.0 CE & EE
- Set local_infile mysql variable to TRUE
- Database encoding must be UTF-8
- Add "driver_options" key to Magento default connection configuration (app/etc/env.php)
'db' =>
array (
'table_prefix' => '',
'connection' =>
array (
'default' =>
array (
'host' => '',
'dbname' => '',
'username' => '',
'password' => '',
'active' => '1',
'driver_options' => array(PDO::MYSQL_ATTR_LOCAL_INFILE => true),
),
),
),
You need to install this Akeneo Bundle (https://github.com/akeneo-labs/EnhancedConnectorBundle/) in order to generate appropriate CSV files for Magento.
Install module by Composer as follows:
composer require agencednd/module-pimgento
Enable and install module(s) in Magento:
# [Required] Import tools
php bin/magento module:enable Pimgento_Import
# [Required] Database features
php bin/magento module:enable Pimgento_Entities
# [Optional] Database logs (System > Pimgento > Log)
php bin/magento module:enable Pimgento_Log
# [Optional] Activate desired imports
php bin/magento module:enable Pimgento_Category
php bin/magento module:enable Pimgento_Family
php bin/magento module:enable Pimgento_Attribute
php bin/magento module:enable Pimgento_Option
php bin/magento module:enable Pimgento_Variant
php bin/magento module:enable Pimgento_Product
Check and update database setup:
php bin/magento setup:db:status
php bin/magento setup:upgrade
Flush Magento caches
php bin/magento cache:flush
- Configure your store language and currency before import
- Launch import from admin panel in "System > Pimgento > Import"
- After category import, set the "Root Category" for store in "Stores > Settings > All Stores"
Launch import with command line:
php bin/magento pimgento:import --code=product --file=product.csv
The media files are imported during the simple product import process. They must be in a folder files in the same folder of the simple product csv file. You can configure the columns to use in the Magento Catalog Pimgento configuration section. The value must be exactly the path of the image, relatively to the csv file: files/foo/bar.png
- Pim code exclusion
Founded by lovers of innovation and design, [Agence Dn'D] (http://www.dnd.fr) assists companies for 11 years in the creation and development of customized digital (open source) solutions for web and E-commerce.