From 07f71c6768dc37bef3b35fa118acef46d738f4ab Mon Sep 17 00:00:00 2001 From: gp_dev Date: Thu, 15 May 2025 16:39:37 +0300 Subject: [PATCH] Feat | Add cart and checkout --- .../woocommerce/cart/cart-shipping.php | 121 ++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 wp-content/themes/cosmopet/woocommerce/cart/cart-shipping.php diff --git a/wp-content/themes/cosmopet/woocommerce/cart/cart-shipping.php b/wp-content/themes/cosmopet/woocommerce/cart/cart-shipping.php new file mode 100644 index 0000000..b341ab6 --- /dev/null +++ b/wp-content/themes/cosmopet/woocommerce/cart/cart-shipping.php @@ -0,0 +1,121 @@ +countries->get_formatted_address( $package['destination'], ', ' ); +$has_calculated_shipping = ! empty( $has_calculated_shipping ); +$show_shipping_calculator = ! empty( $show_shipping_calculator ); +$calculator_text = ''; + +?> + + + + + + + + +

+ ' . 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' ) ) ); + } + ?> +

+ + +

Нет доступных способов доставки. Для отображение доступных методов укажите ваш город.

+ + + + + + + + + + \ No newline at end of file