Hi,
If you don't set anything in the files column, the files column will be ignored. So it's normal that you don't see any change.
If you don't want to have the files on your own web server, then there is no solution unless you modify the code of HikaShop.
If you put the URL via the interface, the system will indeed do what you want, but if you give the URL in your CSV, the system will first download the file and then put the name of the file in the upload secure folder.
So you would need to delete the code:
$unset = array();
foreach($product->files as $k => $file){
if(substr($file,0,7)=='http://'||substr($file,0,8)=='https://'){
$parts = explode('/',$file);
$name = array_pop($parts);
if(!file_exists($this->uploadFolder.$name)){
$data = @file_get_contents($file);
if(empty($data) && !empty($this->default_file)){
$name = $this->default_file;
}else{
JFile::write($this->uploadFolder.$name,$data);
}
}else{
$size = $this->getSizeFile($file);
if($size!=filesize($this->uploadFolder.$name)){
$name=$size.'_'.$name;
if(!file_exists($this->uploadFolder.$name)){
JFile::write($this->uploadFolder.$name,file_get_contents($file));
}
}
}
if(file_exists($this->uploadFolder.$name) && (filesize($this->uploadFolder.$name) > 0 || filesize($this->uploadFolder.$name) === false)){
$product->files[$k] = $name;
}else{
$unset[]=$k;
}
}
}
if(!empty($unset)){
foreach($unset as $k){
unset($product->files[$k]);
}
}
from the file administrator/components/com_hikashop/helper/import.php and then run the import with a CSV with the full URL to the externally hosted files and it should work fine.