可访问、购买、结帐、注册。
.2我有错误,因为第157至160行,任何人都能判断http://pastebin.ca/2331831中的代码是否正常。它会产生一个内部服务器错误。
view>theme>default>template>checkout>register.tpl中的附加相关文件http://pastebin.ca/2331818
提前感谢!
发布于 2013-03-13 19:09:36
似乎您正在阅读affiliate_code,而不是检查它是否为空。在将空的函数传递给查询之前,您应该使用它。
if( ! empty($_POST['affiliate_code']))
{
// your affiliate code here
}https://stackoverflow.com/questions/15392439
复制相似问题