| @@ -59,9 +59,9 @@ | ||
| 59 | 59 | |
| 60 | 60 | if ( !empty($data['tiered_price_fixed']) ) { |
| 61 | 61 | $data = $this->decodeExport( $data['tiered_price_fixed'] ); |
| 62 | 62 | if ( $data && !empty($data) ) { |
| 63 | - update_post_meta( $product->get_id(), '_fixed_price_rules', $data ); | |
| 63 | + $product->update_meta_data( '_fixed_price_rules', $data ); | |
| 64 | 64 | } |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | return $product; |