sndsabin/objects-with-csv-bundle
reviewed
last reviewed: 12.12.2022
No Category
Detailssndsabin/objects-with-csv-bundle
No Category
Project Summary
Enables users to attach objects via csv upload
Readme
Object With Csv - Pimcore Extension
Facilitates user to upload csv file for bulk attaching to objects datatype using csv upload functionality.
Installation
Prerequisite
Requires pimcore >=10.0.0
Step 1
- Run
composer require sndsabin/objects-with-csv-bundle
Step 2
- Enable the
ObjectWithCsvBundle
Extension
bin/console pimcore:bundle:enable ObjectsWithCsvBundle
Step 3
- Then
objectWithCsv
would be available in field selector under Relations (Add Data Component -> Relation -> objectsWithCsv)
Sample CSV
Example Scenario
Multiple products are to be attached to category in pimcore.
Product Dataobject
where sku
is the unique identifier to identify the product
objects.
Category Dataobject
and the Edit form for Category Objects
So, In our case. the sample csv be would be like the below :
sku
11111111
22222222
33333333
44444444
4zfd5698