Hello there.
I can’t find the translation of the specific part of the cart total section. In the secure note there’s a screenshot of the section mentioned.
Loco Translate is of no help here. So
a) I’d like to translate it properly - here I guess I’ll need to add something like this:
// Change Calculate Shippingto something else
// =============================================================================
function change_calculateshipping_text($translated) {
$translated = str_ireplace(‘Calculate Shipping’, ‘Upgrade shipping here’, $translated);
return $translated;
}
add_filter(‘gettext’, ‘change_calculateshipping_text’ );
// ==========================
but I need to address the “label” properly
b) to assign a custom class for the specific part, so I can hide it. Which of course is not really a solution but dirty workaround.
thx for any hint in advance.
Kind regards