lukasz87 Posted January 22, 2014 Share Posted January 22, 2014 Hello I seems to be impossible to import unit price ratio. I create a csv file with 3 columns: ID, unit price, unity. Then in backoffice i map them to following fields: ID, unity price ratio, unity Afterwards I run the import process. Unity value is imported propely, but unit price field is empty? Is it me or its a common problem? My presta is 1.5.6.1 1 Link to comment Share on other sites More sharing options...
lukasz87 Posted January 24, 2014 Author Share Posted January 24, 2014 Anyone pls? Just test if you can import unit price on your shop, thats`s all I need. I`m stuck with 2k products to import, and it will take ages to import these data manually Thanks in advance. Link to comment Share on other sites More sharing options...
lukasz87 Posted January 30, 2014 Author Share Posted January 30, 2014 I just tested it on fresh install 1.5.6.2 on localhost and its still not working. I guess its a bug and I cant do anything with it... I will report it later on forge, topic can be closed Bye Link to comment Share on other sites More sharing options...
ABANGWEB Posted February 15, 2014 Share Posted February 15, 2014 Hello I seems to be impossible to import unit price ratio. I create a csv file with 3 columns: ID, unit price, unity. Then in backoffice i map them to following fields: ID, unity price ratio, unity Afterwards I run the import process. Unity value is imported propely, but unit price field is empty? Is it me or its a common problem? My presta is 1.5.6.1 No Solution for this topic?? ohh i wanted to. Link to comment Share on other sites More sharing options...
eugenata Posted February 19, 2014 Share Posted February 19, 2014 There is a bug in AdminImportController.php. Replace the line (232): 'unit_price_ratio' => array ('label' => $ this-> l ('Unit price ratio')), with: 'unit_price' => array ('label' => $ this-> l ('Unit price ratio')), and it works. 2 Link to comment Share on other sites More sharing options...
ABANGWEB Posted March 6, 2014 Share Posted March 6, 2014 There is a bug in AdminImportController.php. Replace the line (232): 'unit_price_ratio' => array ('label' => $ this-> l ('Unit price ratio')),with: 'unit_price' => array ('label' => $ this-> l ('Unit price ratio')), and it works. Thanks it works Link to comment Share on other sites More sharing options...
Thymotep Posted May 12, 2014 Share Posted May 12, 2014 There is a bug in AdminImportController.php. Replace the line (232): 'unit_price_ratio' => array ('label' => $ this-> l ('Unit price ratio')),with: 'unit_price' => array ('label' => $ this-> l ('Unit price ratio')), and it works. Thanks, it works for me too. Link to comment Share on other sites More sharing options...
ABANGWEB Posted May 26, 2014 Share Posted May 26, 2014 Any idea for place unit price in invoice Link to comment Share on other sites More sharing options...
Docki Posted July 9, 2014 Share Posted July 9, 2014 (edited) Look at this bug report: http://forge.prestashop.com/browse/PSCSX-2643 Edited July 9, 2014 by Docki (see edit history) Link to comment Share on other sites More sharing options...
Martino00 Posted December 4, 2014 Share Posted December 4, 2014 In my 1.6.0.9 version of PrestaShop the line was aready ok but i'm not able to set the unit price with the CSV-import. unit price is empty. Link to comment Share on other sites More sharing options...
Martino00 Posted December 4, 2014 Share Posted December 4, 2014 Is it strange that in my ps_product table my field has the name unit_price_ratio ? Link to comment Share on other sites More sharing options...
Drakinfly Posted April 8, 2015 Share Posted April 8, 2015 Has anyone found this problem with v1.6 as of yet unit price is the only thing not importing? 1 Link to comment Share on other sites More sharing options...
jpstewart19 Posted September 11, 2015 Share Posted September 11, 2015 I am having this issue too on a clean install. Any chance you were able to resolve this? Link to comment Share on other sites More sharing options...
jpstewart19 Posted September 12, 2015 Share Posted September 12, 2015 Is there really no way to fix this that anyone has encountered? I think Prestashop is a great script, but there are so many abandoned issue threads in the forum, it makes me nervous that if I run into a bigger issue, no one will respond. Link to comment Share on other sites More sharing options...
emhava Posted January 13, 2016 Share Posted January 13, 2016 using 1.6.1.3, unit price is imported but the decimal value is ignored, ex. : i have 10,52 in my CSV file but in the BO unit price is changed to 10,00. I don't use tax system at all. Link to comment Share on other sites More sharing options...
emhava Posted January 14, 2016 Share Posted January 14, 2016 i think you can try to use this module: http://addons.prestashop.com/en/data-import-export/20579-import-update-bulk-product-from-any-csv-excel-file.html it is good ! And how can i try that modul before i buy? Link to comment Share on other sites More sharing options...
mstranieri Posted June 8, 2016 Share Posted June 8, 2016 using 1.6.1.3, unit price is imported but the decimal value is ignored, ex. : i have 10,52 in my CSV file but in the BO unit price is changed to 10,00. I don't use tax system at all. It's not true, PS 1.6.1.5 not working yet. Anyone can help us? Link to comment Share on other sites More sharing options...
mstranieri Posted June 23, 2016 Share Posted June 23, 2016 Up. Link to comment Share on other sites More sharing options...
lianix Posted July 12, 2016 Share Posted July 12, 2016 Up. Link to comment Share on other sites More sharing options...
ricardo oliveira Posted August 30, 2016 Share Posted August 30, 2016 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 More sharing options...
lianix Posted August 31, 2016 Share Posted August 31, 2016 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. I've tried but it doesnt work for me. The voice is unit_price_ratio for my database too. It is a draining situation -.-'' Link to comment Share on other sites More sharing options...
Recommended Posts