Home > Docs > Related Products > Hide Price Label from WooCommerce Related Products Recommendations

Hide Price Label from WooCommerce Related Products Recommendations

Last updated on August 25, 2025

WooCommerce, by default, offers related products as a commonly employed recommendation tactic. However, the Related Products – Product Recommendations for WooCommerce plugin by WebToffee opens up a gateway to a wide range of customizations for your related products section. This article explains how to hide price labels from WooCommerce-related product recommendations.

To begin with:

  1. From the WordPress dashboard, navigate to WooCommerce > Related products.
  2. Configure the Related product recommendations as you prefer.
  3. You can display the default related product recommendation from WooCommerce or customize your own version.
  4. Save the changes.
Configure related products recommendation
Configure related products recommendation

To hide the price labels of related product recommendations on the store, use the code snippet in your theme’s functions.php file. To do so,

  1. Navigate to Appearance > Theme File Editor > functions.php file from the WordPress dashboard.
  2. Copy the code snippet provided below.
  3. Paste the code snippet at the bottom of the functions.php file.
  4. Save the functions.php file.
  5. Alternatively, if you can’t find the functions.php file for your theme, use a third-party code snippet plugin to add the custom code snippet.

Code snippet

Once the snippet is added successfully, the related product recommendation in your store will no longer have price labels for the products within the recommendation.