Skip Navigation

[Resolved] WP All Import for toolset not working or setting a a field in the metadata

This support ticket is created 4 years, 11 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 1 voice.

Last updated by mikeB-14 4 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1486729

Hi
I am using WP All Import to import into a posttype called delegates.
I have a custom code which allow you to select delegates and bulk send a email notification to the selected and set single field.
If i add the delegate in manually and select the delegate for the email notification that all works and email selected delgate get the email.
The problem appears to be if i import them using the WP All Import it does not work when i select the delegates and for email notification then it only send to one.

If i edit those delegates i imported and updated manually and then run again it works.

The fault appears to be a field called __cred_notification_data

a:1:{i:35913;a:2:{s:9:"cred_form";i:35913;s:7:"current";a:3:{s:4:"time";i:1580385829;s:11:"post_status";s:7:"publish";s:8:"snapshot";s:0:"";}}}

Which is populated if i add the delegate from the cred form , but that field is not populated it I import them using WP All import.

Any suggestions ?

Iwill copy the query to WP All Import as well

Thanks
Tony

#1487033

My issue is resolved now
In WP All import I edited the import template and added the field __cred_notification_data and set it's value to

a:1:{i:35913;a:2:{s:9:"cred_form";i:35913;s:7:"current";a:3:{s:4:"time";i:1580385829;s:11:"post_status";s:7:"publish";s:8:"snapshot";s:0:"";}}}

So when the delegates get imported it sets the timestamp as well.

Tony