• Resolved Beatrice Zemp

    (@beatricekunzi)


    Hi,

    I have changed the text of the view order link in the german e-mail confirmation, but I still see the old text. Do you know why?

    Thank you very much for your help in advance.

    Best regards, Beatrice

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    Please send us the screenshot of which text you are referring to in which email

    Thread Starter Beatrice Zemp

    (@beatricekunzi)

    Hi Singh

    Thank you for your e-mail. I am talking about the “click to view order details” link the the e-mail confirmation from woocommerce.

    Here you will find the link to the screenshot. https://www.schoeb-events.ch/wp-content/uploads/2022/04/Thank-you-for-your-order.pdf

    Best regards

    Beatrice

    Thread Starter Beatrice Zemp

    (@beatricekunzi)

    I have changed the text in the .po and .mo files, but it does not show on the e-mail confirmation.

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    We checked the same on our end and the translation is working fine

    Try out this make sure your have saved the po and mo file in wp-content/languages/plugins folder

    Thread Starter Beatrice Zemp

    (@beatricekunzi)

    Hi,

    I have saved the translation files in the right folder, but the link text still says “Click to view order details” instead of “click to view details of your registration or to cancel your reservation.” what is in saved the language file. I have already translated other strings and it worked fine.

    Do you know why?

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Sorry I cant find the reason as the same translation is working on our end

    you can add this code in your theme functions.php file this will change the text

    
    add_filter('pisol_corw_view_order_detail_link', function($html, $url){
    
    	return sprintf('<p><a href="%s">%s</a></p>', $url, 'Click to view details of your registration or to cancel your reservation.');
    
    }, 10, 2);
    
    
    Thread Starter Beatrice Zemp

    (@beatricekunzi)

    Now it works perfect, thank you so much!

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    your welcome

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change text of e-mail link’ is closed to new replies.