| @@ -57,11 +57,11 @@ | ||
| 57 | 57 | public function processImport( $product, $data ) |
| 58 | 58 | { |
| 59 | 59 | |
| 60 | 60 | if ( !empty($data['tiered_price_fixed']) ) { |
| 61 | - $fixedData = $this->decodeExport( $data['tiered_price_fixed'] ); | |
| 62 | - if ( $fixedData && !empty($fixedData) ) { | |
| 63 | - $product->update_meta_data( '_fixed_price_rules', $fixedData ); | |
| 61 | + $data = $this->decodeExport( $data['tiered_price_fixed'] ); | |
| 62 | + if ( $data && !empty($data) ) { | |
| 63 | + $product->update_meta_data( '_fixed_price_rules', $data ); | |
| 64 | 64 | } |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | return $product; |