Importing Repeater Fields

Closed

Import WP Addon - Advanced Custom Fields Updated 2 years ago 5 Replies

Klic asked 2 years ago on March 2, 2023 at 2:32 pm

Hi,

 

I cant import the repeater fields innto my site.

I  tried the csv export, changes the name of the recipes, and import it back but i only get the ingredients for 1 recipes (not both of them).

 

Is the csv bulk import works with repeater node?

 

SO, I tried the XML version.

 

I followed the instruction here: https://www.importwp.com/docs/import-advanced-custom-fields-repeater-fields-data/

 

 

I tried to export and XML field to see the structure and then, try the import back but it dosent work.

I cant find the “Repeater Node” labels or items.

 

DO i need to create manually an XML file with this structure? I want to create a recipe website and need to import 50 000 recipes…

Im doing a simple test right now to understand how the plugin.

 

With the 2 example recipes tant I sent you, would you explain to me ow to import those in my website?

 

I would prefer if it can work with csv. It would be easier to me.

 

Thanks

 

Isabel

 

J

James replied Support Agent

2 years ago on March 3, 2023 at 9:16 pm

Hi Isabel,

Sorry you are having issues with the plugin, Thank you for all the detailed inforamtion, as i have been able to replicate an issue with the plugin with acf repeater fields.

I will let you know when i have found out what is causing the issue and provide you with the best way to import csv data into recepies.

James

J

James replied Support Agent

2 years ago on March 3, 2023 at 10:31 pm

I have attached a modified version of import wp that should fix the issue you faced when importing csv files where the ingredients where only imported for the first record.

To test this i created a custom post type, and added the fields similar to your example, and then mapped the csv columns to the "ACF - Repeater" field group as shown in the example.

Can you confirm if this lastest version now works as expected and imports all the ingredent for the 3 records.

With recipes that have less than the maximum amount of ingredients, they have padded rows at the end listing empty ingredients, looking at this i could add an option to remove empty rows to remove this padding?

KM

Klic replied

2 years ago on March 3, 2023 at 10:54 pm

Its works!

I confirm that this lastest version now works as expected and imports all the ingredients for the 3 records.

Thank you so much! 

If there is eventually an option to remove the empty rows on the recipes that don't have the maximum ingredients, that would be event better but the important for now is that I can import all my recipes.

Thanks again!

J

James replied privately Support Agent

2 years ago on March 10, 2023 at 11:36 am

KM

Klic replied

2 years ago on March 10, 2023 at 2:01 pm

Hi,

Everything is fine now. You can close the ticket.

Thanks again!