Search code examples
shopware

Shopware6: how to delete all demo data


I've tried to find answer, but without any result. Some commands of bin/console and ./psh.phar are without description, so it is difficult to understand their purposes.

Is there a command to delete all demo data from database in Shopware 6?


Solution

  • Try to execute ./psh.phar init. As stated in the description, it

    Installs database and dependencies with default data set

    After that you should have a clean database with default data, but without demo data. Note that this will reset your complete data. There is no command to only delete demo data.