I am using the datapump and all is goint well but I need to add the imageprocessor. So far no luck. Anyone know how to do this? here is the docs . This is the code I have working. I didn't put the vars in.
require_once(MAGENTO."/magmi/integration/magmi_datapump.php");
class TestLogger{
public function log($data,$type){
$mess.="$type:$data\n";
}
}
$dp=Magmi_DataPumpFactory::getDataPumpInstance("productimport");
$dp->beginImportSession("default","create",new TestLogger());
$item=array(
"type"=>"simple",
"sku"=>$sku,
"name"=>$p_name,
"short_description"=>$shortdesc,
"description"=>$longdesc,
"cost"=>$cost,
"price"=>$price,
"min_qty"=>0,
"qty"=>$stock,
"tax_class_id"=>2,
"status"=>2,
"attribute_set"=>$attribute_set,
"category_ids"=>implode(",",array_unique($cat_list)),
"manufacturer"=>$manufacturer
);
//This doesn't seem to be working.
$item["image"]="http://images.domain.com/product_images".$image[0];
$item["store"]="";
$dp->ingest($item);
$dp->endImportSession();
Now I have looked through the and I don't see how to get the plugin's loaded.. Any ideas on fixing it? Tk