diff --git a/wp-content/themes/cosmopet/woocommerce/cart/cart-shipping.php b/wp-content/themes/cosmopet/woocommerce/cart/cart-shipping.php index f4111b1..9f866c3 100644 --- a/wp-content/themes/cosmopet/woocommerce/cart/cart-shipping.php +++ b/wp-content/themes/cosmopet/woocommerce/cart/cart-shipping.php @@ -1,25 +1,47 @@ countries->get_formatted_address( $package['destination'], ', ' ); $has_calculated_shipping = ! empty( $has_calculated_shipping ); @@ -47,6 +69,8 @@ $calculator_text = ''; $text_in_parentheses = ''; } + $text_in_parentheses = translate_days($text_in_parentheses); + if ($text_before_comma == 'CDEK: Посылка склад-дверь' || $text_before_comma == 'CDEK: Package warehouse to door'){ $title = pll__('Курьером'); }