摘要:
function getRootPath(){ var strFullPath=window.document.location.href; var strPath=window.document.location.pathname; var pos=strFullPath.indexOf(strPath); var prePath=strFullPath.substring(0,pos); var postPath=strPath.substring(0,strPath.substr(1).indexOf('/')+1); return(prePath+postPath);} 阅读全文
摘要:
1、下载cowoa最新版2、解压后,将admin、includes、optiondarrows拷贝到zencart的根目录 其中includes/templates/Your-template要拷贝到你正在使用的模板目录下3、安装SQL脚本 cowoa.sql4、在后台启动cowoa 后台后台-->商店设置-->COWOA-->选择相应的选项启动5、修改 /includes/templates/template_default/common/tpl_header.php 将<?php if (($_SESSION["customer_id"]) { 阅读全文