Showing product prices is very common on category, but is also something that can be questioned if its a good thing. For some WooCommerce stores it can be distracting for customers or possibly cause them to prematurely reject products based on price; while further information could’ve persuaded them.
In this post I’ll provide a variety of code snippets that can be used to hide product prices on all- , a single- and a selection of- category pages.
All other prices on the product pages, cart/checkout and emails will remain as is.
PS. the general Shop page and tag pages are also considered a category page in this post
Hiding Product Prices on All Category Pages
This snippet will simply remove the prices on all categories, with no distinction being made between them.
Here is a before/after comparison of my category page.
Hiding Prices on a Single Category Page
This snippet will hide the product prices only on a single category page. The category slug is used to check whether the viewed page is the same as the category page you want to hide the prices from.
Make sure to change the category slug to the one you need it to hide. The category slugs can be found on the Products > Categories page within WooCommerce.
Hiding Product Prices on Multiple Categories
This snippet differs a little bit from the prior one, here you can enter a list of product category slugs on which you’d like to hide the prices on.