Active
Project:
Ubercart Importer
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
8 Oct 2008 at 15:36 UTC
Updated:
31 Oct 2008 at 12:00 UTC
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
Comment #1
svihel commentedNot 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.