在magento产品导入数据流配置文件中显示SKU

在magento产品导入数据流配置文件中显示SKU,magento,import,dataflow,profiles,Magento,Import,Dataflow,Profiles,请看上面的截图 我们是否有办法在错误前显示有问题的产品SKU?或者至少是导入的CSV文件的行号 如果您知道在哪里编辑,这应该是一个相当简单的过程。我不知道:D请帮助。数据流错误消息由以下内容生成: app/code/core/Mage/Adminhtml/Block/System/Convert/Profile/Run.php 将此文件复制到: app/code/local/Mage/Adminhtml/Block/System/Convert/Profile/Run.php 并查找以下内容:

请看上面的截图

我们是否有办法在错误前显示有问题的产品SKU?或者至少是导入的CSV文件的行号


如果您知道在哪里编辑,这应该是一个相当简单的过程。我不知道:D请帮助。

数据流错误消息由以下内容生成:

app/code/core/Mage/Adminhtml/Block/System/Convert/Profile/Run.php

将此文件复制到:

app/code/local/Mage/Adminhtml/Block/System/Convert/Profile/Run.php

并查找以下内容:

'template' => '<li style="#{style}" id="#{id}">'
    . '<img id="#{id}_img" src="#{image}" class="v-middle" style="margin-right:5px"/>'
    . '<span id="#{id}_status" class="text">#{text}</span>'
    . '</li>',
'text'     => $this->__('Processed <strong>%s%% %s/%d</strong> records', '#{percent}', '#{updated}', $this->getBatchItemsCount()),
'successText'  => $this->__('Imported <strong>%s</strong> records', '#{updated}')
'template'=>'
  • ” . '' . '#{text}' . '', 'text'=>$this->''s('Processed%s%%%s/%d记录',''.{percent}','.{updated}',$this->getBatchItemScont()), 'successText'=>$this->uuuu('Imported%srecords','#{updated}'))
  • 更改:

    . '<span id="#{id}_status" class="text">#{text}</span>'
    
    '#{text}'
    
    致:

    '行#{id}-#{text}'
    
    . '<span id="#{id}_status" class="text">Row #{id} - #{text}</span>'