Display comparison set prices for a WooCommerce product
Here's how to change your WooCommerce product prices so that they match the lowest and highest prices found in its Comparison Set.

- 1
-
Create a custom plugin
If you haven't done so already, create a custom plugin.
- 2
-
Add code
Paste in the code below into your custom plugin
- 3
-
Save & Activate
Save your file and activate your custom plugin.
Heads-up!
This only works for a product which already has a Comparison Set. It does not work if the product has never had a Comparison Set created for it.