【发布时间】:2023-03-23 04:48:01
【问题描述】:
http://i.stack.imgur.com/tAluR.png
请看上面的截图
有什么方法可以在错误前显示有问题的产品 SKU?或者至少是导入的 CSV 文件的行号?
如果您知道在哪里进行编辑,这应该是一个相当简单的过程。我不:D请帮忙。
【问题讨论】:
标签: magento import dataflow profiles
http://i.stack.imgur.com/tAluR.png
请看上面的截图
有什么方法可以在错误前显示有问题的产品 SKU?或者至少是导入的 CSV 文件的行号?
如果您知道在哪里进行编辑,这应该是一个相当简单的过程。我不:D请帮忙。
【问题讨论】:
标签: magento import dataflow profiles
数据流错误消息由以下人员生成:
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}')
变化:
. '<span id="#{id}_status" class="text">#{text}</span>'
收件人:
. '<span id="#{id}_status" class="text">Row #{id} - #{text}</span>'
【讨论】: