Ave - How to Activate Quick View and Compare Product Function
They are the functions activated by plugins. Install and activate the YITH WooCommerce Compare and YITH WooCommerce Quick View plugins. Upon activation, the icons will be displayed on the products.
They are free plugins and you don't need to buy licenses for them to make those functionalities work.