WebToffee Logo
  • Home
  • Plugins
  • Shopify apps
  • Bundles
  • Blog
  • Documentation
  • Support
Login
cart 0

Setting up WordPress / WooCommerce Comments Import Export Plugin

Last updated on May 9, 2023

This tutorial explains how to setup WordPress Comments Import & Export Plugin. Please refer to the product page to know more about the plugin features.

Overview

WordPress Comment Import Export plugin facilitates online store Admin to export or import WordPress article comments and WooDiscuz Discussions about the products by using a CSV file. Admin can also customize WordPress article comments and WooDiscuz Discussions of the product according to the need. The plugin is mainly used by store owners/Admin to make the transaction of WordPress article comments and WooDiscuz Discussions from one store to another.

You can import/export/merge (update existing WordPress article comments and WooDiscuz Discussions of the product ) hundreds, even thousands by using one file which saves your effort and time of manually adding WordPress article comments and WooDiscuz Discussions of the product.

For importing WordPress article comments and WooDiscuz Discussions of the products to your online store, you must create a CSV(Comma-Separated Values) file which contains information about mapping fields in the tabular form. You can create CSV file by using a spreadsheet program, such as  Excel, or Google Spreadsheets. Save this file with extension .CSV.  After entering all details about WordPress article comments and WooDiscuz Discussions of the products in a spreadsheet, you can import to your online store.

With this plugin, you can also export details of WordPress article comments or WooDiscuz Discussions of the product as a CSV file. While exporting, plugin facilitates you to apply filters by using the name of  product, comment dates, and comment number limit.

It is recommended to take the backup of the existing comments in the CSV file by exporting the comments first and then import the comments according to the requirement.

It also supports Cron Job (WordPress Scheduled Task) to schedule Export into an FTP location in a specific time interval automatically.

Pre-requisites

  • The user has to install WooDiscuz plugin to import/export WooDiscuz discussions.
  • The CSV Import file must be in UTF-8 format. For more information about UTF-8 encoding, See How to save CSV / Excel File as UTF-8 Encoded?

Installation

After purchasing the plugin by Xadapter, plugin Zip file is available in MY ACCOUNT.

  1. Navigate to My Account -> API Downloads tab and download the plugin.
    Note: If you have Basic/Free version already installed, please Deactivate and Delete the Basic Version before installing Premium Version to avoid any conflict. Your plugin settings will be retained intact.
  2. Install the downloaded plugin zip into your WordPress / WooCommerce Site.
  3. You get Activation Key and Activation Email at My Account -> API Keys.
  4. Go to your site Admin and the Settings page of the plugin and activate it using email and key.

For detailed information about installing Xadapter Plugins, See How to Download, Install, Activate & Update WooCommerce Plugin?.

Navigating to WP Comment Import Export Plugin

After installing the plugin, you can navigate to  as given below:

Admin Menu

Admin Menu

Navigate to Dashboard > WooCommerce > Comment Im-Ex OR

Plugins > WordPress Comments Import/Export >  Import Export.

If the WooComerce is not available in your store, then Navigate as shown below:

Admin Menu

Admin Menu

Navigate to Dashboard > Comments > Comments Im-Ex OR

Plugins > WordPress Comments Import/Export >  Import Export.

WordPress Comments Import/Export tab

The plugin takes CSV file as input. It maps each field of CSV file to the field of the WordPress comment or product discussion that otherwise Admin need to input manually.

For example: Comments ID field gets mapped to the Comment ID of CSV file and the Comment Author Name field gets mapped to the comment_author of the comment. If you want the plugin to work correctly, you must map headers of all of the column correctly and you must ensure that all of the fields you enter must be in the correct format.

Note: If there is any mistake in your import  file, your import may not work as expected.

