sndsabin/objects-with-csv-bundle

Enables users to attach objects via csv upload

Installs: 352

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 2

Open Issues: 1

Language:JavaScript

Type:pimcore-bundle

v2.1.0 2022-12-09 15:34 UTC

This package is auto-updated.

Last update: 2024-12-09 20:24:09 UTC


README

Facilitates user to upload csv file for bulk attaching to objects datatype using csv upload functionality.

DataObject Edit Form

CSV Upload

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)

objectWithCsv

Sample CSV

Example Scenario

Multiple products are to be attached to category in pimcore.

Product Dataobject

product-dataobject

where sku is the unique identifier to identify the product objects.

Category Dataobject

product-dataobject

and the Edit form for Category Objects

DataObject Edit Form

CSV Upload

So, In our case. the sample csv be would be like the below :

sku
11111111
22222222
33333333
44444444
4zfd5698