countries->get_formatted_address( $package['destination'], ', ' ); $has_calculated_shipping = ! empty( $has_calculated_shipping ); $show_shipping_calculator = ! empty( $show_shipping_calculator ); $calculator_text = ''; ?>
cost; $hide_cost = ! $has_cost && in_array( $method->get_method_id(), array( 'free_shipping', 'local_pickup' ), true ); $cost_text = ''; if ( $has_cost && ! $hide_cost ) { if ( WC()->cart->display_prices_including_tax() ) { $cost_text = wc_price( $method->cost + $method->get_shipping_tax() ); if ( $method->get_shipping_tax() > 0 && ! wc_prices_include_tax() ) { $cost_text .= ' ' . WC()->countries->inc_tax_or_vat() . ''; } } else { $cost_text = wc_price( $method->cost ); if ( $method->get_shipping_tax() > 0 && wc_prices_include_tax() ) { $cost_text .= ' ' . WC()->countries->ex_tax_or_vat() . ''; } } } ?>

' . esc_html( $formatted_destination ) . '' ); $calculator_text = esc_html__( 'Change address', 'brandy' ); } else { echo wp_kses_post( apply_filters( 'woocommerce_shipping_estimate_html', __( 'Shipping options will be updated during checkout.', 'brandy' ) ) ); } ?>

' . esc_html( $formatted_destination ) . '' ), $formatted_destination ) ); $calculator_text = esc_html__( 'Enter a different address', 'brandy' ); endif; ?> ' . esc_html( $package_details ) . '

'; ?>