To get started, you must have CSV file. You can create the one or you can export the WordPress comment or product discussions to get the format of CSV. Or you can download Comment Import Export Sample CSV.
You must enter the comment details in CSV file in structured format as given below:

  • The first row must contain the column headers which are used for mapping the fields. The details about WooCommerce mapping field is given as below:
    Column Heading Explanation Accepted value or format
     Comment ID Identification Number of the Comment  Numerical
     Comment Post ID Identification number of the Product  Numerical
      Comment Author Name  Name of the Comment Author  Text
     Comment Author Email  Email ID of Comment Author  Text  

    e.g. test1@gmail.com

     Comment Author IP  Internet Protocol address of device of the comment Author e.g. 192.10.23.123
     Comment Date Date on which the comment is posted  MM/DD/YYYY H:i:s
    e.g  9/6/2016  6:29:00
     Comment Date(GMT) Date on which the comment is posted with Greenwich Mean Time  MM/DD/YYYY H:i  

    e.g. 9/6/2016  6:29

     Comment Content  Content of comment  Text
     Comment Approved  Indicates whether the comment is approved by the authorized person. 1 means the comment is approved and 0 means the comment is not approved.  Numerical  

     

     

     Comment Parent  The parent comment’s ID. And it will be 0 for parent comment. Child comments numerical value.  Numerical
     Comment Type  Type of the comment specifying whether it is WrodPress comment or WooDiscuz discussion.  comment or wooDiscuz
     User ID  The comment author’s ID if he is registered (0 otherwise)  Numerical
     Comment Alter ID  It is Comment ID and mandatory to import comments. Numerical

Import Comments

You can import WordPress comments or WooDiscuz Discussions of the product from CSV file or merge it with already existing by importing updated CSV file.

The Import Screen appears as shown below:

Comment Import Window

Comment Import Window

Click Import Comments, the window appears as shown below:

Import Window

Import Window

  1. Method 1: Select a file from your computer. Click Choose File to browse a required CSV file from your computer.
  2. Method 2: Provide FTP Details. If your CSV file is on server, then to import it,  you need to do FTP settings as given below:
    1. Select the checkbox to enable FTP import/export.
    2. Enter FTP Server Host/IP.
    3. Enter FTP User Name.
    4. Enter FTP Password.
    5. Enter FTP Server Path.
    6. Select the checkbox to use FTPS.
  3. You get the mapping file option(s) for auto-mapping only if you save the mapped fields with a user defined file name while Mapping the fields. Select the required mapping file from the Select a mapping file drop-down list as shown below:

    Selecting a mapping field

    Selecting a mapping field

  4. Enter the delimiter which separates the mapping values.
  5. Click Upload file and Import. The import window appears as shown below:
    Map Fields

    Map Fields

    Note: While mapping fields, do not import Comments ID as it does not exist before importing comment. But for merging WordPress comments or product discussions , you need to map Comment ID to appropriate field.

  6. You can map the fields(Woocommerce fields) with column headings. You can map the fields(Woocommerce fields) with column headings( CSV file header). Map a particular field under Map to column by using  drop-down list for that particular Column header as shown below:
    Drop Down list

    Drop Down list

    Select a required option from the drop-down list. Here, comment_post_ID is mapped to Comments Post ID.

    Note: Mapping is very helpful if you are importing CSV from some other e-Commerce like Magento.

    Evaluation field

    It is used to fix/update the required value for the particular field. The settings to modify the field are as given below:

    Settings for Evaluation fields

    Settings for Evaluation fields

    • Assign any required constant value to field.
      For Example : Suppose, you want to assign 1 to comment_approved. Under Evaluation field, write =1 in Comments Approved or Not? row.
    • Append any field by required value.
      For Example : Suppose, you want to append comment_author by By HikeForce. Under Evaluation field, write &By HikeForce in Comment Author Name row.
    • Prepend any field by required value.
      For Example : Suppose, you want to prepend comment_content by Comment: . Under Evaluation field, write &Comment:[VAL] in Comment Content row.

    Note : Hover the mouse on ? (Help), you can see the information about Evaluation field.

  7. After mapping all the required field, you can save these mapping  and evaluation fields in a file (user defined) by using Mapping file name field.
  8. Click Submit.
  9. According to CSV file, the WordPress comment / WooDiscuz Discussions of the product gets added to your online store. The import window appears as shown below:
    Import

    Import

    Imported product discussions are as shown below:

    Imported product Discussions

    Imported product Discussions

    Imported WordPress comments are as shown below:

    Imported WordPress Comment

    Imported WordPress Comment

Merge WordPress comment / WooDiscuz Discussions

Suppose your existing WordPress comment / WooDiscuz Discussion of the product got modified. To reflect that modified WordPress comment / WooDiscuz Discussion of the product into your online store, you can update the current it by importing modified CSV file.

