countries->get_formatted_address( $package['destination'], ', ' );
$has_calculated_shipping = ! empty( $has_calculated_shipping );
$show_shipping_calculator = ! empty( $show_shipping_calculator );
$calculator_text = '';
?>
label, $matches)) {
$text_before_comma = trim($matches[1]); // Текст до запятой
$text_in_parentheses = trim($matches[2]); // Текст в скобках
} else {
$text_before_comma = '';
$text_in_parentheses = '';
}
if ($text_before_comma == 'CDEK: Посылка склад-дверь'){
$title = 'Курьером';
}
else if ($text_before_comma == 'CDEK: Посылка склад-склад'){
$title = 'Пункт выдачи';
}
?>
-
' . esc_html( $formatted_destination ) . '' );
$calculator_text = esc_html__( 'Change address', 'woocommerce' );
} else {
echo wp_kses_post( apply_filters( 'woocommerce_shipping_estimate_html', __( 'Shipping options will be updated during checkout.', 'woocommerce' ) ) );
}
?>
Нет доступных способов доставки. Для отображение доступных методов укажите ваш город.
|