Skip to content

Instantly share code, notes, and snippets.

@MarceloGlez
Created April 23, 2020 02:33
Show Gist options
  • Save MarceloGlez/bf4ad9ed225fad7b33a18663c296dd36 to your computer and use it in GitHub Desktop.
Save MarceloGlez/bf4ad9ed225fad7b33a18663c296dd36 to your computer and use it in GitHub Desktop.
Edita el mensaje "Se ha añadido al carrito" en Woocommerce
/*Edita el mensaje "Se ha añadido al carrito" en Woocommerce*/
add_filter( 'wc_add_to_cart_message_html', 'marceloglez_custom_add_to_cart_message' );
function marceloglez_custom_add_to_cart_message() {
$message = '¡Muchas gracias!, solo queda finalizar la compra.' ;
return $message;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment