PluginProbe
Tiered Pricing Table for WooCommerce / 2.2.2
Tiered Pricing Table for WooCommerce v2.2.2
7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 All 90 releases
← All changes | src/Admin/Export/Woocommerce.php +0 -39 2.3.32.2.2 View file →
@@ -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 }