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.

WooCommerce Product Prices matching Comparison Set pricing

Create a custom plugin

If you haven't done so already, create a custom plugin.


Add code

Paste in the code below into your custom plugin


Save & Activate

Save your file and activate your custom plugin.


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.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us