Reply 65599 to: Woocommerce translation problem (partial)

Avatar: Floppy78
Floppy78
Participant
May 22, 2015 at 16:54

I solved the input button problem with this code in fuctions.php `// rename the coupon field on the cart page
function woocommerce_rename_coupon_field_on_cart( $translated_text, $text, $text_domain ) {

// bail if not modifying frontend woocommerce text
if ( is_admin() || ‘woocommerce’ !== $text_domain ) {
return $translated_text;
}

if ( ‘Apply Coupon’ === $text ) {
$translated_text = ‘Applica promo’;
}

return $translated_text;
}
add_filter( ‘gettext’, ‘woocommerce_rename_coupon_field_on_cart’, 10, 3 );`

But still can’t find “Note:…”

Thanks

Go To The Whole Conversation In Topic

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.