Steps to merge

  1. Select Merge comments if exists checkbox for modifying comments. It is shown as below:

    Merge Comment

    Merge Comment

  2. Click Import Comments, you get Merge WordPress Comments window as shown below:

    Merge Comment

    Merge Comment

  3. Browse the updated CSV file by clicking on Choose file or by FTP settings.
  4. You get the mapping file option(s) for auto-mapping only if you save the mapped fields in a user defined file while Mapping the fields. Select the required mapping file from the Select a mapping file drop-down list as shown below:

    Selecting a mapping field

    Selecting a mapping field

  5. Enter the delimiter which separates the values.
  6. Click Upload file and Import.
  7. Re-Map the fields if required as shown below:

    Merge Comment

    Merge Comment

  8. Click Submit.
  9. According to CSV file, the WordPress comments / WooDiscuz discussions get merged with existing ones. The window appears as shown below:
    Merge Comment Window

    Merge Comment Window

    Note: If WordPress comments / WooDiscuz discussions do not exist, then the WordPress comment / WooDiscuz discussion is imported as new.

Export Wordpress comments / WooDiscuz discussions

If you export WordPress comments / WooDiscuz discussions using this plugin, you get the CSV file which contains the data about all the WordPress comments / WooDiscuz discussions of the WooCommerce online store.

The window is as shown below:

Export Window

Export Window

  1. Limit: Enter the number of comments that you wish to export.
  2. From Date: Select the date from which you want to export the WordPress comments / WooDiscuz discussions by clicking in this box.
    To Date: Select the date till which you want to export the WordPress comments / WooDiscuz discussions by clicking in this box.
  3. WooDiscuz Comments: Select the checkbox to enable the export of WooDiscuz Comments.
    Note: Once you select this checkbox, you can export only WooDiscuz Comments. To export WordPress comments, de-select the checkbox.
  4. Products: Select the required product(s) for which you want to export the WooDiscuz discussions.
  5. Delimiter: With this field, you can change the comma separated file to ‘|’ or ‘.” separated file according to your requirement.
  6. Columns: Select the checkbox for required columns if you want to export specific columns. With the Column Name field, you can modify the column header in CSV file. To do that, simply enter the required column name for the specific column.
  7. Click Export Comments, the CSV file gets auto-downloaded to your computer. The sample WordPress  Comments CSV file is as shown below:
    Exported CSV of WordPress Comments

    Exported CSV of WordPress Comments

    Note: You can download the Exported Sample CSV of WordPress Comments.

    The sample of exported WooDiscuz discussions CSV file is as shown below:

    Exported CSV of WooDiscuz Discussions

    Exported CSV of WooDiscuz Discussions

    Note: You can download the Exported Sample CSV of WooDiscuz Discussions.

Export WordPress comments / WooDiscuz discussions from Comments Page

You can directly download the specific  detail of WordPress comment / WooDiscuz discussion from Comments Page . To do that, navigate to Dashboard > Comments. The Comments listing page appears as shown below:

Comments Listing Page

Comments Listing Page

  • Click Download to CSV button to export single comment details to CSV file under Export Column.
  • To export details of multiple comments, select comments. From Bulk Action drop-down list, select  Download as CSV and click Apply as shown below:
    Bulk Action drop-down list

    Bulk Action drop-down list

    All the details about selected comments get auto-downloaded to CSV file.

Settings tab

Under settings of menu tab, you can set the FTP/auto-export settings for exporting the comments. The window appears as shown below:

Settings Tab

Settings Tab

  1. Select the checkbox to enable FTP import/export.
  2. Enter FTP Server Host/IP.
  3. Enter FTP User Name.
  4. Enter FTP Password.
  5. Select Use FTPS checkbox to connect securely.
  6. For automating Import and Export of comment, you can use the Cron job feature.
    How to automate the Export  of WordPress Comments
      

    1. Choose the Enabled option to Automatically Export WordPress Comments to FTP Server Host/IP.
    2. Enter the required Start time for Exporting the comments.
    3. Enter the time Interval in minutes for exporting the comments.
    4. Click Save Settings to save/update settings.

    You can see the auto-exported CSV file of comments details on FTP server.

    How to automate Import of the WordPress Comments

    1. Choose Enabled option to Automatically Import WordPress Comments from FTP Server Host/IP.
    2. Enter the required Start time for importing the comments.
    3. Enter the time Interval in minutes for importing the comments.
    4. Select Update Comment if exist checkbox to merge existing comments with the updated details. The Merging of the comment is possible only if the Comment ID already exists in your online store. Otherwise, the comment is imported as a new.
    5. Click Save Settings to save/update settings.

Check out our WordPress Comments Import & Export Plugin.

  • Was this article helpful?
  • Yes, thanks!Not really

Written by

Anvartk

Anvar is the CEO and founder of WebToffee.

Comments (8)

  1. xraju.com

    June 29, 2020

    I feel this is among the such a lot significant info for me.

    And i’m satisfied reading your article. But should commentary on few normal issues, The website taste is
    wonderful, the articles is truly excellent : D. Just right task, cheers

    Reply
  2. Kovin

    October 27, 2019

    Hello thanks for this amazing explanation but is there a way to export from someone else is comments like from amazon or alibaba like I want to take lots of comments from there to my woocommerce is that possible with these plugins please?

    Reply
    • Alan

      October 28, 2019

      Hi,

      Our plugin development is exclusively based on WordPress/Woocommerce platform. It does not support exporting comments from the Amazon or Alibaba. If you are somehow able to create a CSV file with those comments then it can be imported to the Woocommerce using the plugin.

      Reply
  3. Mahaie

    April 15, 2019

    Hello,
    I’ve just import comments on my new website and the oldest one appears first. I’d like that the first comment that appears is the more recent… how can I change the order ?
    Thank you in advance

    Reply
    • Alan

      April 16, 2019

      Hi,

      By default, the comments are imported based on the comment_date. The comment with the latest date will be displayed first. Please make sure that the date is provided in the format YYYY-MM-DD h:m:s. If the issue still persists please reach us via support.

      Reply
  4. Fari

    December 28, 2018

    Hi
    I just used your plugin for exporting comments from my old website, after that i created my new website, but during importing process it just fails. How can import them to the new site? Can you please explain it.
    Thanks

    Reply
    • Mark

      December 31, 2018

      Hi,

      Could you please mention what error you are receiving during import. Kindly make sure that the importing CSV is having default date format(YYYY-MM-DD). If you are having custom date format you may please specify it in the evaluation field of date while importing. Please reach us via support.

      Reply
  5. Edison

    July 16, 2018

    Hi, how can I make it work on multisites? it seems that on my root domain ex. domain.com, the plugin is working but on other created sites ex. domain.com/site-one, it doesn’t export/download the csv, it just redirecting to site-one main dashboard.

    Reply

Got any query? Please leave a comment or reach out to our support

Cancel reply

Your email address will not be published. Required fields are marked *

On this page

  • Overview
  • Pre-requisites
  • Installation
  • Navigating to WP Comment Import Export Plugin
  • WordPress Comments Import/Export tab
  • Import Comments
  • Evaluation field
  • Merge WordPress comment / WooDiscuz Discussions
  • Export Wordpress comments / WooDiscuz discussions
  • Settings tab

Get started with your WebToffee plugin!

Your plugin will be downloaded in a few seconds...

All you need to do is add the plugin to your WordPress website.

To install and activate the plugin, view our installation guide.

download now
Webtoffee
Facebook
Twitter
Youtube
Linkein
WordPress

We develop awesome WordPress plugins & WooCommerce extensions to help build successful online businesses.

Trustpilot

© 2023 WebToffee. All rights reserved.

Our plugins

  • GDPR Cookie Consent
  • PDF Invoices & Packings Slips
  • Product Import Export Plugin
  • User & Customer Import Export
  • Import Export Suite
  • Sequential Order Numbers
  • Smart Coupons for WooCommerce
  • URL Coupons for WooCommerce
  • PayPal Express Checkout
  • Stripe Payment Gateway
  • Subscriptions for Woocommerce
  • Product Catalog Sync for Facebook
  • PrintNode for PDF Invoices
  • Order, coupon, subscriptions for WooCommerce
  • WordPress Backup and Migration
View more +

Get Started

  • Plugins
  • Testimonials
  • Affiliates
  • We're hiring

Help & Support

  • Documentation
  • Documentation (Basic)
  • FAQ
  • Support

Company

  • About Us
  • Terms & Conditions
  • Privacy Policy
  • Cookie Policy
  • Refund Policy
  • Support Policy
  • Installation Guides

© 2023 WebToffee. All rights reserved.

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies. However you may visit Cookie Settings to provide a controlled consent.
Cookie settingsReject allAccept all
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of the basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website, to store user preferences and provide you with content and advertisements that are relevant. Such cookies will be stored on your browser but only upon procuring consent.

You will also have the option to opt-out of these cookies should you want to. But opting out of some of these cookies may have an effect on your browsing experience as per the descriptions elucidated against the respective categories below.

