post_type && 'cart' == get_post_meta( $post->ID, ALPUS_NAME . '_template_type', true ) ); ?>

cart->get_coupons() as $code => $coupon ) : ?> cart->needs_shipping() && WC()->cart->show_shipping() ) : ?> shipping()->get_packages(); $first = true; foreach ( $packages as $i => $package ) { $chosen_method = isset( WC()->session->chosen_shipping_methods[ $i ] ) ? WC()->session->chosen_shipping_methods[ $i ] : ''; $product_names = array(); if ( count( $packages ) > 1 ) { foreach ( $package['contents'] as $item_id => $values ) { $product_names[ $item_id ] = $values['data']->get_name() . ' ×' . $values['quantity']; } $product_names = apply_filters( 'woocommerce_shipping_package_details_array', $product_names, $package ); } wc_get_template( 'cart/cart-shipping.php', array( 'package' => $package, 'available_methods' => $package['rates'], 'show_package_details' => count( $packages ) > 1, 'show_shipping_calculator' => $is_cart && apply_filters( 'woocommerce_shipping_show_shipping_calculator', $first, $i, $package ), 'package_details' => implode( ', ', $product_names ), /* translators: %d: shipping package number */ 'package_name' => apply_filters( 'woocommerce_shipping_package_name', ( ( $i + 1 ) > 1 ) ? sprintf( _x( 'Shipping %d', 'shipping packages', 'alpus' ), ( $i + 1 ) ) : _x( 'Shipping', 'shipping packages', 'alpus' ), $i, $package ), 'index' => $i, 'chosen_method' => $chosen_method, 'formatted_destination' => WC()->countries->get_formatted_address( $package['destination'], ', ' ), 'has_calculated_shipping' => WC()->customer->has_calculated_shipping(), ) ); $first = false; } } else { wc_cart_totals_shipping_html(); } ?> cart->needs_shipping() && 'yes' == get_option( 'woocommerce_enable_shipping_calc' ) && ! empty( $show_shipping_calculator ) ) : ?> cart->get_fees() as $fee ) : ?> cart->display_prices_including_tax() ) { $taxable_address = WC()->customer->get_taxable_address(); $estimated_text = ''; if ( WC()->customer->is_customer_outside_base() && ! WC()->customer->has_calculated_shipping() ) { /* translators: %s location. */ $estimated_text = sprintf( ' ' . esc_html__( '(estimated for %s)', 'alpus' ) . '', WC()->countries->estimated_for_prefix( $taxable_address[0] ) . WC()->countries->countries[ $taxable_address[0] ] ); } if ( 'itemized' == get_option( 'woocommerce_tax_total_display' ) ) { foreach ( WC()->cart->get_tax_totals() as $code => $tax ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited ?>
name ); ?>
label ) . $estimated_text; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> formatted_amount ); ?>
countries->tax_or_vat() ) . $estimated_text; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>