Support » Plugin: WooCommerce » Best way to move WooCommerce to another site?

  • Resolved Ahmis

    (@ahmis)


    Hello!

    I have a site with WooCommerce in it. I’m developing a new site and I want to move only the WooCommerce from the old site to the new one (not pages, post etc). I can’t migrate the whole site because my new site has its own pages and other content in it.

    After moving it to another site it should have all the products and settings like it had on the old site. Any suggestion what is the best way to do this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • @ahmis

    Thanks for writing to the WooCommerce plugin sub-forum! 😉

    As for the products, did you know that in the WP Dashboard, under Products > All Products, at the top there is an “Export” button which will export the products to CSV?

    Link to Descriptive screenshot of the export button:
    2017 08 30 WooCommerce Export Button

    Will you let us know how this goes?

    @ahmis

    Will you kindly start to mark this thread as ‘Resolved’? (including some solution detail)

    Or if there’s still concern, then will you update how it is?

    Hello @mjjojo!

    I’d like to also migrate all the settings and orders etc (so basically everything my WooCommerce has in it) to the new site and if I understood correctly that export you suggested is only for the products?

    @ahmis

    Hey there! Thanks for writing back.

    Googling something like:
    “how to migrate woocommerce shop from one wordpress site to another”

    Comes up with a plugin, a php script, and a manual ui-based way, and a csv-file-badsed way, to migrate data from one WooCommerce store (or other store) to another WooCommerce store.

    To get even more exported and imported, one could go to “Tools > Export”, and export:
    Products (already discussed), Variations, Orders, Refunds, Coupons

    , and thereupon go to the new WooCommerce site under “Tools > Import”, and import these files.

    But where does that leave us?

    Like you said, I don’t feel that that would migrate all of the settings for WooCommerce.

    Hmm, trying to get a feel for what would be needed in order to make some sort of script that would detect and migrate settings potentially affected by the settings found under “Woocommerce > Settings”.

    I see that if one makes broad changes under the different tabs and sections under “Woocommerce > Settings”, by far most of them are stored as db settings under wp_options table.

    However if one changes the settings including such things as api, webhooks, and shipping classes, etc., then even more db tables could be affected, such as these tables:

    wp_options, wp_postmeta, wp_posts, wp_terms, wp_term_taxonomy, wp_woocommerce_api_keys, wp_woocommerce_shipping_zone_locations, wp_woocommerce_shipping_zone_methods, wp_woocommerce_tax_rates

    *sigh* My conclusion after this initial analysis, is that I don’t know of a simple way to migrate the settings — it might be a more involved project.

    Given this analysis, will you write back with an update of how it’s looking for you?

    Hello @mjjojo!

    Thank you for your reply! After all I ended up just simply exporting/importing Products and Orders so I’m gonna mark this as resolved. 🙂

    @ahmis

    Great! Glad to hear you found a way that worked for you. And also thanks for having written back with the update of the solution (and for having marked the thread as resolved)!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.