| @@ 432-434 (lines=3) @@ | ||
| 429 | update_post_meta( $id, 'exclude_product_categories', array_filter( array_map( 'intval', $data['exclude_product_category_ids'] ) ) );  | 
                                |
| 430 | }  | 
                                |
| 431 | ||
| 432 | 			if ( isset( $data['exclude_sale_items'] ) ) { | 
                                |
| 433 | update_post_meta( $id, 'exclude_sale_items', ( true === $data['exclude_sale_items'] ) ? 'yes' : 'no' );  | 
                                |
| 434 | }  | 
                                |
| 435 | ||
| 436 | 			if ( isset( $data['minimum_amount'] ) ) { | 
                                |
| 437 | update_post_meta( $id, 'minimum_amount', wc_format_decimal( $data['minimum_amount'] ) );  | 
                                |
| @@ 522-524 (lines=3) @@ | ||
| 519 | update_post_meta( $id, 'exclude_product_categories', array_filter( array_map( 'intval', $data['exclude_product_category_ids'] ) ) );  | 
                                |
| 520 | }  | 
                                |
| 521 | ||
| 522 | 			if ( isset( $data['exclude_sale_items'] ) ) { | 
                                |
| 523 | update_post_meta( $id, 'exclude_sale_items', ( true === $data['exclude_sale_items'] ) ? 'yes' : 'no' );  | 
                                |
| 524 | }  | 
                                |
| 525 | ||
| 526 | 			if ( isset( $data['minimum_amount'] ) ) { | 
                                |
| 527 | update_post_meta( $id, 'minimum_amount', wc_format_decimal( $data['minimum_amount'] ) );  | 
                                |