Score:0

Commerce: Required product SKU is missing

in flag

I searched a lot, but did not find a solution, import preview works fine (attached picture), SKU is mapped, but actual import does not import anything, ends with "Required product SKU is missing.", Drupal 7 in latest version, feeds 7.x-2.0-beta4 (tried 7.x-2.0-beta5 and latest dev and not working as well) It was working before. PHP 7.2

CSV done on Mac Numbers, checked in COda and BBEdit, looks fine.

Many thanks for help!

Exported feed config

$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 = 'importer_produktu_s_velikosti';
$feeds_importer->config = array(
  'content_type' => '',
  'description' => '',
  'expire_period' => 3600,
  'fetcher' => array(
    'config' => array(
      'allowed_extensions' => 'txt csv tsv xml opml',
      'allowed_schemes' => array(
        'public' => 'public',
      ),
      'delete_uploaded_file' => 0,
      'direct' => 0,
      'directory' => 'public://feeds',
    ),
    'plugin_key' => 'FeedsFileFetcher',
  ),
  'import_on_create' => 1,
  'import_period' => '-1',
  'name' => 'Importer produktu',
  'parser' => array(
    'config' => array(
      'delimiter' => ';',
      'encoding' => 'UTF-8',
      'no_headers' => 0,
    ),
    'plugin_key' => 'FeedsCSVParser',
  ),
  'process_in_background' => 0,
  'processor' => array(
    'config' => array(
      'author' => '1',
      'bundle' => 'produkt',
      'input_format' => 'plain_text',
      'insert_new' => '1',
      'language' => 'und',
      'mappings' => array(
        0 => array(
          'language' => 'und',
          'source' => 'SKU',
          'target' => 'sku',
          'unique' => 1,
        ),
        1 => array(
          'language' => 'und',
          'source' => 'Title',
          'target' => 'title',
          'unique' => FALSE,
        ),
        2 => array(
          'language' => 'und',
          'source' => 'Price',
          'target' => 'commerce_price:amount',
          'unique' => FALSE,
        ),
        3 => array(
          'language' => 'und',
          'source' => 'Foto1 URL',
          'target' => 'field_foto1:uri',
          'unique' => FALSE,
        ),
        4 => array(
          'language' => 'und',
          'source' => 'Foto1 ALT',
          'target' => 'field_foto1:alt',
          'unique' => FALSE,
        ),
        5 => array(
          'source' => 'Foto1 Nadpis',
          'target' => 'field_foto1:title',
          'unique' => FALSE,
        ),
      ),
      'product_type' => 'produkt',
      'skip_hash_check' => 0,
      'tax_rate' => TRUE,
      'update_existing' => '1',
      'update_non_existent' => 'skip',
    ),
    'plugin_key' => 'FeedsCommerceProductProcessor',
  ),
  'update' => 0,
);

Many thanks

enter image description here enter image description here

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.