:)))) тогда так
в файле admin/model/tool/export.php
найди
foreach ($imageNames as $imageName) {
$maxImageId += 1;
$sql = "INSERT INTO `".DB_PREFIX."product_image` (`product_image_id`, product_id, `image`) VALUES ";
$sql .= "($maxImageId,$productId,'$imageName');";
$database->query( $sql );
}
заменить на
foreach ($imageNames as $imageName) {
$maxImageId += 1;
$sql = "INSERT INTO `".DB_PREFIX."product_image` (`product_image_id`, product_id, `image`) VALUES ";
$sql .= "($maxImageId,$productId,\"$imageName\"); "
$database->query( $sql );
}
потом
$sql2 = "INSERT INTO `".DB_PREFIX."category` (`category_id`, `image`, `parent_id`, `sort_order`, `date_added`, `date_modified`, `status`) VALUES ";
$sql2 .= "( $categoryId, '$imageName', $parentId, $sortOrder, ";
заменить на
$sql2 = "INSERT INTO `".DB_PREFIX."category` (`category_id`, `image`, `parent_id`, `sort_order`, `date_added`, `date_modified`, `status`) VALUES ";
$sql2 .= "( $categoryId, \"$imageName\", $parentId, $sortOrder, ";