zencart 免登录购买插件安装

来源:互联网 发布:数控编程常用指令 编辑:程序博客网 时间:2024/05/22 15:32

文章出处:http://www.ezencart.com/pages/229.html

1.下载cowoa最新版

2.解压后,将admin、includes、optiondarrows拷贝到zencart的对应目录。注意Your-template改正为自己的模板名。

3、安装SQL脚本 cowoa.sql

4、在后台启动cowoa

后台后台-->商店设置-->COWOA-->选择相应的选项启动

5、修改 /includes/templates/Your-template/common/tpl_header.php将

1<?php if (($_SESSION['customer_id']) { ?>

改为:

1<?php if (($_SESSION['customer_id']) || ($_SESSION['COWOA']=='True')) { ?>

在/includes/filenames.php文件末尾增加

1define('FILENAME_ORDER_STATUS''order_status');

后台设置“注册/登录”为不同页显示:

后台-->商店设置-->布局设置-->分开登录页面 值改为:true

效果图

1 0