cowoa使用

1.下载cowoa最新版

下载地址http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1655

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,在末尾添加:

  1. define('FILENAME_ORDER_STATUS', 'order_status');

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

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

效果图

原文地址:https://www.cnblogs.com/lookyou/p/2229475.html