Title: Does WC plugin update overwrite existing data
Last modified: March 7, 2020

---

# Does WC plugin update overwrite existing data

 *  Resolved [oceanwprocks](https://wordpress.org/support/users/oceanwprocks/)
 * (@oceanwprocks)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/does-wc-plugin-update-overwrite-existing-data/)
 * Hi!
 * I just built a WordPress webshop using the WooCommerce plugin. I have a question
   that I couldn’t find the answer for online:
 * When I update the WooCommerce plugin, does that overwrite all the existing data
   for that plugin? Or does it merge new data into the existing PHP file?
 * Thanks in advance!
 * Cheers,
 * Joris

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [ndjworldnews](https://wordpress.org/support/users/ndjworldnews/)
 * (@ndjworldnews)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/does-wc-plugin-update-overwrite-existing-data/#post-12520254)
 * If you are asking if an update will overwrite the PHP code you modified, the 
   answer is yes it will. That’s why it is highly advisable that you create a child-
   theme and only make coding changes there. Child-themes are not overwritten during
   upgrades.
 * You can learn to create a woocommerce child-theme at the link below if you don’t
   know how to do that.
 * [https://docs.woocommerce.com/document/set-up-and-use-a-child-theme/](https://docs.woocommerce.com/document/set-up-and-use-a-child-theme/)
 * best of luck.
 * Lode
 *  Plugin Support [Yuki K a11n.](https://wordpress.org/support/users/yukikatayama/)
 * (@yukikatayama)
 * Automattic Happiness Engineer
 * [6 years, 3 months ago](https://wordpress.org/support/topic/does-wc-plugin-update-overwrite-existing-data/#post-12537086)
 * [@ndjworldnews](https://wordpress.org/support/users/ndjworldnews/), thanks for
   providing that information!
 * [@oceanwprocks](https://wordpress.org/support/users/oceanwprocks/), hopefully
   that answers your question. I will close this thread for now. If you have further
   questions, please open a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Does WC plugin update overwrite existing data’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [update](https://wordpress.org/support/topic-tag/update/)

 * 2 replies
 * 3 participants
 * Last reply from: [Yuki K a11n.](https://wordpress.org/support/users/yukikatayama/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/does-wc-plugin-update-overwrite-existing-data/#post-12537086)
 * Status: resolved