无法在 magento 中的交易电子邮件下添加电子邮件模板
Unable to add email template under transactional emails in magento
我正在尝试在 magento.When 我的 select 模板上创建新的发票模板,然后单击加载模板,该模板是 loading.After 我单击保存模板时应该会出现以下错误。
“SQLSTATE[23000]:违反完整性约束:1062 键 'PRIMARY' 的重复条目“0”,查询为:INSERT INTO core_email_template
(template_code
, template_text
, template_styles
, template_type
, template_subject
, added_at
, modified_at
, orig_template_code
, orig_template_variables
) 值 (?, ?, ?, ?, ?, '2015-03-20 05:56:15', '2015-03-20 05:56:15', ?, ?)”。什么是problem.Help Me.Thanks提前
您可能更改了一些核心文件。我建议您从全新安装恢复到原始核心文件。
从全新安装中替换应用程序 > 代码 > 核心中的所有文件。确保您从与当前相同的 Magento 版本中获取核心文件。
我正在尝试在 magento.When 我的 select 模板上创建新的发票模板,然后单击加载模板,该模板是 loading.After 我单击保存模板时应该会出现以下错误。
“SQLSTATE[23000]:违反完整性约束:1062 键 'PRIMARY' 的重复条目“0”,查询为:INSERT INTO core_email_template
(template_code
, template_text
, template_styles
, template_type
, template_subject
, added_at
, modified_at
, orig_template_code
, orig_template_variables
) 值 (?, ?, ?, ?, ?, '2015-03-20 05:56:15', '2015-03-20 05:56:15', ?, ?)”。什么是problem.Help Me.Thanks提前
您可能更改了一些核心文件。我建议您从全新安装恢复到原始核心文件。
从全新安装中替换应用程序 > 代码 > 核心中的所有文件。确保您从与当前相同的 Magento 版本中获取核心文件。