PluginProbe
Tiered Pricing Table for WooCommerce / 8.1.0
Tiered Pricing Table for WooCommerce v8.1.0
8.1.0 8.0.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 All 92 releases
← All changes | src/Addons/ImportExport/WoocommerceExportService.php +2 -1 8.0.2 → 8.1.0 View file →
@@ -2,8 +2,9 @@
2 2
3 3 namespace TierPricingTable\Addons\ImportExport;
4 4
5 5 use TierPricingTable\PriceManager;
6 +use TierPricingTable\TierPricingTablePlugin;
6 7 use WC_Product;
7 8 /**
8 9 * Class WooCommerce Export
9 10 */
@@ -77,9 +78,9 @@
77 78 $tiered_pricing = PriceManager::getFixedPriceRules( $product->get_id(), 'edit' );
78 79 }
79 80 $str = '';
80 81 foreach ( $tiered_pricing as $quantity => $price ) {
81 - $str .= $quantity . ':' . $price . ',';
82 + $str .= $quantity . TierPricingTablePlugin::getRuleSeparator() . $price . ',';
82 83 }
83 84 return ( mb_strlen( $str ) > 0 ? trim( $str, ',' ) : null );
84 85 }
85 86