Hide product's price if product contains a Comparison Set

The following code will hide a product's price if the product has a cached Comparison Set.

This will only work if the product has a cached Comparison Set and only on the single product page, not on category or archive pages.

1

Create a custom plugin

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

2

Add custom code

Add the following code to your custom plugin:

3

Save

Save your changes.

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