Shortcode – Compare button
If you’re building your product pages using a page builder, you may need to show the “Compare” button using a shortcode. You can use this one:
Widget – list of products
The YITH WooCommerce Compare widget shows the list of the products that users have added to the comparison table.