Remove commas from WooCommerce checkout addresses fields
My client’s WooCommerce shop is exporting orders as comma separated files for creation of packaging labels and accounting in C5.
When users enter an address with a comma upon checkout, this screws up the CSV export. Example: “60 Brickyard Road, Lapeer”. The comma after “Road” confuses C5 when importing.
How can I filter out any commas before the address value is saved to the order?