Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
梁志锋
2015-12-20 17:28:08 +0800
Commit
afb7be400d5fe0fe0d87e8f5e3c5ae0d8635e330
2 parents
359b3874
95dd50ba
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
template/m.yohobuy.com/actions/cart/index/order-ensure.phtml
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
template/m.yohobuy.com/actions/cart/index/order-ensure.phtml
View file @
afb7be4
...
...
@@ -49,9 +49,9 @@
{
{count
}
}张可用
</span>
{
{#if
name
}
}
<span
class=
"used coupon-use"
data-name=
"{{name}}"
>
{
{name
}
}
{
{#if
couponName
}
}
<span
class=
"used coupon-use"
data-name=
"{{couponName}}"
>
{
{couponName
}
}
<i
class=
"iconfont"
>
614
;</i>
</span>
{
{^
}
}
...
...
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
afb7be4
...
...
@@ -488,7 +488,7 @@ class CartModel
// 优惠券数据
$coupons
=
array
();
!
empty
(
$orderCompute
[
'coupon_amount'
])
&&
$coupons
[
'
n
ame'
]
=
$orderInfo
[
'couponName'
];
!
empty
(
$orderCompute
[
'coupon_amount'
])
&&
$coupons
[
'
couponN
ame'
]
=
$orderInfo
[
'couponName'
];
$coupons
+=
self
::
getCouponList
(
$uid
,
true
);
$result
[
'coupon'
]
=
$coupons
;
}
...
...
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
afb7be4
...
...
@@ -271,7 +271,7 @@ class IndexController extends AbstractAction
$this
->
auditJumpLogin
();
$this
->
setTitle
(
'确认订单'
);
$this
->
setNavHeader
(
'确认订单'
,
true
,
false
);
// 不显示右上角home按钮
$this
->
setNavHeader
(
'确认订单'
,
Helpers
::
url
(
'/cart/index/index'
)
,
false
);
// 不显示右上角home按钮
// 购物车商品为空跳转到购物车页面
$shoppingKey
=
Helpers
::
getShoppingKeyByCookie
();
...
...
Please
register
or
login
to post a comment