Skip Navigation

[Resolved] Imported repeatble group content not showing in nested Views

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 8 replies, has 2 voices.

Last updated by Minesh 9 months, 4 weeks ago.

Assisted by: Minesh.

Author
Posts
#2684292

I imported data using WP All Import including the Toolset Add-on. Everything seems to have imported correctly. But the content I imported into repeatable groups does not show up in my Views. The content does show up correctly if I manually input it.

Example where I manually input the data: hidden link
This is displaying the repeatable group data correctly.

Example where I imported the data: hidden link
The repeatable groups Product Downloads and Product Images are not returning any items.

When I edit those two examples, I do not see anything different. I do not see any reason why one would display differently than the other.

I looked at other support tickets, and one said to disable the cache on the views, so I have disabled the cache on the two nested views. But that did not solve the problem.

#2684293

I can provide admin access to the site but do not see a way to do so privately.

#2684341

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Yes - Can you please share admin access details and let me check what's going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2684580

Minesh
Supporter

Languages: English (English )

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

I would like to know how you try to import the nested repeating field group?

Can you please send me the file you are using to import the nested repeating field groups?

#2684638

You can get that info from All Import > Manage Imports when you're logged into the site.
But, here is a link to the CSV file: hidden link

As I said, when I edit the CPTs, everything looks like it was imported correctly, but it does not show in the View. If I add more info manually, that info is displayed in the view, but none of the imported info is displayed.
Example: hidden link
Has one Product Row, 3 Product Downloads and 4 Product Images. Only the two Product Downloads that I input manually are showing. The other one was imported and is not displaying. And none of the images are displayed, as they were all part of the import.

#2685448

Can I please get an update? It's been a week since I made this ticket and I have yet to receive any direct help. Thanks

#2685454

Minesh
Supporter

Languages: English (English )

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

Sorry for the delay but I'm not sure why the repeating field group you imported has the wrong post type name (post_name in database table posts).

Toolset manages repeating field group as one-to-many post relationship where the post type name for the repeating field group item should be equal to the repeating field group slug.

At last after checking when I installed the Adminer plugin on the site you shared - I found that the post type (post_name) is having the wrong name for your imported repeating field group items.

When I search for the related item post for the repeating field group "Product Images" - I see the post type name for the second image is wrong - the post_name should the the repeating field group slug of your repeating field group "Product Images".
=> hidden link

(I've try to adjust the post_name for the another item for repeating field group "Product Images" - I can see that image displays on the frontend:
- hidden link

I'm not sure how you imported or exact steps you followed but here is the Doc that shows how you can import the repeating field group:

I see the following Doc - But there is no mention of how to import nested repeating field group. :
- hidden link

Here is how you manage the one to many relationship with WP ALL Import:
- https://toolset.com/course-lesson/import-posts-from-csv-with-relationships-using-wp-all-import/#example-2-one-to-many-relationships

Maybe you can check with WP ALL Import support and check with them how you can import the nested repeating field group and how you can make the CSV for that.

#2685461

This information and the screen shot would make more sense to me if I couldn't see the imported data in the backend. When I edit the custom posts, all the imported information appears to be correct. The repeating groups were created and their fields filled in. Are you saying that despite this, there is a problem in the database that is causing that data to not be output by my View?

I am just trying to confirm that despite everything looking correct in the backend, the issue is with the import and not with Toolset.

As far as I know I followed the documentation on importing correctly. Is there anyone else who is more familiar with the WP All Import plugin on the Toolset team that can help? I will also open a support ticket at WP All import.

#2685464

Minesh
Supporter

Languages: English (English )

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

This information and the screen shot would make more sense to me if I couldn't see the imported data in the backend. When I edit the custom posts, all the imported information appears to be correct. The repeating groups were created and their fields filled in. Are you saying that despite this, there is a problem in the database that is causing that data to not be output by my View?
===>
Yes - it seems so, even the post-relationship for repeating field group items also established but I can see only issue with the post_name for the imported repeating field group item. If you will change the post_name to your repeating field group slug it start to display on frontend which I already did for one of the repeating field group item and it does display on frontend as you can see with the following URL.
- hidden link

I am just trying to confirm that despite everything looking correct in the backend, the issue is with the import and not with Toolset.
===>
It does seem so as I shared screenshot already, the issue is with post_name. It could be how you prepare your CSV file for import but WP ALL Import may guide you on this further.

As far as I know I followed the documentation on importing correctly. Is there anyone else who is more familiar with the WP All Import plugin on the Toolset team that can help? I will also open a support ticket at WP All import.
===>
We can check but - It will be great if you can check with them about how to import nested repeating field group and steps to import.

#2685505

Due to some changes in content, as well as time constraints, I am moving to a different solution. I have not opened a support ticket at WP All Import, but I will do so if I come across this issue again.