Our NEW documentation is now available at http://datafeedrapi.helpscoutdocs.com/
These support forums are now read-only.

Support

Remove "SKU" from product details page

Here's how to remove the "SKU: 12345678987654321." from your single product pages.

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

2. Add the following code to your custom plugin:

<?php

/**
 * Remove "SKU" from product details page.
 */
add_filter( 'wc_product_sku_enabled', 'mycode_remove_sku_from_product_page' );
function mycode_remove_sku_from_product_page( $boolean ) {
	if ( is_single() ) {
		$boolean = false;
	}
	return $boolean;
}

Created: February 4, 2014 at 9:14 pm

Updated: January 31, 2017 at 1:13 pm

Author: Eric

WooCommerce snippet