Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
95dd50baafef6cc8a8251c008d1e2da3ff198a83
1 parent
493af994
优惠券名称字段
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
template/m.yohobuy.com/actions/cart/index/order-ensure.phtml
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
template/m.yohobuy.com/actions/cart/index/order-ensure.phtml
View file @
95dd50b
...
...
@@ -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 @
95dd50b
...
...
@@ -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
;
}
...
...
Please
register
or
login
to post a comment