Skip to content

PimGento2 is a Magento 2 extension that allows you to import your catalog from Akeneo CSV files into Magento 2.

License

OSL-3.0, AFL-3.0 licenses found

Licenses found

OSL-3.0
LICENSE.md
AFL-3.0
LICENSE_AFL.md
Notifications You must be signed in to change notification settings

wigman/PIMGento-2

 
 

Repository files navigation

PIMGento

![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.

How it works

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

Requirements

  • 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.

Installation

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

Configuration and Usage

  • 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"

Command line

Launch import with command line:

php bin/magento pimgento:import --code=product --file=product.csv

Media import

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

Roadmap

  • Pim code exclusion

About us

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.

About

PimGento2 is a Magento 2 extension that allows you to import your catalog from Akeneo CSV files into Magento 2.

Resources

License

OSL-3.0, AFL-3.0 licenses found

Licenses found

OSL-3.0
LICENSE.md
AFL-3.0
LICENSE_AFL.md

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 97.1%
  • JavaScript 1.2%
  • HTML 1.1%
  • CSS 0.6%