• Resolved gramir

    (@gramir)


    Hello
    It seems that empty fields from the csv file do not overwrite the already filled user fields in the database. I would like to delete empty fields from the csv file, such as the Woocommerce billing address. Is there a way to do this?
    Thank you, Mirco

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @gramir,

    Thank you for reaching out to us.

    To overwrite existing fields in the database with empty fields from the import CSV file, you can use the following code snippet:

    add_filter('wt_user_import_empty_csv_column', '__return_true');

    You may copy and paste the code snippet into your active theme’s?function.php?file or any code snippet plugins to achieve this.

    If you wish to exclude certain fields, you can unmap them during the import process or delete them from the CSV file itself before importing.

    Thread Starter gramir

    (@gramir)

    Awesome, that worked great. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Delete empty fields’ is closed to new replies.