vendidero / woocommerce-germanized

Adapt WooCommerce to the German Market with Germanized for WooCommerce
https://vendidero.de/woocommerce-germanized
Other
51 stars 41 forks source link

How to use the uninstall script #171

Closed carokiel closed 2 years ago

carokiel commented 2 years ago

Hi, we want to completely remove Germanized and Germaized Pro from our installation. Please assist in how to use the uninstall.php

Thanks, Caroline

dennisnissle commented 2 years ago

Hi there,

you won't be able to remove all data (e.g. added by Germanized Pro) as some data may be accounting-related. The uninstall script in Germanized may be activated by a custom constant defined in your wp-config.php:

define( 'WC_GZD_REMOVE_ALL_DATA', true );

See: https://github.com/vendidero/woocommerce-germanized/blob/master/uninstall.php#L17

If you really want to delete the accounting data, please see: https://vendidero.de/dokument/buchhaltungsdaten-zuruecksetzen

Cheers