Hello,
I am inquiring about the compatibility of the repeater fields in the “Custom Field Suite” plugin with the “Really Simple CSV Importer”. If there is a method for importing these fields, could you please provide details?
Additionally, if it is not currently supported, I would like to know if there are any plans to support it in the future.
I apologize for taking your time, but I would appreciate your confirmation on this matter.
]]>Will this plugin work with JetEngine CPT’s?
]]>Let us assume you have your CSV ready with a meta field “possibilities”. In the CSV row there is a string …,”possibility_1,possibility_2,possibility_3″,…
Add the following to the functions.php:
add_filter('really_simple_csv_importer_save_meta', 'possibilities_to_array', 10, 3);
function possibilities_to_array($meta, $post, $is_update)
{
? ? $values = $meta['possibilities'];
//string to array
? ? $values = explode(',', $values);
? ? $meta_arr = array();
? ? foreach ($values as $sub) {
//add each to array
? ? ? ? $meta_arr[] = $sub;
? ? }
? ? $meta['possibilities'] = $meta_arr;
? ? return $meta;
}
Then run the import. Maybe there are some warnings caused by updating the fields but the posts are set with correct choosen ACF Checkboxes.
Hope it helps!
Hi. Part of my import includes an ACF ‘link’ field. How should the column in my csv be structured to import it correctly, including the link URL and title?
]]>Hi this plugin will be perfect if it support batch processing.
How many posts you recommend to import per session?
]]>hello to the developer and other consumers
Is it still true?
When using this product, the site information will not be compromised
I’ve been using this plugin for a long time, and even though it hasn’t been updated in six years it’s always worked great. I have a big non-commercial site that pretty much relies on it in order to add and update pages. The site uses aCF to create custom fields, and it’s great that I just need a CSV with the ID and custom field names at the top, and everything gets updated properly. Unfortunately, now the plugin times out consistently whenever I try to use it. As the author has said he has no plans to update it, I suppose it’s time to move on. I can’t seem to find any other plugin that supports ACF fields without paying a lot of money. Anyone know of an alternative that can do this? Frankly I wish the author would change his mind and update this plugin. I like how simple and easy it was to work with, without all the steps requires in what I’ve seen in other plugins.
If anyone know what I can do to get this plugin to work without timing out, I would appreciate it. If not, if you know of an alternative that works with ACF fields without paying and arm and a leg, that would also be helpful. Thanks.
]]>Hello,
Please help me as i am facing an issue “French charecter posts are not importing” I am using wordpress with WPML.
it shows
Impossible d’insérer la publication dans la base de données
L’objet WP_Post n’est pas défini.
Unable to insert the publication into the database
]]>Hello, I can’t import a CPT datetime field.
I have this field called “date-match”, which is, according to JetEngine, type “datetime-local”.
This is the string I try to import: 2021-10-13 00:00
I’ve also tried: 2021-10-13 00:00:00
And: 2021-10-13T00:00
Not even: 2021-10-13T00:00:00
Sadly, it always come as “1970-01-01T00:00”.
I’ve tried to substitute hyphens to slashes, no success.
Is it because of JetEngine’s datetime type? I’ve tried to change from datetime to date, and not working too.
Is there any workaround this?
From what I’ve searched, the “date_create()” function is used on this. Maybe if I edit used function directly in the plugin source code?
]]>This plugin is amazing. I was wondering if there’s a way to update existing posts from a CSV file?
At the moment I’m constantly having to update each post individually which takes ages.
Thanks
J.C.
In some cases, when trying to import multibyte characters, the column will shift.
Specifically, if the last character of the column is multibyte, this phenomenon may occur.
This has been reported in the following site. Is there any plan to improve this?
https://migi.me/wordpress/really-simple-csv-importer-point/
マルチバイト文字をインポートしようとすると、カラムがずれるケースがある。
具体的にはカラムの最後の文字がマルチバイトだとこのような現象が起きる場合があります。
下記のサイトでも報告されていますが、こちらは改善の予定はありますか?
https://migi.me/wordpress/really-simple-csv-importer-point/
Can you import a csv file as a wpml translation? I have a list of items for one language and a list for another. They are the same CPT.
]]>Hi, thanks for this plugin.
I try to upload the csv file but obtain this answer:
What I need to do?
Thanks
]]>I am uploading 700 line CSV, but this is ending up in timeout. Already my time of the server (to run scripts) is set to 300 seconds / 5 minutes. So it should be able to complete. Is there a way to prevent such timeouts?
reg Ruud
]]>Hi @keylorcr!
Thank you for everything you do!
I have the same problem as this other user, my tax_{custom_name} are imported broken because the commas are interpreted as fields separator.
Your code didn’t work for me because (tax_myname).
Please help me.
my csv:
post_type, post_id, post_title, tax_services_cat, tax_products_cat
cpt_services, 5, Service-1, "Tax, service and etc",
cpt_services, 6, Service-2, "Tax, service and etc",
cpt_products, 7, Product-1,, "Tax, product and etc"
I need to apply this:
Breadcrumbs: Номе Page/Tax, service and etc/Service 1
A comma in a sentence, treats it as a separator. And terminates the term:
Breadcrumbs: Номе Page/Tax/Service 1
Thanks @hissy for the best plugin!??
Sorry for my english. I am writing to you via translate.google.
UPD – P.S
[How to import taxonomy terms and labels (slugs)?]
This is a separate question from the topic below [question # 2]. Editing is closed for me.
Hope for any answer.
How to import taxonomy terms and labels (slugs).
For example:
post_type post_title post_name tax_services_cat tax_products_cat
services post1 custom-post1 title=slug ???
products prod1 custom-prod1 ??? ??? // title=slug
Problem:
1. tax_services_cat If the field is filled, then the slug will be the same as the title. How can I assign a different slug?
2. I have two taxonomies (services_cat for cpt services and products_cat for cpt products)
How do I set the second taxanomy in the table?
Thanks @hissy for the best plugin!??
Sorry for my english. I am writing to you via translate.google.
I am uploading the audio file in custom field upload is fine when CSV file uploading done they don’t play WordPress media and frontend can you guide me furthermore what happen to me see my below code:
<?php
add_filter( 'really_simple_csv_importer_save_meta', 'rsc_import_images',10,3);
function rsc_import_images( $meta, $post, $is_update ) {
$audioFiles = $meta['cfs_audio_file'];
//directory to import audioFiles to
$artDir = 'wp-content/uploads/audio_file/';
//if the directory doesn't exist, create it
if(!file_exists(ABSPATH.$artDir)) {
mkdir(ABSPATH.$artDir);
}
require_once(ABSPATH . 'wp-load.php');
require_once(ABSPATH . 'wp-admin/includes/image.php');
global $wpdb;
//let's get the image file name
$new_filename = end(explode(".", $audioFiles));
//move the file to our custom import folder
if (!@fclose(@fopen($audioFiles, "r"))) { //make sure the file actually exists
$siteurl = get_option('siteurl');
@$auduploadfile = basename( $audioFiles );
$audfilename = basename( $auduploadfile );
$audFileType = pathinfo($audfilename,PATHINFO_EXTENSION);
$wp_filetype = wp_check_filetype(basename($audfilename), null );
//create an array of attachment data to insert into wp_posts table
$artdata = array(
'post_author' => 1,
'post_date' => current_time('mysql'),
'post_date_gmt' => current_time('mysql'),
'post_title' => sanitize_file_name($audfilename),
'post_content' => sanitize_file_name($audfilename),
'post_status' => 'inherit',
'comment_status' => 'closed',
'ping_status' => 'closed',
'post_name' => sanitize_title_with_dashes(str_replace("_", "-", sanitize_file_name($audfilename))),
'post_modified' => current_time('mysql'),
'post_modified_gmt' => current_time('mysql'),
'post_type' => 'attachment',
'guid' => $siteurl.'/'.$artDir.$audfilename,
'post_mime_type' => $wp_filetype['type']
);
$uploads = wp_upload_dir();
$save_path = $uploads['basedir'].'/audio_file/'.$audfilename;
//insert the database record
$attach_id = wp_insert_attachment( $artdata, $save_path );
$meta['cfs_audio_file']= $attach_id;
}
return $meta;
}
]]>
Hi,
I’m trying to import products with meta fields containing some array structure. My value in CSV file is:
a:1:{i:0;a:5:{s:25:"ph_booking_resources_name";s:0:"";s:25:"ph_booking_resources_cost";s:0:"";s:32:"ph_booking_resources_auto_assign";s:2:"no";s:31:"ph_booking_resources_per_person";s:2:"no";s:29:"ph_booking_resources_per_slot";s:2:"no";}}
but when I take a look into database I can see something like this (prefixed s:239: and quoted):
s:239:"a:1:{i:0;a:5:{s:25:"ph_booking_resources_name";s:0:"";s:25:"ph_booking_resources_cost";s:0:"";s:32:"ph_booking_resources_auto_assign";s:2:"no";s:31:"ph_booking_resources_per_person";s:2:"no";s:29:"ph_booking_resources_per_slot";s:2:"no";}}"
If I manually in database make the value looking like in CSV file every thing is working correctly.
How can I force import process to insert such value as it is provided without any changes?
Correct value in export XML looks like this:
<wp:postmeta>
<wp:meta_key><![CDATA[_phive_booking_resources_pricing_rules]]></wp:meta_key>
<wp:meta_value><![CDATA[a:1:{i:0;a:5:{s:25:"ph_booking_resources_name";s:0:"";s:25:"ph_booking_resources_cost";s:0:"";s:32:"ph_booking_resources_auto_assign";s:2:"no";s:31:"ph_booking_resources_per_person";s:2:"no";s:29:"ph_booking_resources_per_slot";s:2:"no";}}]]></wp:meta_value>
</wp:postmeta>
Thanks,
Krzysztof
i want to upload multiple images for each post using rs-csv-importer-media-plus…
although i use commas(,) between images but it does not work for me…
Wordpress 5.4
post_date: (string) The time of publish date.
I’m passing this a Unix time string, and getting back a Last Modified date of 1970/01/01 or something really weird, like:
Last Modified
9275/04/11
or
Scheduled
9772/04/11
(the month and date are correct, but the year is … a bit wrong).
So I was looking for a way to import products into WooCommerce that also had custom fields, and this plugin worked!
Some caveats…
– The CSV file needs to be UTF-8.
– The header row of CSV file should NOT have double-quotes around each field.
– Each row in the CSV file (except the header row) should have double-quotes around each field.
– Each field in each row must use a comma as the seperator.
– To import to a custom field called my_custom_field just use that exact name in the header field.
– To import to a woocommerce custom field, you can use the following in the header row fields (these are just some of them):
For PRICE use: _regular_price
For SKU use: _sku
For STOCK MANAGEMENT (yes or no) use: _manage_stock
For STOCK QUANTITY use: _stock
– I think post_id and post_name are required in the header row fields, but you can leave them blank and they will be automatically be generated.
– post_category generates a category under POSTS instead of PRODUCTS, so not sure how to get around this yet.
Here is sample CSV file (copy and paste into text editor):
post_title,post_content,post_category,post_type,post_status,post_id,post_name,post_author,post_date,post_tags,_sku,_regular_price,_stock,_manage_stock,my_custom_field
“my test widget”,”a test widget”,””,”product”,”draft”,””,””,””,””,””,”test-widget-sku”,”25″,”2″,”yes”,”some data”
“my other test widget”,”another test widget”,””,”product”,”draft”,””,””,””,””,””,”another-test-widget-sku”,”35″,”3″,”no”,”some data”
This plugin has not been updated for years, however I just tested it with WordPress v5.3.2 and it still seems to work fine (Feb 28, 2020).
]]>I am using Really Simple CSV Importer plugin for upload CSV file.But it is only work in backend. I want to upload CSV file from my wordrpess fontend side. How can I do that?
]]>Its graet plugin, the only one with ability to import posts with its own ID. But I have problem with transfering resulting databese to another hosting, Importing database fails everytime. max_execution_time is 5000 nad other settings are ok. Maybe old database dont contain all ID
s. Did I have to do some database operations before backing up ?
Hello Support
I am getting error “WP_Post object is not set” while uploading this type title ” Ordonnance ministérielle”.
Can you please support how can i fix it?
Thanks
]]>Greetings,
I’m building a MCQS Website and Hierarchical Model Categories.Like This
Due to This the URL is quite Long.
https://fgstudy.com/mcqs/10th-class-mcqs/10th-class-biology-solved-mcqs-homeostasis
But if i Set MCQS as the primary category URL shrink automatically
https://fgstudy.com/mcqs/10th-class-biology-solved-mcqs-gaseous-exchange/
I have over 100 Post and its quite difficult to edit every post manually.
I’m looking for
custom category id
to set primary category in the import file.
]]>The plugin is very good,but my post change the post_date,for example:2018-08-20
and when I post the CSV to my site data,and the post_thumbnail path is the day I post!
How to change the post_thumbnail path as the post_date??
Why I need to do this,there is too many images in a month file!~
]]>I hope the Author replies to this.
I have the same problem as this other user, my tax_{custom_name} are imported broken because the commas are interpreted as fields separator.
I even quoted the cell, but nothing.
How should I format this type of text?
parent1>child1|parent2>child2|parent3>child3a, child3b
The Plugin “Really Simple CSV Importer” appears to be abandoned (updated 04/08/2015, tested to WP 4.3.17).
Type: Warning! Plugin Abandoned, Issue Found 03/11/2018 09:59
Can you do something? Tks
]]>I have imported posts with ACF Advanced Custom Field data. I use ACF: Better Search to search on the custom fields, but imported posts do not show up in the results. Is this related to missing Post Type during import?
If I create a post in WordPress the ACF Custom fields are searched on it.
If I edit an imported post the ACF Custom fields still wont show up in seach.