| @@ 424-426 (lines=3) @@ | ||
| 421 | update_post_meta( $id, 'free_shipping', ( true === $data['enable_free_shipping'] ) ? 'yes' : 'no' ); | |
| 422 | } | |
| 423 | ||
| 424 | 			if ( isset( $data['product_category_ids'] ) ) { | |
| 425 | update_post_meta( $id, 'product_categories', array_filter( array_map( 'intval', $data['product_category_ids'] ) ) ); | |
| 426 | } | |
| 427 | ||
| 428 | 			if ( isset( $data['exclude_product_category_ids'] ) ) { | |
| 429 | update_post_meta( $id, 'exclude_product_categories', array_filter( array_map( 'intval', $data['exclude_product_category_ids'] ) ) ); | |
| @@ 514-516 (lines=3) @@ | ||
| 511 | update_post_meta( $id, 'free_shipping', ( true === $data['enable_free_shipping'] ) ? 'yes' : 'no' ); | |
| 512 | } | |
| 513 | ||
| 514 | 			if ( isset( $data['product_category_ids'] ) ) { | |
| 515 | update_post_meta( $id, 'product_categories', array_filter( array_map( 'intval', $data['product_category_ids'] ) ) ); | |
| 516 | } | |
| 517 | ||
| 518 | 			if ( isset( $data['exclude_product_category_ids'] ) ) { | |
| 519 | update_post_meta( $id, 'exclude_product_categories', array_filter( array_map( 'intval', $data['exclude_product_category_ids'] ) ) ); | |