如何在不应用模板的情况下在zen-cart中创建新的空白页面。我想创建一个页面,将只产生一个JSON数据...
提前感谢
发布于 2013-10-30 02:28:25
在你的store目录中创建一个php文件。在该文件中,如果您想要使用ZenCart函数,可以将它们包括在内,如下所示:
<?php
include "includes/application_top.php";
set headers for mime type
set headers for not caching
YOUR CODE
echo $json;
// below is optional if you didn't create/edit session
include "includes/application_bottom.php";https://stackoverflow.com/questions/19657125
复制相似问题