| @@ -37,20 +37,8 @@ | ||
| 37 | 37 | [ $this, 'addExportPercentageData' ], |
| 38 | 38 | 10, |
| 39 | 39 | 2 |
| 40 | 40 | ); |
| 41 | - add_filter( | |
| 42 | - 'woocommerce_product_export_product_column_tiered_price_type', | |
| 43 | - array( $this, 'addExportPricingTypeData' ), | |
| 44 | - 10, | |
| 45 | - 2 | |
| 46 | - ); | |
| 47 | - add_filter( | |
| 48 | - 'woocommerce_product_export_product_column_tiered_price_minimum', | |
| 49 | - array( $this, 'addExportPricingMinimumData' ), | |
| 50 | - 10, | |
| 51 | - 2 | |
| 52 | - ); | |
| 53 | 41 | } |
| 54 | 42 | |
| 55 | 43 | /** |
| 56 | 44 | * Register the 'Fixed tier price' column in the exporter. |
| @@ -112,34 +100,7 @@ | ||
| 112 | 100 | */ |
| 113 | 101 | public function addExportPercentageData( $value, $product ) |
| 114 | 102 | { |
| 115 | 103 | return $this->addExportData( $product, 'percentage' ); |
| 116 | - } | |
| 117 | - | |
| 118 | - /** | |
| 119 | - * Export tiered pricing type | |
| 120 | - * | |
| 121 | - * @param mixed $value | |
| 122 | - * @param WC_product $product | |
| 123 | - * | |
| 124 | - * @return mixed | |
| 125 | - */ | |
| 126 | - public function addExportPricingTypeData( $value, $product ) | |
| 127 | - { | |
| 128 | - $type = PriceManager::getPricingType( $product->get_id(), false, 'edit' ); | |
| 129 | - return ( $type ? $type : '' ); | |
| 130 | - } | |
| 131 | - | |
| 132 | - /** | |
| 133 | - * Export tiered pricing minimum product quantity | |
| 134 | - * | |
| 135 | - * @param mixed $value | |
| 136 | - * @param WC_product $product | |
| 137 | - * | |
| 138 | - * @return mixed | |
| 139 | - */ | |
| 140 | - public function addExportPricingMinimumData( $value, $product ) | |
| 141 | - { | |
| 142 | - return PriceManager::getProductQtyMin( $product->get_id(), 'edit' ); | |
| 143 | 104 | } |
| 144 | 105 | |
| 145 | 106 | } |