Necessary
Always Enabled
The cookies defined under this category are absolutely essential for the website to function. Hence they are loaded by default irrespective if user consent.
CookieDescription
__cfruidCloudflare sets this cookie to identify trusted web traffic.
__stripe_midStripe sets this cookie cookie to process payments.
__stripe_sidStripe sets this cookie cookie to process payments.
cookielawinfo-checkbox-advertisementSet by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
cookielawinfo-checkbox-analyticsSet by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Analytics" category .
cookielawinfo-checkbox-necessarySet by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Necessary" category .
cookielawinfo-checkbox-preferencesThis cookie is set by the GDPR Cookie Consent plugin to check if the user has given consent to use cookies under the "Preferences" category.
CookieLawInfoConsentRecords the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
PHPSESSIDThis cookie is native to PHP applications. The cookie is used to store and identify a users' unique session ID for the purpose of managing user sessions on the website. The cookie is a session cookie and is deleted when all the browser windows are closed.
viewed_cookie_policyThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not a user has consented to the use of cookies. It does not store any personal data.
Analytics
Analytics cookies help us understand how our visitors interact with the website. It helps us understand the number of visitors, where the visitors are coming from, and the pages they navigate. The cookies collect this data and are reported anonymously.
CookieDescription
_gaThis cookie is installed by Google Analytics. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. The cookies store information anonymously and assigns a randomly generated number to identify unique visitors.
_ga_BQH8MSKD4MThis cookie is installed by Google Analytics.
_gat_gtagIdentification code of website for tracking visits.
_gidThis cookie is installed by Google Analytics. The cookie is used to store information on how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected including the number visitors, the source where they have come from, and the pages visited in an anonymous form.
_hjAbsoluteSessionInProgressHotjar sets this cookie to detect the first pageview session of a user. This is a True/False flag set by the cookie.
_hjFirstSeenHotjar sets this cookie to identify a new user’s first session. It stores a true/false value, indicating whether it was the first time Hotjar saw this user.
_hjidHotjar cookie. This cookie is set when the customer first lands on a page with the Hotjar script. It is used to persist the random user ID, unique to that site on the browser. This ensures that behavior in subsequent visits to the same site will be attributed to the same user ID.
_hjIncludedInPageviewSampleHotjar sets this cookie to know whether a user is included in the data sampling defined by the site's pageview limit.
_hjIncludedInSampleThis cookie is set to let Hotjar know whether that visitor is included in the sample which is used to generate heatmaps, funnels, recordings, etc.
_hjIncludedInSessionSampleHotjar sets this cookie to know whether a user is included in the data sampling defined by the site's daily session limit.
_hjTLDTestTo determine the most generic cookie path that has to be used instead of the page hostname, Hotjar sets the _hjTLDTest cookie to store different URL substring alternatives until it fails.
CONSENTYouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data.
has_recent_activityThis cookie is used to signal to the code repository website if the user has browsed other website resources during the current session.
tk_aiGathers information for our own first-party analytics tool about how our services are used. A collection of internal metrics for user activity and is used to improve user experience.
tk_lrThis cookie is set by the JetPack plugin on sites using WooCommerce. This is a referral cookie used for analyzing referrer behavior for Jetpack.
tk_orThis cookie is set by the JetPack plugin on sites using WooCommerce. This is a referral cookie used for analyzing referrer behavior for Jetpack.
tk_qsGathers information for our own first-party analytics tool about how our services are used. A collection of internal metrics for user activity and is used to improve user experience.
tk_r3dThe cookie is installed by JetPack. Used for the internal metrics for user activities to improve user experience.
Advertisement
Advertisement cookies help us provide our visitors with relevant ads and marketing campaigns.
CookieDescription
_fbpThis cookie is set by Facebook to deliver advertisements when they are on Facebook or on a digital platform powered by Facebook advertising after visiting this website.
frThe cookie is set by Facebook to show relevant advertisements to the users and measure and improve the advertisements. The cookie also tracks the behavior of the user across the web on sites that have Facebook Pixel or Facebook social plugin.
VISITOR_INFO1_LIVEA cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.
YSCYSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.
yt-remote-connected-devicesYouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
yt-remote-device-idYouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
Preferences
Preference cookies are used to store user preferences to provide them with content that is customized accordingly. This includes the language of the website or the location of the visitor.
CookieDescription
_gh_sessThis cookie is used to preserve users' states across page requests.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
CookieDurationDescription
_hjSession_137657130 minutesNo description
_hjSessionUser_13765711 yearNo description
_octo1 yearNo description available.
_zendesk_authenticatedpastNo description
_zendesk_sessionsessionNo description available.
_zendesk_shared_sessionsessionNo description available.
edd_wp_session12 hoursNo description available.
logged_in1 yearNo description available.
m2 yearsNo description available.