shipping->get_available_shipping_methods(); ?>
cart->get_cart_subtotal(); ?> | ||
-cart->get_discounts_before_tax(); ?> | ||
full_label = esc_html( $method->label );
if ( $method->cost > 0 ) {
$method->full_label .= ': ';
// Append price to label using the correct tax settings
if ( $woocommerce->cart->display_totals_ex_tax || ! $woocommerce->cart->prices_include_tax ) {
$method->full_label .= woocommerce_price( $method->cost );
if ( $method->get_shipping_tax() > 0 && $woocommerce->cart->prices_include_tax ) {
$method->full_label .= ' '.$woocommerce->countries->ex_tax_or_vat();
}
} else {
$method->full_label .= woocommerce_price( $method->cost + $method->get_shipping_tax() );
if ( $method->get_shipping_tax() > 0 && ! $woocommerce->cart->prices_include_tax ) {
$method->full_label .= ' '.$woocommerce->countries->inc_tax_or_vat();
}
}
}
}
// Print a single available shipping method as plain text
if ( 1 === count( $available_methods ) ) {
echo $method->full_label;
echo '';
// Show multiple shipping methods
} else {
if ( get_option('woocommerce_shipping_method_format') == 'select' ) {
echo '';
} else {
echo '
'.__('Please fill in your details above to see available shipping methods.', 'woocommerce').' '; } else { echo ''.__('Sorry, it seems that there are no available shipping methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce').' '; } } ?> |
||
cart->tax->get_rate_label( $key ); ?> | ||
cart->get_cart_subtotal( true ); ?> | ||
cart->tax->get_rate_label( $key ); ?> | ||
countries->tax_or_vat(); ?> | cart->get_cart_tax(); ?> | |
countries->tax_or_vat(); ?> | ||
-cart->get_discounts_after_tax(); ?> | ||
cart->get_total(); ?> | ||
'.$_product->get_title().$woocommerce->cart->get_item_data( $values ).' | '.$values['quantity'].' | ' . apply_filters( 'woocommerce_checkout_item_subtotal', $woocommerce->cart->get_product_subtotal( $_product, $values['quantity'] ), $values, $item_id ) . ' |
'.__('Please fill in your details above to see available payment methods.', 'woocommerce').'
'; else : echo ''.__('Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce').'
'; endif; endif; ?>id="terms" />