$feeds_importer = new stdClass(); $feeds_importer->disabled = FALSE; /* Edit this to true to make a default feeds_importer disabled initially */ $feeds_importer->api_version = 1; $feeds_importer->id = 'products'; $feeds_importer->config = array( 'name' => 'Products', 'description' => '', 'fetcher' => array( 'plugin_key' => 'FeedsFileFetcher', 'config' => array( 'allowed_extensions' => 'txt csv tsv xml opml', 'direct' => FALSE, 'directory' => 'private://feeds', 'allowed_schemes' => array( 0 => 'public', 1 => 'private', ), ), ), 'parser' => array( 'plugin_key' => 'FeedsCSVParser', 'config' => array( 'delimiter' => ';', 'no_headers' => 0, ), ), 'processor' => array( 'plugin_key' => 'FeedsCommerceProductProcessor', 'config' => array( 'product_type' => 'product', 'author' => 0, 'tax_rate' => TRUE, 'mappings' => array( 0 => array( 'source' => 'sku', 'target' => 'sku', 'unique' => 1, ), 1 => array( 'source' => 'title', 'target' => 'title', 'unique' => FALSE, ), 2 => array( 'source' => 'price', 'target' => 'commerce_price:amount', 'unique' => FALSE, ), ), 'update_existing' => '2', 'input_format' => 'full_html', 'skip_hash_check' => 0, 'bundle' => 'product', ), ), 'content_type' => '', 'update' => 0, 'import_period' => '-1', 'expire_period' => 3600, 'import_on_create' => 1, 'process_in_background' => 0, );