Mobile App Refresh Campaign [Banner] 2024

Product Icon

Products Compare for WooCommerce

WooCommerce Products Compare will allow your potential customers to easily compare products within your store.

Shortcode to add compare checkbox with parameter for product ID

To use this plugin with sites that don’t use the standard loop for product archives and that don’t use the standard template for single product pages, a shortcode is needed that will show the checkbox, compare link and icon to open the comparison in a new tab.

The shortcode needs to take the product ID as a parameter because it cannot be obtained from the global post object if a standard loop is not executing.


Scott Lewis

Current Status


Last updated: January 31, 2023


Log in to comment on this feature request.