Remove checkout review order table

Hi, I need to remove the list of products from the chechout page.
I know that I can do it by css:

.woocommerce-checkout-review-order-table thead, .woocommerce-checkout-review-order-table tbody {display:none;}

but, as I have I have hundreds of products, I would like to not have all that useless code in the page and remove it programmatically, leaving only the totals (stored in the <tfoot> of the table).

Is it possible?


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer