Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price information is not fetched #120

Open
javorszky opened this issue Jul 30, 2018 · 4 comments
Open

Price information is not fetched #120

javorszky opened this issue Jul 30, 2018 · 4 comments

Comments

@javorszky
Copy link
Contributor

javorszky commented Jul 30, 2018

I've migrated the data. The table has the information about the price in the table:
screen shot 2018-07-30 at 22 54 55

And yet

screen shot 2018-07-30 at 22 55 16

@javorszky
Copy link
Contributor Author

I put some logging in the get_from_product_table method to see what information is being fetched from the table, and it's:

2018-07-31T00:11:51+00:00 INFO getting virtual
2018-07-31T00:11:51+00:00 INFO getting downloadable
2018-07-31T00:11:51+00:00 INFO getting tax_status
2018-07-31T00:11:51+00:00 INFO getting tax_class
2018-07-31T00:11:51+00:00 INFO getting stock_status

Note that prices are NOT in there.

@kloon kloon added the Type: Bug label Aug 1, 2018
@rodrigoprimo
Copy link
Contributor

I'm not able to reproduce this. Product prices are displayed correctly for me in the product admin page. @kloon, did you try to reproduce it before labeling?

I put some logging in the get_from_product_table method to see what information is being fetched

Price is not fetched by get_from_product_table(), it is fetched by WC_Product_Data_Store_Custom_Table::get_product_row_from_db():

@wss-chadical
Copy link

Something to do with currency type? Euro vs $?

@claudiosanches
Copy link
Contributor

@wss-chadical still should be able to fetch that information, since we don't save currency with the price in the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants