Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #693231

    Hello,

    I would like to change “SKU” word in the single product page to “OrderNr”, can you help me with that.

    Thanks in advance.

    #693799

    Hey zmartnet,

    Please try adding following code to Functions.php file in Appearance > Editor

    function translate_woocommerce($translation, $text, $domain) {
        if ($domain == 'woocommerce') {
            switch ($text) {
                case 'SKU':
                    $translation = 'OrderNr';
                    break;
                case 'SKU:':
                    $translation = 'OrderNr:';
                    break;
            }
        }
        return $translation;
    }
    
    add_filter('gettext', 'translate_woocommerce', 10, 3);

    Best regards,
    Yigit

    #693830

    It works, thanks a lot.

    #693836

    Hi!

    You are welcome!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Enjoy your weekend!

    Regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change SKU word in single product page’ is closed to new replies.