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
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
- Go to Settings > Mapping. Here you can find all the mappings created.
- Click on Create and fill all the required informations.
- 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.
- First, go to Import > Create Import Profile and create an import job with the "Reference Data import in CSV" job type.
- 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)
- Import it with the job you created on step 1
- 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).
nicolas-souffleur/mapping-connector-bundle 适用场景与选型建议
nicolas-souffleur/mapping-connector-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 250 次下载、GitHub Stars 达 11, 最近一次更新时间为 2018 年 10 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「ecommerce」 「products」 「import」 「workflow」 「extensions」 「attributes」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 nicolas-souffleur/mapping-connector-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 nicolas-souffleur/mapping-connector-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 nicolas-souffleur/mapping-connector-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Nevogate Payment Gateway SDK
Parse use statements for a reflection object
Tool for copying data from a production database to a dev database. Also useful for making backups of production databases.
A fork of konnco/filament-import with support of Laravel 11 since the default importer of Filament 3 is nonsense for basic use case.
Dealing with payments through the Egyptian payment gateway PayMob
Submodule for SilverShop which allows you to compare products in a table.
统计信息
- 总下载量: 250
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2018-10-30
