varunsridharan / woocommerce-role-based-price

WooCommerce Role Based Price Plugin
https://codecanyon.net/item/woocommerce-role-based-pricing-pro/14120734
GNU General Public License v3.0
48 stars 22 forks source link

Fix Export Locale Decimal Separator #113

Closed rafaelcalero closed 4 years ago

rafaelcalero commented 4 years ago

If you have assigned "," as a decimal separator unit, the importer converts it to ".".

The exporter does not take this into account and exported it as it was in the database (with ".").

It is a simple change that calls the function "wc_format_localized_price" before adding the price.

Regards! :)

varunsridharan commented 4 years ago

Hi There

Thanks for your contribution. in the next update i will push with this.