wpec_taxes_isincluded() ) {
echo '
' . __( 'Note: Tax is not applied to shipping when product prices are tax inclusive.' ) . '
';
}// if
**/
//get current tax rates
$tax_rates = $wpec_taxes_controller->wpec_taxes->wpec_taxes_get_rates();
$tax_rate_count = 0;
if ( !empty( $tax_rates ) ) {
foreach ( $tax_rates as $tax_rate ) {
echo $wpec_taxes_controller->wpec_taxes_build_form( $tax_rate_count, $tax_rate );
$tax_rate_count++;
}// foreach
}// if
?>
' . __( 'Note: Tax Bands are special tax rules you can create and apply on a per-product basis.
Please visit the product page to apply your Tax Band.', 'wpsc' ) . '';
//echo message regarding inclusive tax
if ( !$wpec_taxes_controller->wpec_taxes_isincluded() ) {
echo '
' . __( 'Note: Tax Bands do not take affect when product prices are tax exclusive.', 'wpsc' ) . '
';
}// if
$tax_bands = $wpec_taxes_controller->wpec_taxes->wpec_taxes_get_bands();
$tax_band_count = 0;
if ( !empty( $tax_bands ) ) {
foreach ( $tax_bands as $tax_band ) {
echo $wpec_taxes_controller->wpec_taxes_build_form( $tax_band_count, $tax_band, 'bands' );
$tax_band_count++;
}// foreach
}// if
?>