Support

Account

Forum Replies Created

  • Hello,

    I find the answer. You don’t need ACF for that.

    You can import these values by:

    1) Importing the values as shown here:

    2) Adding the following code snippet to the function editor.

    function my_custom_field($value, $post_id, $key, $existing_meta_keys, $import_id) {
        if ($key == "wc_productdata_options") {
            $value = array($value);
        }
        return $value;
    }
    add_filter('pmxi_custom_field', 'my_custom_field', 10, 5);

    That should do it.

Viewing 1 post (of 1 total)