shipping->enabled || $available_methods || ! $woocommerce->customer->get_shipping_country() || ! $woocommerce->customer->has_calculated_shipping() ) : ?>
|
cart->get_cart_subtotal(); ?> |
cart->get_discounts_before_tax() ) : ?>
|
-cart->get_discounts_before_tax(); ?> |
cart->needs_shipping() && $woocommerce->cart->show_shipping() && ( $available_methods || get_option( 'woocommerce_enable_shipping_calc' ) == 'yes' ) ) : ?>
|
$available_methods ) ); ?> |
cart->get_fees() as $fee ) : ?>
name ?> |
cart->tax_display_cart == 'excl' )
echo woocommerce_price( $fee->amount );
else
echo woocommerce_price( $fee->amount + $fee->tax );
?> |
cart->tax_display_cart == 'excl' ) {
$taxes = $woocommerce->cart->get_formatted_taxes();
if ( sizeof( $taxes ) > 0 ) {
$has_compound_tax = false;
foreach ( $taxes as $key => $tax ) {
if ( $woocommerce->cart->tax->is_compound( $key ) ) {
$has_compound_tax = true;
continue;
}
echo '
' . $woocommerce->cart->tax->get_rate_label( $key ) . ' |
' . $tax . ' |
';
}
if ( $has_compound_tax ) {
echo '
' . __( 'Subtotal', 'woocommerce' ) . ' |
' . $woocommerce->cart->get_cart_subtotal( true ) . ' |
';
}
foreach ( $taxes as $key => $tax ) {
if ( ! $woocommerce->cart->tax->is_compound( $key ) )
continue;
echo '
' . $woocommerce->cart->tax->get_rate_label( $key ) . ' |
' . $tax . ' |
';
}
} elseif ( $woocommerce->cart->get_cart_tax() > 0 ) {
echo '
' . __( 'Tax', 'woocommerce' ) . ' |
' . $woocommerce->cart->get_cart_tax() . ' |
';
}
}
?>
cart->get_discounts_after_tax() ) : ?>
|
-cart->get_discounts_after_tax(); ?> |
|
cart->get_total(); ?>
cart->tax_display_cart == 'incl' ) {
$tax_string_array = array();
$taxes = $woocommerce->cart->get_formatted_taxes();
if ( sizeof( $taxes ) > 0 )
foreach ( $taxes as $key => $tax )
$tax_string_array[] = sprintf( '%s %s', $tax, $woocommerce->cart->tax->get_rate_label( $key ) );
elseif ( $woocommerce->cart->get_cart_tax() )
$tax_string_array[] = sprintf( '%s tax', $tax );
if ( ! empty( $tax_string_array ) ) {
echo '' . sprintf( __( '(Includes %s)', 'woocommerce' ), implode( ', ', $tax_string_array ) ) . '';
}
}
?>
|
cart->get_cart_tax() ) : ?>
customer->is_customer_outside_base() && ! $woocommerce->customer->has_calculated_shipping() ) ? sprintf( ' ' . __( ' (taxes estimated for %s)', 'woocommerce' ), $woocommerce->countries->estimated_for_prefix() . __( $woocommerce->countries->countries[ $woocommerce->countries->get_base_country() ], 'woocommerce' ) ) : '';
printf( __( 'Note: Shipping and taxes are estimated%s and will be updated during checkout based on your billing and shipping information.', 'woocommerce' ), $estimated_text );
?>
cart->needs_shipping() ) : ?>
customer->get_shipping_state() || ! $woocommerce->customer->get_shipping_postcode() ) : ?>
countries->countries[ $woocommerce->customer->get_shipping_country() ] ); ?>