Skip Navigation

[Resolved] Append a Repeatable Group to another Repeatable Group

This support ticket is created 4 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by Minesh 4 years, 12 months ago.

Assisted by: Minesh.

Author
Posts
#1397049

Hi
Following up on this post https://toolset.com/forums/topic/changing-cpt-fields-structure-will-it-hurt-my-data/#post-1370537'

I have a Repeatable Group "Itinerary" which is associated with a "Tour" CPT. The fields in the group are title, image, text. E.g
hidden link.

Now the client wants to add A "Day" option, so the itinerary will be nested within it. A tour can have 1-4 days - to the "Day" is also Repeatable, FIle structure should be:

Day 1
- Itinerary item (title, image, text)
- Itinerary item (title, image, text)
- Itinerary item (title, image, text)

Day 2
- Itinerary item (title, image, text)
- Itinerary item (title, image, text)
- Itinerary item (title, image, text)

The site is already live with real data. Moving the Itinerary into a "Day" repeatable group triggers this.

"Moving repeatable group to a different group will remove all data created with this group."

I understand that data will be lost, but my question is - how can I do this change and somehow preserve the data. Can I export - and then import the data or something. We would defiantly want to avoid re-typing the data.

Thanks!

#1397193

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

"Moving repeatable group to a different group will remove all data created with this group."
==>
This is by design and even it will be harder to import the content even if you able to export it.

However, I've couple of suggestion if that helps you to fulfill your need and that should help you to attach day to your repeating field entry.

As I understand, you want to attach a specific day (Monday -- Sunday) with your everyday itinerary. If this is correct, what if you add a dropdown select box and add (Monday -- Sunday) as select options - will that help?

In addition to that, there is another solution, what if you add Day as your Repeating Field Group entry title.

You can use the ultimate csv-importer plugin's pro version that allows you to import the repeating field group entries from the CSV file as described in the following Dco:
=> https://toolset.com/documentation/user-guides/how-to-import-content-into-wordpress-using-csv/import-csv-ultimate-csv-importer-plugin/importing-repeatable-field-groups-when-using-the-csv-importer-plugin/

#1397237

"As I understand, you want to attach a specific day (Monday -- Sunday) with your everyday itinerary. If this is correct, what if you add a dropdown select box and add (Monday -- Sunday) as select options - will that help? " => No. I need each tour to have an option for 1-5 day (i.e a tour might have a Day 1, Day 2 Day 3 - each with his own Itinerary. Another one might have only Day 1). The day field needs to be repeatable.

I will the CSV option. Thanks

#1397281

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Ok - great.

#1398603

Hi
will the import/export work with "wp all import". Any tutorial for that?

#1399355

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

If you check the following Doc:
=> https://toolset.com/documentation/user-guides/how-to-import-content-into-wordpress-using-csv/

The support for repeating field group is not yet added with "wp all import" - but still you should check with "wp all import" plugin support it its lately added and then you can check with them if you able to export/import repeating field groups even nested repeating field groups using "wp all import/export" plugin.