saletargets.html
6.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{template 'common/header'}
{template 'common'}
<ul class="nav nav-tabs">
<li {if $op == 'salereport'}class="active"{/if}><a href="{php echo $this->createWebUrl('statistics', array('op' => 'salereport'))}">零售生意报告</a></li>
<li {if $op == 'orderstatistics' }class="active"{/if}><a href="{php echo $this->createWebUrl('statistics', array('op' => 'orderstatistics'))}">订单统计</a></li>
<li {if $op == 'saledetails' }class="active"{/if}><a href="{php echo $this->createWebUrl('statistics', array('op' => 'saledetails'))}">商品销售明细</a></li>
<li {if $op == 'saletargets' }class="active"{/if}><a href="{php echo $this->createWebUrl('statistics', array('op' => 'saletargets'))}">销售指标分析</a></li>
<li {if $op == 'productsaleranking' }class="active"{/if}><a href="{php echo $this->createWebUrl('statistics', array('op' => 'productsaleranking'))}">商品销售排行</a></li>
<li {if $op == 'productsalestatistics'}class="active"{/if}><a href="{php echo $this->createWebUrl('statistics', array('op' => 'productsalestatistics'))}">商品访问与购买比</a></li>
<li {if $op == 'memberranking' }class="active"{/if}><a href="{php echo $this->createWebUrl('statistics', array('op' => 'memberranking'))}">会员消费排行</a></li>
<li {if $op == 'fansrange' }class="active"{/if}><a href="{php echo $this->createWebUrl('statistics', array('op' => 'fansrange'))}">代理粉丝排行</a></li>
<li {if $op == 'userincreasestatistics'&&$usertype=='user' }class="active"{/if}><a href="{php echo $this->createWebUrl('statistics', array('op' => 'userincreasestatistics'))}">会员增长统计</a></li>
<li {if $op == 'userincreasestatistics'&&$usertype=='agent' }class="active"{/if}><a href="{php echo $this->createWebUrl('statistics', array('op' => 'userincreasestatistics','usertype'=>'agent'))}">代理增长统计</a></li>
</ul>
<div class="main">
<form action="./index.php" method="get" class="form-horizontal" role="form" id="form1">
<input type="hidden" name="c" value="site" />
<input type="hidden" name="a" value="entry" />
<input type="hidden" name="m" value="wwx_fxxt" />
<input type="hidden" name="do" value="statistics" />
<input type="hidden" name="op" value="saletargets" />
<input name="token" type="hidden" value="{$_W['token']}" />
<div class="alert alert-info">
<i class="icon-lightbulb"></i>查询网店的销售指标(注:其中订单数指完成的订单数;订单总金额指完成的订单总金额。)
</div>
<div class="panel panel-default">
<div class="panel-heading">销售指标分析</div>
<div class="panel-body">
<h4 class="sub-title">平均每位客户订单金额</h4>
<div class="form-group">
<table class="table table-hover">
<thead class="navbar-inner">
<tr>
<th class="row-hover" style="width:200px">订单总金额</th>
<th class="row-hover" style="width:200px">总会员数</th>
<th class="row-hover" style="width:200px">平均每位客户订单金额</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">{$allorderprice}</td>
<td style="text-align: left;width:200px">{$allmembercount}</td>
<td style="text-align: left;">{php echo round(($allorderprice/($allmembercount==0?1:$allmembercount)),2);}%</td>
</tr>
</tbody>
</table>
{$pager}
</div>
<h4 class="sub-title">平均每次访问订单金额</h4>
<div class="form-group">
<table class="table table-hover">
<thead class="navbar-inner">
<tr>
<th class="row-hover" style="width:200px">订单总金额</th>
<th class="row-hover" style="width:200px">总访问次数</th>
<th class="row-hover" style="width:200px">平均每次访问订单金额</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">{$allorderprice}</td>
<td style="text-align: left;width:200px">{$allorderviewcount}</td>
<td style="text-align: left;">{php echo round(($allorderprice/($allorderviewcount==0?1:$allorderviewcount)),2);}%</td>
</tr>
</tbody>
</table>
{$pager}
</div>
<h4 class="sub-title">订单转化率</h4>
<div class="form-group">
<table class="table table-hover">
<thead class="navbar-inner">
<tr>
<th class="row-hover" style="width:200px">总订单数</th>
<th class="row-hover" style="width:200px">总访问次数</th>
<th class="row-hover" style="width:200px">订单转化率</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">{$allordercount}</td>
<td style="text-align: left;width:200px">{$allorderviewcount}</td>
<td style="text-align: left;">{php echo round(($allordercount/($allmembercount==0?1:$allmembercount))*100,2);}%</td>
</tr>
</tbody>
</table>
{$pager}
</div>
<h4 class="sub-title">注册会员购买率</h4>
<div class="form-group">
<table class="table table-hover">
<thead class="navbar-inner">
<tr>
<th class="row-hover" style="width:200px">有过订单的会员</th>
<th class="row-hover" style="width:200px">总会员数</th>
<th class="row-hover" style="width:200px">注册会员购买率</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;" >{$haveordermembercount}</td>
<td style="text-align: left;width:200px">{$allmembercount}</td>
<td style="text-align: left;" >{php echo round(($haveordermembercount/($allmembercount==0?1:$allmembercount))*100,2);}%</td>
</tr>
</tbody>
</table>
{$pager}
</div>
<h4 class="sub-title">平均会员订单量</h4>
<div class="form-group">
<table class="table table-hover">
<thead class="navbar-inner">
<tr>
<th class="row-hover" style="width:200px">总订单数</th>
<th class="row-hover" style="width:200px">总会员数</th>
<th class="row-hover" style="width:200px">平均会员订单量</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">{$allordercount}</td>
<td style="text-align: left;width:200px">{$allmembercount}</td>
<td style="text-align: left;">{php echo round(($allordercount/($allmembercount==0?1:$allmembercount))*100,2);}%</td>
</tr>
</tbody>
</table>
{$pager}
</div>
</div>
</div>
</form>
</div>
{template 'common/footer'}