_has_multiple_variation_tax_rates no longer needed

This commit is contained in:
Mike Jolley 2015-03-25 13:37:11 +00:00
parent 9f50d41b97
commit 0ab0a12156
1 changed files with 0 additions and 7 deletions

View File

@ -589,13 +589,6 @@ class WC_Product_Variable extends WC_Product {
update_post_meta( $product_id, $meta_key, ( true === $all_variations_yes ) ? 'yes' : 'no' );
}
// Were multiple tax classes defined?
if ( sizeof( $found_tax_classes ) > 1 ) {
update_post_meta( $product_id, '_has_multiple_variation_tax_rates', true );
} else {
delete_post_meta( $product_id, '_has_multiple_variation_tax_rates' );
}
// Main active prices
$min_price = null;
$max_price = null;