This is an example of the dynamic compare page. If no product-IDs were set in the shortcode, it tries to get the products from the previous selected products (via Cookie).
Code:

[woocommerce_better_compare]
No Products defined.