← All changes
|
src/Addons/ImportExport/WoocommerceExportService.php
+2
-1
7.1.7
→
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 | |