Skip to content

Commit

Permalink
_has_multiple_variation_tax_rates no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley committed Mar 25, 2015
1 parent 9f50d41 commit 0ab0a12
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions includes/class-wc-product-variable.php
Original file line number Diff line number Diff line change
Expand Up @@ -589,13 +589,6 @@ public static function sync( $product_id ) {
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;
Expand Down

0 comments on commit 0ab0a12

Please sign in to comment.