Avisos
Vaciar todo

[Resuelto] Cambiar mensaje de finalizar tu compra

2 Respuestas
2 Usuarios
1 Reactions
10 Visitas
Respuestas: 1396
Famed Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Hola que tal, como puedo hacer para cambiar el mensaje de 

image

en ves de decir lo que esta marcado diga :

"Muchas gracias por su compra, hemos recibido su pedido. en breve nos estaremos comunicando "

Saludos

Contenido solo visible a usuarios registrados


 
Respondido : 30/08/2022 9:41 pm
Bruno
Respuestas: 6841
Illustrious Member Moderator
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Que tal Ruben,

El texto que nos muestras puede ser modificado por medio de un fragmento de código el cual puede ser agregado en tu archivo de functions.php o preferiblemente desde el plugin code snippets https://wordpress.org/plugins/code-snippets/

add_filter( 'woocommerce_thankyou_order_received_text', 'we_thank_you_subtitle', 20, 2 );
function we_thank_you_subtitle( $thank_you_title, $order ){
return 'Mi nuevo texto';
}

Recuerda cambiar el texto que corresponde dentro del return por el que gustes

Prueba y nos comentas, Saludos!


 
Respondido : 30/08/2022 9:54 pm
Ruben reaccionó