定制 nicolas-souffleur/mapping-connector-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nicolas-souffleur/mapping-connector-bundle

Composer 安装命令:

composer require nicolas-souffleur/mapping-connector-bundle

包简介

Import and export products with specific columns names. Map them with the Akeneo attributes and integrate or generate the CSV you need.

README 文档

README

MappingConnectorBundle

MappingConnectorBundle

Import and export products with specific columns names. Map them with the Akeneo attributes and integrate or generate the CSV you need.

The creation of specific connectors is a very frequent request in Akeneo projects. The best practice would be to homogenize our data structures across all of our channels, but it is sometimes difficult to edit systems already developed for years. This bundle allows you to adapt the exports and imports to any interface by adding a mapping from the back office between the Akeneo attributes and those of your other platforms.

Requirements

MappingConnectorBundle Akeneo PIM Community Edition Akeneo PIM Enterprise Edition
v1.0.* v2.3.* v2.3.*
v1.1.* v3.0.* v3.0.*

Installation

Next, enter the following command line:

$php composer.phar require "nicolas-souffleur/mapping-connector-bundle":"1.1.*"

Then enable the bundle in the app/AppKernel.php file in the registerProjectBundles() method:

$bundles[] = new \Extensions\Bundle\MappingConnectorBundle\ExtensionsMappingConnectorBundle()

Enter the following commands in your teminal:

$php bin/console doctrine:schema:update --force 
$rm -rf var/cache; bin/console pim:install:asset; yarn run webpack; 

Warning : The Custom Entity Akeneo Labs extension is required to use this extension.

Usage

Create a Mapping :

There's two ways to create a mapping, just choose your favorite one :)

Creation via interface
  1. Go to Settings > Mapping. Here you can find all the mappings created.
  2. Click on Create and fill all the required informations.
  3. Click on Save
Import via CSV :

You can import easily your mappings via CSV because Akeneo already prepared a job type to import the reference datas.

  1. First, go to Import > Create Import Profile and create an import job with the "Reference Data import in CSV" job type.
  2. Create a new CSV file with the following columns : code, job, attribute, title
    • code : a unique code for the entity (ex : brand_marque_import)
    • job : the job instance code, must be created with the MappingConnectorBundle (ex : product_import_mapping)
    • attribute : the Akeneo attribute code (ex : brand)
    • title : the CSV column's name (ex : Marque)
  3. Import it with the job you created on step 1
  4. Go to Settings > Mapping and you can see all your imported mappings

Import / Export :

To use the MappingConnectorBundle, you only need to create a new import or export job with one of those two profiles :

  • Product Import with Mapping (Imports > Create > Job)
  • Product Export with Mapping (Exports > Create > Job)

Roadmap

  • Add a select field to choose the Job Instance and the Akeneo Attribute in the creation form
  • Prices and metric attribute type support
  • [DONE] Generate a Mapping code automatically
  • Enable multi-mapping for an attribute

Don't hesitate to send me a message if you would like other features :)

About me

Specialized in Akeneo since its launch in 2014, I'm helping companies to implement this efficient and essential solution, to integrate it into their workflow and to structure their data. Feel free to contact me through my contact form on my website (http://www.nicolas-souffleur.com) or directly by email (contact@nicolas-souffleur.com).

统计信息

  • 总下载量: 250
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2018-10-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固