Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Anyway to fix the exported csv 'product price' column?

A topic by HINOKODO created Jun 29, 2023 Views: 287 Replies: 6
Viewing posts 1 to 3

The file that exports payments, has a column in it called 'product price'. But rather than being formatted in a currency, it's just a number. When you convert that number in google sheets, it can't tell where a decimal would be. For me it shows '500' as the product price (it's suppose to be $5) and there's no easy way to convert this into $5 without some copy and pasting (I'm not a coder, maybe there's an easier fix). Every other column works as expected (there's at least a decimal where it should be)


If this is on purpose, I'd love to know why! 
If this is a bug, is it possible to fix? 

Thank you for your time. 

(+1)

Hi. 

Seems like a bug to me. Let's see if a moderator can inform the admin.

One correction, but the CSV file does not store formats, it is when importing to google that the currency format is created.

You have several ways to correct, one quite simple, is that you open the CSV file in a text editor and replace all the

,500,

  by

,5.00,

before importing the CSV into google sheets.

(+1)

But ... but  ... currency is just a number. Unless you write the respective currency symbol with  the number, 5 is just 5 and not 500 Cent. Speaking of wich. Could you call that column cent for an easy fix?

You can have different currencies on itch, like Yen,    and floating points are a nuisance. Maybe that is why they give it in Cent.

(2 edits)

The error is not that it shows you the value in cents, that is, 500 instead of 5.00.

The error is that all the other columns that refer to money do so with the 0.00 format, except for the price .

For example (actual values from a CSV exported from itch):

product_price = 599
tax_added=1.26
tip=0.00
marketplace_fee = 0.59

If the data uses one format, but only one column uses a different format, it's obviously a bug in the code that exports the values.

The problem is not the name of the column (dollars or cents), it is that the change in the format can lead to errors, since the numbers cannot be compared directly.

This is a detail, since correcting it is something very simple, but if you don't have any kind of knowledge in spreadsheets, it could be more complicated.

If there are other money columns that use different notation, that is quite dubious.

This is csv. Is not the first line naming the column? I guess the names make not even mention of currency.

What I copied there is the information for you to understand the problem, I can't share my CSV file because it contains private information and it won't help you either. But yes, the original CSV file, the first row has the column names.

There never was any question about the nature of the problem. Nor is it private information what the name of the columns is.

But regardless, switching units within such an export is a serious issue and should be reported to support.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.