Publisher is EE6 compatible, but it does not support the Fluid field. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Parent/children categories for DataGrab import

Status Resolved
Add-on / Version DataGrab Latest
Severity
EE Version 6.3.4

Nick Bedard

Jun 24, 2022

I was hoping that there would be a way for channel entry imports (CSV formatted) that allows for me to specify for an entry’s categories, but also sub-categories. So, say I have categories established like so, so parents and their children (these are industries for the Product channel):

RV
- Indoor lighting
- External lighting
Marine
- Internal lighting
- Accessories
Automotive
- Headlights
- Interior lights

If I wanted to run a DataGrab import of channel entries, how would I go about formatting a ‘Categories’ column to establish parent and children categories? Is that possible?

#1

BoldMinded (Brian)

Jun 24, 2022

So you’re importing brand new categories that do not yet exist in EE, and you need to create the parent/child relationship of new categories?

#2

BoldMinded (Brian)

Jun 24, 2022

This is a part of the codebase I’m not as familiar with since acquiring DataGrab, but it looks like the / can be used as a delimiter to separate parent/child categories, so

parent_id/child_id,parent_id/child_id

#3

Full Circle Developers

Jun 24, 2022

It may be some time before I can test, but will get back to you on this. Thanks!

Login to reply