You can change WooCommerce SKU text to another label using the gettext filter

add_filter('gettext', 'translate_woocommerce', 10, 3);
/**
 * Change SKU Label
 * @link https://gist.github.com/dannyconnolly/da6f1a2d95dc826ccdcd
 * @since 1.0.0
 */

function translate_woocommerce($translation, $text, $domain) {
   if ($domain == 'woocommerce') {
        switch ($text) {
            case 'SKU':
                $translation = 'Catalogue No:';
                break;
            case 'SKU:':
                $translation = 'Catalogue No:';
                break;
        }
   }
    return $translation;
}

So in the above snippet which goes in your functions.php file, any instance of ‘SKU’ or ‘SKU:” will get changed to “Catalogue No:”, change the translation text to suit.

Share:

Leave a Reply