Import a price with a decimal point
-
Hi,
Im trying to import a csv file but the csv price has no decimal points, when I upload it instead of it being £75.00 (seventy five) its £7500 (seven thousand five hundred)
The CSV price section looks like
<price>7500</price>
I have no control over the CSV file so I will need to if there is an option on “wp import all” or what the PHP code would be to fix this problem as i see it has the ability to execute php while importing. i.e
[str_replace(",", "", {your_price_element[1]})]
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Import a price with a decimal point’ is closed to new replies.