Hi,
For info again, i found solution to import position in categories csv import:
1. one line added in AdminImportController around line 167
line added is 'position' => array('label' => $this->l('Position')),
case $this->entities[$this->l('Categories')]: $this->available_fields = array( 'no' => array('label' => $this->l('Ignore this column')), 'id' => array('label' => $this->l('ID')), 'active' => array('label' => $this->l('Active (0/1)')), 'name' => array('label' => $this->l('Name')), 'parent' => array('label' => $this->l('Parent category')), 'is_root_category' => array( 'label' => $this->l('Root category (0/1)'), 'help' => $this->l('A category root is where a category tree can begin. This is used with multistore.') ), 'description' => array('label' => $this->l('Description')), 'meta_title' => array('label' => $this->l('Meta title')), 'meta_keywords' => array('label' => $this->l('Meta keywords')), 'meta_description' => array('label' => $this->l('Meta description')), 'position' => array('label' => $this->l('Position')), 'link_rewrite' => array('label' => $this->l('URL rewritten')), 'image' => array('label' => $this->l('Image URL')), 'shop' => array( 'label' => $this->l('ID / Name of shop'), 'help' => $this->l('Ignore this field if you don\'t use the Multistore tool. If you leave this field empty, the default shop will be used.'), ), );
2. Now when you go to import csv categories, you will have opportunity to assign position in the select list..
3 You import...surprisingly, the position will all show '1' in the back office but the values have been updated in the table ps_category AND are used in front office to sort categories, solution to see the real position (select all in back office, disable all and re-enable all), and the positions imported will be shown..
That's it , i think that those 2 posts solve (at least for me) those 2issues.
1 prestashop 1.6.01 categories csv import: subcategories import
2 prestashop 1.6.01 categories csv import: position import
Hope this will help..
Regards