I use uc_importer - in input XML file present block but this image not write to product - why?
I see uc_importer.module and not found where write data in tables (files,content_field_image_cache...).
Module only write my file from XML to patch '/files/'

Help?

P.S. I found error or not?
function uc_importer_import($xml)
... not work (array!=string)
if (!isset($product_data->unique_hash)) {
$product_data->addChild('unique_hash',...

... work
if (!isset($product_data->unique_hash)) {
$product_data->addChild('unique_hash', false, $product_data->level() + 1);
$unique_hash = md5(...);
$product_data->unique_hash[0]->setData($unique_hash);

Comments

svihel’s picture

Not sure about the solution, but just to add I have other problem with importing images, if the url is generated (such as this - http://www.redstar.cz/imagegen.php?autoimage=3000100153&type=.jpg), images won't be imported.