• Resolved oceanwprocks

    (@oceanwprocks)


    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

    (@ndjworldnews)

    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/

    best of luck.

    Lode

    Plugin Support Yuki K a11n.

    (@yukikatayama)

    Automattic Happiness Engineer

    @ndjworldnews, thanks for providing that information!

    @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.