Comments (3)
Hi mannydoaba,
The installer fixtures allows to import these data (format yml) when you setup a PIM project, here an example of data https://github.com/akeneo/pim-community-dev/tree/1.1/src/Pim/Bundle/InstallerBundle/Resources/fixtures/demo_dev
This data set is defined in app/config/parameters.yml and is installed with the pim:install command, you can define your own set.
We don't have this native csv import job for now and don't have plan to implement it in a near future.
I can give you some hints to implement it, if you would contribute it, we would be glad to help, review and merge your pull request. A good start point about connector part http://docs.akeneo.com/1.1/index.html
The expected csv format could be the following,
code;label-en_US;label-fr_FR;attributes;attributeAsLabel;requirements-ecommerce;requirements-mobile
mug;Mug;Tasse;sku,name,short_description,manufacturer,color,price,weight;name;sku,name,color,price;sku,color
en_US and fr_FR are locales, ecommerce and mobile are the channels.
You can define a new csv_family_import job by taking inspiration from existing one https://github.com/akeneo/pim-community-dev/blob/1.1/src/Pim/Bundle/BaseConnectorBundle/Resources/config/batch_jobs.yml#L91
I think you can use the processor pim_base_connector.processor.family
in the new job as we use it for the family import with yml format https://github.com/akeneo/pim-community-dev/blob/1.1/src/Pim/Bundle/BaseConnectorBundle/Resources/config/processors.yml#L101
Let me know if you begin to implement it and if encounter any issue.
Thank you,
from pim-community-dev.
I implemented family import like I said above, but I got this error:
Neither the property "requirements" nor one of the methods "setRequirements()", "__set()" or "__call()" exist and have public access in class "Pim\Bundle\CatalogBundle\Entity\FamilyTranslation".
Akeneo PIM v1.3.1
Used for batch job:
processor: pim_base_connector.processor.family
writer: pim_base_connector.writer.doctrine
from pim-community-dev.
Im stuck there too.
from pim-community-dev.
Related Issues (20)
- One error during export.
- Commands fail with "An option shortcut cannot be empty." HOT 6
- Bug Report - Unable to Upload Product Images in Akeneo v7.0.50
- Feature Request: API: allow the IN operator on the text attribute type.
- Manual installation of Akeneo PIM Community Edition (CE) v. 7.0 on Ubuntu fails HOT 1
- cannot install apps from the store - Internal Server Error 500 HOT 3
- Opening the CREATE GROUP page reports Error 500, Impossible to access an attribute ("indexPath") on a string variable ("New Group") HOT 1
- API connect with api-php-client not working, return error 422 HOT 1
- Can't bulk delete products HOT 2
- EACCES Permission denied Make command HOT 2
- No alive nodes found in your cluster HOT 3
- Impossible to register an export to SFTP - The route "pimee_job_automation_get_storage_connection_check" does not exist. HOT 1
- Post /api/rest/v1/products not creating product (returns 200)
- Database save on server and load after restart Docker container HOT 2
- Install these repo without docker HOT 1
- image import in demo product HOT 2
- Error when editing a product bases on a family with 0 required attributes
- How create a connector for the exchange of data between the PIM and another publication management system HOT 1
- Support arm64 platforms for Akaneo container images
- Identity Server connector HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pim-community-dev.