How to remove SKU from WooCommerce product pages

For you customers the SKU of a WooCommerce product is irrelevant. So why not simply remove them? You can in fact remove them completely, but it can be useful to hide them for everyone except admins or shop managers.
Here is an example on how to remove hide them for everyone except admins. Add this to your themes functions.php:

add_filter( 'wc_product_sku_enabled', 'tk_remove_product_page_sku' );

function tk_remove_product_page_sku( $enabled ) {

  // Check if current user isn't admin and post type is product
  if ( ! is_admin() && is_product() ):
    return false;
  return $enabled;


Leave a Comment

Your email address will not be published. Required fields are marked *