Jump to content
  • 0

Unit price not displayed when uploading products via csv file


FF Nawaz

Question

I have specified wholesale price , tax rule id, unit for unit price, unit price and all other feilds in products csv file.

 

Products gets uploaded with all details except image and retail price, when i click the product to update its price i can see the whole sale price and taxes aplicable etc but not the retail price.

 

what would be the problem,

i have not specified weight of the product as few products weight are in gm and few of its are in ml  etc.

 

Kinldy help me...

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello,

 

For those who have the same problem as I had, I could find a solution (not sure if the propper one, but it works for me).

So, go to your AdminImportController.php file and make sure that in the 247 line where it says: 

 

'unit_price' => array('label' => $this->l('Unit price')), 

 

and change it to:

 

'unit_price_ratio' => array('label' => $this->l('Unit price')),

 

Notice that 'unit_price_ratio' is the name of my Database column for this item (unit price). You need to make sure yours is the same. If not change the unit_price_ratio accordingly.

 

Thanks for the other suggestions that lead me to this solution.

Link to comment
Share on other sites

  • 0

I changed and uploaded a file it seems like its working but, the unit price is not displaying. i run a sql, i can see unit price there, but not on the front office, i have to edit pre tax retail price for it to appear on front office. what to do now ...

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...