• Hi, I need to delete Woo Commerce EVERYTHING so I can reinstall it and get the sample content. I’ve tried a lot of stuff. I’m supposed to have a Remove all Post Types at Uninstall, under status/tools. But I do not. I have the latest version of WC. Please help!?

Viewing 7 replies - 1 through 7 (of 7 total)
  • I remember that checkbox. It was removed from WC 3.0 onwards. Instead, you need to add a line to wp-config.php, as explained near the bottom of this page:
    https://docs.woocommerce.com/document/installing-uninstalling-woocommerce/

    Thread Starter Tomcrossman

    (@tomcrossman)

    Hi Iorro,

    Thanks so much for the response. Truly appreciate it!

    Is this something my hosting company can help me with? I believe I need to download the config file via Filezilla, and then add the code to it. I wonder how it gets back to my site however.

    Kinda a nightmare – Thanks Woo Commerce!

    That would work, but try this plugin called “File Manager”. There are two with the same name, you want the one by “aihimel” with a blue icon. The other one has a yellow icon.
    https://ww.wp.xz.cn/plugins/file-manager/

    – load, activate
    – look for “File Manager” in the Dashboard menu
    – find wp-config.php, right click, edit – save

    Thread Starter Tomcrossman

    (@tomcrossman)

    Hi, Sure appreciate your help. I’m making some progress, but…

    The article says: Open your site’s wp-config file and add define( ‘WC_REMOVE_ALL_DATA’, true); on its own line above the /* That’s all, stop editing! Happy blogging. */ line. Then when you deactivate and delete WooCommerce it will remove all of its data.

    What does this mean? “on its own line above the /*”

    WTF? Do I put in this:

    define( ‘WC_REMOVE_ALL_DATA’, true);/*

    or this:

    /* define( ‘WC_REMOVE_ALL_DATA’, true);

    or this:

    /*
    define( ‘WC_REMOVE_ALL_DATA’, true);
    ?

    
    *
    * @link https://codex.ww.wp.xz.cn/Debugging_in_WordPress
    */
    
    define( ‘WC_REMOVE_ALL_DATA’, true);
    
    /* That's all, stop editing! Happy blogging. */
    
    Thread Starter Tomcrossman

    (@tomcrossman)

    Thanks so much!!!!

    Thread Starter Tomcrossman

    (@tomcrossman)

    Thanks so much!!!! Appreciate the help!

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

The topic ‘Delete woo commerce’ is closed to new replies.