Update wording

This commit is contained in:
Mike Jolley 2015-08-21 15:25:03 +01:00
parent f6b7ab97b1
commit 574c0b2936
1 changed files with 18 additions and 7 deletions

View File

@ -252,24 +252,35 @@ class WC_Meta_Box_Product_Data {
echo '<div class="options_group show_if_simple show_if_external show_if_variable">';
// Tax
woocommerce_wp_select( array( 'id' => '_tax_status', 'label' => __( 'Tax Status', 'woocommerce' ), 'options' => array(
'taxable' => __( 'Taxable', 'woocommerce' ),
'shipping' => __( 'Shipping only', 'woocommerce' ),
'none' => _x( 'None', 'Tax status', 'woocommerce' )
), 'desc_tip' => 'true', 'description' => __( 'The tax status specifies which part of your product tax will be calculated on.', 'woocommerce' ) ) );
woocommerce_wp_select( array(
'id' => '_tax_status',
'label' => __( 'Tax Status', 'woocommerce' ),
'options' => array(
'taxable' => __( 'Taxable', 'woocommerce' ),
'shipping' => __( 'Shipping only', 'woocommerce' ),
'none' => _x( 'None', 'Tax status', 'woocommerce' )
),
'desc_tip' => 'true',
'description' => __( 'Define whether or not the entire product is taxable, or just the cost of shipping it.', 'woocommerce' )
) );
$tax_classes = WC_Tax::get_tax_classes();
$classes_options = array();
$classes_options[''] = __( 'Standard', 'woocommerce' );
if ( ! empty( $tax_classes ) ) {
foreach ( $tax_classes as $class ) {
$classes_options[ sanitize_title( $class ) ] = esc_html( $class );
}
}
woocommerce_wp_select( array( 'id' => '_tax_class', 'label' => __( 'Tax Class', 'woocommerce' ), 'options' => $classes_options, 'desc_tip' => 'true', 'description' => __( 'The tax class specifies what tax rate your product will be calculated with.', 'woocommerce' ) ) );
woocommerce_wp_select( array(
'id' => '_tax_class',
'label' => __( 'Tax Class', 'woocommerce' ),
'options' => $classes_options,
'desc_tip' => 'true',
'description' => __( 'Choose a tax class for this product. Tax classes are used to apply different tax rates specific to certain types of product.', 'woocommerce' )
) );
do_action( 'woocommerce_product_options_tax' );