Question:

I want to clear Reports->Marketing->Products in Carts,Abandoned Carts from admin panel in magento-2.1.How to achieve it?

Charlie: 18 January 2022

I have deleted all customers, orders from admin panel.

But I also want to delete "Reports >> Marketing >> Products in Carts, Abandoned Carts" from admin panel in "Magento 2.1".

How can I do that?

Please guide me!!!

Answer:
James: 18 January 2022

You cannot delete it from admin panel, You need to remove all data from quote table in database.

So go to your database and Run below SQL query in your database SQL query section.

SET FOREIGN_KEY_CHECKS=0;

TRUNCATE TABLE `quote`;
TRUNCATE TABLE `quote_address`;
TRUNCATE TABLE `quote_address_item`;
TRUNCATE TABLE `quote_id_mask`;
TRUNCATE TABLE `quote_item`;
TRUNCATE TABLE `quote_item_option`;
TRUNCATE TABLE `quote_payment`;
TRUNCATE TABLE `quote_shipping_rate`;

SET FOREIGN_KEY_CHECKS=1;