ecshop--标签数组
$properties 商品属性
array(1) {
["商品属性"]=>
array(1) {
[178]=>
array(2) {
["name"]=>
string(12) "外观样式"
["value"]=>
string(6) "滑盖"
}
}
}
$specification 商品规格
name 属性名称
attr_type =0 是 唯一属性 =1 是单选属性 =2 是多选属性
array(2) {
[185]=>
array(3) {
["attr_type"]=>
string(1) "1"
["name"]=>
string(6) "颜色"
["values"]=>
array(3) {
[0]=>
array(4) {
["label"]=>
string(6) "黑色"
["price"]=>
string(0) ""
["format_price"]=>
string(10) "¥0.00元"
["id"]=>
string(3) "196"
}
[1]=>
array(4) {
["label"]=>
string(6) "金色"
["price"]=>
string(2) "10"
["format_price"]=>
string(11) "¥10.00元"
["id"]=>
string(3) "197"
}
[2]=>
array(4) {
["label"]=>
string(6) "白色"
["price"]=>
string(2) "20"
["format_price"]=>
string(11) "¥20.00元"
["id"]=>
string(3) "198"
}
}
}
[210]=>
array(3) {
["attr_type"]=>
string(1) "2"
["name"]=>
string(6) "配件"
["values"]=>
array(3) {
[0]=>
array(4) {
["label"]=>
string(9) "数据线"
["price"]=>
string(1) "0"
["format_price"]=>
string(10) "¥0.00元"
["id"]=>
string(3) "251"
}
[1]=>
array(4) {
["label"]=>
string(12) "蓝牙耳机"
["price"]=>
string(3) "122"
["format_price"]=>
string(12) "¥122.00元"
["id"]=>
string(3) "252"
}
[2]=>
array(4) {
["label"]=>
string(12) "线控耳机"
["price"]=>
string(2) "20"
["format_price"]=>
string(11) "¥20.00元"
["id"]=>
string(3) "250"
}
}
}
}
$pictures 商品相册
array(4) {
[0]=>
array(4) {
["img_id"]=>
string(2) "25"
["img_url"]=>
string(46) "images/200905/goods_img/19_P_1241970140820.jpg"
["thumb_url"]=>
string(52) "images/200905/thumb_img/19_thumb_P_1241970140527.jpg"
["img_desc"]=>
string(0) ""
}
[1]=>
array(4) {
["img_id"]=>
string(2) "26"
["img_url"]=>
string(46) "images/200905/goods_img/19_P_1241970140600.jpg"
["thumb_url"]=>
string(52) "images/200905/thumb_img/19_thumb_P_1241970140229.jpg"
["img_desc"]=>
string(0) ""
}
[2]=>
array(4) {
["img_id"]=>
string(2) "27"
["img_url"]=>
string(46) "images/200905/goods_img/19_P_1241970175007.jpg"
["thumb_url"]=>
string(52) "images/200905/thumb_img/19_thumb_P_1241970175086.jpg"
["img_desc"]=>
string(0) ""
}
[3]=>
array(4) {
["img_id"]=>
string(2) "44"
["img_url"]=>
string(46) "images/201508/goods_img/19_P_1440811956860.jpg"
["thumb_url"]=>
string(52) "images/201508/thumb_img/19_thumb_P_1440811956365.jpg"
["img_desc"]=>
string(6) "正面"
}
}
$attribute_linked 相同属性的关联商品
array(1) {
[178]=>
array(2) {
["title"]=>
string(27) "相同外观样式的商品"
["goods"]=>
array(2) {
[9]=>
array(8) {
["goods_id"]=>
string(1) "9"
["goods_name"]=>
string(12) "诺基亚E66"
["short_name"]=>
string(12) "诺基亚E66"
["goods_thumb"]=>
string(51) "images/200905/thumb_img/9_thumb_G_1241511871555.jpg"
["market_price"]=>
string(10) "¥2758元"
["shop_price"]=>
string(10) "¥2298元"
["promote_price"]=>
string(7) "1999.00"
["url"]=>
string(14) "goods.php?id=9"
}
[23]=>
array(8) {
["goods_id"]=>
string(2) "23"
["goods_name"]=>
string(12) "诺基亚N96"
["short_name"]=>
string(12) "诺基亚N96"
["goods_thumb"]=>
string(52) "images/200905/thumb_img/23_thumb_G_1241971556399.jpg"
["market_price"]=>
string(10) "¥4440元"
["shop_price"]=>
string(10) "¥3700元"
["promote_price"]=>
int(0)
["url"]=>
string(15) "goods.php?id=23"
}
}
}
}
$bought_goods 购买此商品的还购买过什么商品
array(1) {
[0]=>
array(9) {
["goods_id"]=>
string(1) "9"
["goods_name"]=>
string(12) "诺基亚E66"
["short_name"]=>
string(12) "诺基亚E66"
["goods_thumb"]=>
string(51) "images/200905/thumb_img/9_thumb_G_1241511871555.jpg"
["goods_img"]=>
string(45) "images/200905/goods_img/9_G_1241511871574.jpg"
["shop_price"]=>
string(10) "¥2298元"
["url"]=>
string(14) "goods.php?id=9"
["promote_price"]=>
string(7) "1999.00"
["formated_promote_price"]=>
string(10) "¥1999元"
}
}
$helps 底部帮助标签
array(6) {
[5]=>
array(3) {
["cat_id"]=>
string(20) "article_cat.php?id=5"
["cat_name"]=>
string(13) "新手上路 "
["article"]=>
array(3) {
[0]=>
array(4) {
["article_id"]=>
string(1) "9"
["title"]=>
string(12) "售后流程"
["short_title"]=>
string(12) "售后流程"
["url"]=>
string(16) "article.php?id=9"
}
[1]=>
array(4) {
["article_id"]=>
string(2) "10"
["title"]=>
string(12) "购物流程"
["short_title"]=>
string(12) "购物流程"
["url"]=>
string(17) "article.php?id=10"
}
[2]=>
array(4) {
["article_id"]=>
string(2) "11"
["title"]=>
string(12) "订购方式"
["short_title"]=>
string(12) "订购方式"
["url"]=>
string(17) "article.php?id=11"
}
}
}
[6]=>
array(3) {
["cat_id"]=>
string(20) "article_cat.php?id=6"
["cat_name"]=>
string(13) "手机常识 "
["article"]=>
array(3) {
[3]=>
array(4) {
["article_id"]=>
string(2) "12"
["title"]=>
string(24) "如何分辨原装电池"
["short_title"]=>
string(24) "如何分辨原装电池"
["url"]=>
string(17) "article.php?id=12"
}
[4]=>
array(4) {
["article_id"]=>
string(2) "13"
["title"]=>
string(25) "如何分辨水货手机 "
["short_title"]=>
string(24) "如何分辨水货手机"
["url"]=>
string(17) "article.php?id=13"
}
[5]=>
array(4) {
["article_id"]=>
string(2) "14"
["title"]=>
string(24) "如何享受全国联保"
["short_title"]=>
string(24) "如何享受全国联保"
["url"]=>
string(17) "article.php?id=14"
}
}
}
[7]=>
array(3) {
["cat_id"]=>
string(20) "article_cat.php?id=7"
["cat_name"]=>
string(16) "配送与支付 "
["article"]=>
array(3) {
[6]=>
array(4) {
["article_id"]=>
string(2) "15"
["title"]=>
string(18) "货到付款区域"
["short_title"]=>
string(18) "货到付款区域"
["url"]=>
string(17) "article.php?id=15"
}
[7]=>
array(4) {
["article_id"]=>
string(2) "16"
["title"]=>
string(25) "配送支付智能查询 "
["short_title"]=>
string(24) "配送支付智能查询"
["url"]=>
string(17) "article.php?id=16"
}
[8]=>
array(4) {
["article_id"]=>
string(2) "17"
["title"]=>
string(18) "支付方式说明"
["short_title"]=>
string(18) "支付方式说明"
["url"]=>
string(17) "article.php?id=17"
}
}
}
[10]=>
array(3) {
["cat_id"]=>
string(21) "article_cat.php?id=10"
["cat_name"]=>
string(12) "会员中心"
["article"]=>
array(3) {
[9]=>
array(4) {
["article_id"]=>
string(2) "18"
["title"]=>
string(12) "资金管理"
["short_title"]=>
string(12) "资金管理"
["url"]=>
string(17) "article.php?id=18"
}
[10]=>
array(4) {
["article_id"]=>
string(2) "19"
["title"]=>
string(12) "我的收藏"
["short_title"]=>
string(12) "我的收藏"
["url"]=>
string(17) "article.php?id=19"
}
[11]=>
array(4) {
["article_id"]=>
string(2) "20"
["title"]=>
string(12) "我的订单"
["short_title"]=>
string(12) "我的订单"
["url"]=>
string(17) "article.php?id=20"
}
}
}
[8]=>
array(3) {
["cat_id"]=>
string(20) "article_cat.php?id=8"
["cat_name"]=>
string(13) "服务保证 "
["article"]=>
array(3) {
[12]=>
array(4) {
["article_id"]=>
string(2) "21"
["title"]=>
string(15) "退换货原则"
["short_title"]=>
string(15) "退换货原则"
["url"]=>
string(17) "article.php?id=21"
}
[13]=>
array(4) {
["article_id"]=>
string(2) "22"
["title"]=>
string(19) "售后服务保证 "
["short_title"]=>
string(18) "售后服务保证"
["url"]=>
string(17) "article.php?id=22"
}
[14]=>
array(4) {
["article_id"]=>
string(2) "23"
["title"]=>
string(19) "产品质量保证 "
["short_title"]=>
string(18) "产品质量保证"
["url"]=>
string(17) "article.php?id=23"
}
}
}
[9]=>
array(3) {
["cat_id"]=>
string(20) "article_cat.php?id=9"
["cat_name"]=>
string(13) "联系我们 "
["article"]=>
array(3) {
[15]=>
array(4) {
["article_id"]=>
string(2) "24"
["title"]=>
string(18) "网站故障报告"
["short_title"]=>
string(18) "网站故障报告"
["url"]=>
string(17) "article.php?id=24"
}
[16]=>
array(4) {
["article_id"]=>
string(2) "25"
["title"]=>
string(13) "选机咨询 "
["short_title"]=>
string(12) "选机咨询"
["url"]=>
string(17) "article.php?id=25"
}
[17]=>
array(4) {
["article_id"]=>
string(2) "26"
["title"]=>
string(16) "投诉与建议 "
["short_title"]=>
string(15) "投诉与建议"
["url"]=>
string(17) "article.php?id=26"
}
}
}
}
$navigator_list 导航 top-middle-bottom(系统设置-自定义导航)
Array
(
[top] => Array
(
[0] => Array
(
[name] => 查看购物车
[opennew] => 0
[url] => flow.php
[ctype] =>
[cid] => 0
)
[1] => Array
(
[name] => 选购中心
[opennew] => 0
[url] => pick_out.php
[ctype] =>
[cid] =>
)
[2] => Array
(
[name] => 标签云
[opennew] => 6
[url] => tag_cloud.php
[ctype] =>
[cid] =>
)
[3] => Array
(
[name] => 报价单
[opennew] => 0
[url] => quotation.php
[ctype] =>
[cid] =>
)
)
[middle] => Array
(
[0] => Array
(
[name] => GSM手机
[opennew] => 0
[url] => category.php?id=3
[ctype] => c
[cid] => 3
)
[1] => Array
(
[name] => 双模手机
[opennew] => 0
[url] => category.php?id=5
[ctype] => c
[cid] => 4
)
[2] => Array
(
[name] => 手机配件
[opennew] => 0
[url] => category.php?id=6
[ctype] => c
[cid] => 6
)
[3] => Array
(
[name] => 团购商品
[opennew] => 0
[url] => group_buy.php
[ctype] =>
[cid] => 0
)
[4] => Array
(
[name] => 优惠活动
[opennew] => 0
[url] => activity.php
[ctype] =>
[cid] =>
)
[5] => Array
(
[name] => 夺宝奇兵
[opennew] => 0
[url] => snatch.php
[ctype] =>
[cid] => 0
)
[6] => Array
(
[name] => 拍卖活动
[opennew] => 0
[url] => auction.php
[ctype] =>
[cid] =>
)
[7] => Array
(
[name] => 积分商城
[opennew] => 0
[url] => exchange.php
[ctype] =>
[cid] =>
)
[8] => Array
(
[name] => 留言板
[opennew] => 0
[url] => message.php
[ctype] =>
[cid] =>
)
[9] => Array
(
[name] => EC论坛
[opennew] => 1
[url] => http://bbs.ecshop.com/
[ctype] =>
[cid] => 0
)
)
[bottom] => Array
(
[0] => Array
(
[name] => 免责条款
[opennew] => 0
[url] => article.php?id=1
[ctype] =>
[cid] =>
)
[1] => Array
(
[name] => 隐私保护
[opennew] => 0
[url] => article.php?id=2
[ctype] =>
[cid] =>
)
[2] => Array
(
[name] => 咨询热点
[opennew] => 0
[url] => article.php?id=3
[ctype] =>
[cid] =>
)
[3] => Array
(
[name] => 联系我们
[opennew] => 0
[url] => article.php?id=4
[ctype] =>
[cid] =>
)
[4] => Array
(
[name] => 公司简介
[opennew] => 0
[url] => article.php?id=5
[ctype] =>
[cid] =>
)
[5] => Array
(
[name] => 批发方案
[opennew] => 0
[url] => wholesale.php
[ctype] =>
[cid] =>
)
[6] => Array
(
[name] => 配送方式
[opennew] => 0
[url] => myship.php
[ctype] =>
[cid] =>
)
)
[config] => Array
(
[index] => 1
)
)
ecshop--标签数组的更多相关文章
- ecshop标签大全 各个页面常用标签大全
先从index.php主页开始 页面关键字 {$keywords } 页面标题 {$page_title} 产品分类 父分类列表 {foreach from=$categories item=cat ...
- ecshop标签
页面标题 {$page_title}页面关键字 {$keywords} 产品分类 父分类列表 {foreach from=$cate ...
- ecshop标签大全
页面关键字:{$keywords} 页面标题:{$page_title} 产品分类:父分类列表 {foreach from=$categories item=cat } 父分类超链接 [u ...
- ecshop 输出数组
找到include/cls_template.php文件 找到get_val()函数,可以在大约629行加入 case 'print_r': $p = 'print_r(' . $p . ',true ...
- 返回标签数据示例 (PHP)
标签接口函数 获取标签数据 array uc_tag_get(string tagname [, array nums]) 函数参数 参数 含义 string tagname 标签名称 array n ...
- EcShop开发手册
Ecshop文件结构 ecshop文件架构说明 ECShop 结构图及各文件相应功能介绍 ECShop upload 的目录 ┣ activity.php 活动列表 ┣ affiche.php 广告处 ...
- ecshop 的一些常用操作
ecshop商品详细页显示已售商品数量和评论数量 ecshop增加已售数量和评论数量很简单,步骤如下,原创文章转载请指明同盟者网络<http://blog.sina.com.cn/tomener ...
- 【thinkphp5】【THINKCMG】标签部分开发(一)
最近打算开一个自己的CMS后台轮子,框架选择了thinkphp 5 (别问我为什么选择这个框架)然后想边开发边记录一下,方便自己方便他人 进入正题 1.数据库设计 一共三张表 post文章表这个就不贴 ...
- 关于tag标签系统的实现
实验室的项目,需要做对用户发布的主题进行打标签的功能,纠结甚久,实现思路如下: 一.数据库表的设计 1.tag表 create table qa_tag ( tag_id int primary ke ...
- ecshop中$user对象
ecshop中$user对象 2011-10-01 18:41:23| 分类: ECSHOP | 标签:ecshop $user 对象 |举报|字号 订阅 http://blog.163.c ...
随机推荐
- 【转载】GDI 映像方式 之 SetViewportExtEx 与 SetWindowExtEx 解析
所谓视口代表设备,比如屏幕. 窗口代表我们的思维. 我们对windows说在(5,6)处画个点(调用GDI函数).windows认为是在我们的思维的(5,6)处画了个点.(也就是说5,6是逻辑坐标,G ...
- ubuntu11.10server 安装redis-2.6.7
1.下载安装: 1 2 3 4 5 6 cd /tmp wget http://redis.googlecode.com/files/redis-2.6.7.tar.gz tar -zxf redis ...
- 转:loadrunner经典面试题
在LoadRunner中为什么要设置思考时间和pacing 答: 录制时记录的是客户端和服务端的交互,如果要精确模拟 用户的行为,那么客户操作客户端时花费了很多时间要怎么模拟呢?录入 填写提交的内容, ...
- SVM支持向量机算法
支持向量机(SVM)是另一类的学习系统,其众多的优点使得他成为最流行的算法之一.其不仅有扎实的理论基础,而且在许多应用领域比大多数其他算法更准确. 1.线性支持向量机:可分情况 根据公式(1)< ...
- jquery指定div右键事件
<div class="nav_list_item">需要淡季右键的div</div> 我们要 给这个div注册鼠标右键的时候需要先禁用该div的网页右键菜 ...
- h5移动端设计页面
@京东设计中心 :去年JDC出了不少优秀的武媚娘…不,H5呢,大家都很拼,同时当然也积累了一些经验和教训,今天结合咱们的实战案例,从字体,排版,动效,音效,适配性,想法这几个方面好好聊一聊关于H5的设 ...
- php使用curl提交xml数据
$xml_data ='<xml> <return_code><![CDATA[SUCCESS]]></return_code> <return_ ...
- Eclipse中Ctrl+Alt+Down和Ctrl+Alt+Up不起作用
不起作用是因为跟因特尔的快捷键冲突. 1.在桌面上右键,选择“图形属性......” 2.选择“选项和支持” 3.更改快捷键. 注意:单纯禁用英特尔的快捷键可能不起作用.
- 励研(LY) CRC16算法
/**************************************************** ** 函数名称: CalculateCRC16 ** 输 入: buf 要校验的数据; le ...
- android脚步---如何看log之程序停止运行,和UI线程和非UI线程之间切换
经常运行eclipse时,烧到手机出现,“停止运行”,这时候得通过logcat查log了.一般这种情况属于FATAL EXCEPTION,所以检索FATAL 或者 EXCEPTION,然后往下看几行 ...