Prestashop 1.6如何在电子邮件中发送商店徽标?

时间:2018-02-27 11:04:41

标签: prestashop

在早期版本的prestashop(1.4)中,我会使用<img src="{shop_logo}">

但在当前版本(1.6.1.4)中,当我使用此语法时,它会自动将其转换为<img src="http://t.clicktoamerica.com/admin1/{shop_logo}"> (即它添加了商店域名和管理员路径)

并且不显示徽标。

在电子邮件中添加徽标的正确语法是什么?

编辑

语法<img src="{shop_logo}">是正确的,但是由于使用TinyMce编辑器编辑时添加了域的错误,因此一个简单的旁路就是直接编辑电子邮件html文件(使用外部编辑器)

问题仍然存在 - 如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

<LoginButton readPermissions={["email", "public_profile"]} onLoginFinished={ (error, result) => { if (error) { alert("Login failed with error: " + result.error); } else if (result.isCancelled) { alert("Login was cancelled"); } else { AccessToken.getCurrentAccessToken().then((data) => { const token = data.accessToken; // send the token to your backend } ) alert("Login was successful with permissions: " + result.grantedPermissions) } } } onLogoutFinished={() => alert("User logged out")} />

找到该行:js/admin/tinymce.inc.js并将其更改为relative_urls:false

相关问题