Magento 2 Remove Sample Data / Test Data

Sometimes you wish to remove Sample Data or even Test Data before going live with the webshop. In this article there are several queries which you can use to remove specific elements.

Currently only a Queries for the following Data

  1. All Products and Related Data
  2. All Customers
  3. All Orders/Invoices etc.

 

1. All Products and Related Data

 

2. All Customer Data

3. All Orders/Invoices etc.