Jump to content

price not imported when importing from CSV


Recommended Posts

Hi!

I have problem with importing from CSV.
I have prices like this: 0.56
I'm making CSV file with OpenOffice Calc.
trying to upload CSV, everything else is coming except the prices.

Question: do I have to have prices like 0,56 or they can be 0.56 ? Also in CSV do the prices have to have around them the " or not?

When the price was an integer: 56 then it was imported.


PS version 1.3.6

Link to comment
Share on other sites

  • 3 weeks later...

I found the solution here on the forum topic : "price it’s not correctly when importing from CSV "

There is a bug/mistake in the AdminImport.php

Replace it with the one in attachment.
(Or do it like I did. Rename the old one to _bck and copy the new one in place.)

It worked instantly ! And the price didn't have to be between "brackets"

Regards

AdminImport.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...