Sometimes you need to hide extra information such as product SKU and price for your WooCommerce store.

Today, i would like to share how you actually can achieve above situation. Let’s get started by giving you 2 examples:

1. You would like to hide product SKU
2. You would like to hide product price

First, you need to open your functions.php file at your current theme folder (wp-content/themes/[THEME]/functions.php)
You can download functions.php file from FTP, edit then upload again, OR you can go to WordPress Admin -> Appearance -> Editor, and click functions.php to edit then save.

Put below code to bottom of the file:

Tips #1 : Hide Product SKU at All Product Page

if(is_product())
{
  add_filter( 'wc_product_sku_enabled', '__return_false' );
}

Tips #2 : Hide Product Price at All Product Page

remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 );

Done, save your file and see the updated change.

You can try my new pluginWooCommerce Product Catalog that can turn WooCommerce into product catalog with a few clicks.