Skip Navigation

[Resolved] ALL import and Unserialized Checboxes

This support ticket is created 6 years, 5 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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Beda 6 years, 5 months ago.

Author
Posts
#901116

Hello,

I need to import data with wp all import into toolset checkboxes.

For that I must unserialize.
Wp All import replied:

I have had a look at your checkbox field and unfortunately, it has a number of serialized array, which will use different names based on your configuration. Here is an example of the data for the post you manually created:

a: 2: {s: 64: "WPCF-fields, checkboxes, option-a2c5b3b46377028223a6793641a2c84d-1"; a: 1: {i: 0; s: 1: "5";} s: 64: "WPCF-fields- checkboxes-option-45f0fd4516f8cd1efe44a5b733670de9-1 "; a: 1: {i: 0; s: 1:" 6 ";}}

This is how it looks when it has been unserialized: hidden link.

To get to this field, you will need to write a number of numbers that you can use for your data.

Do you have a function to unserialize this ??

Thanks

#901253

It is not possible to CSV or else imports Checkboxes unless you heavily custom code.
https://toolset.com/documentation/user-guides/how-to-import-content-into-wordpress-using-csv/import-content-csv-importer-plugin/#field-types-that-are-not-supported

In WP All Import, however, it seems possible by simply adding the name of the option(s):
https://toolset.com/documentation/user-guides/how-to-import-content-into-wordpress-using-csv/import-csv-ultimate-csv-importer-plugin/#table

There is no serializing required.

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.