Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Email Patches
Plain Diff
Browse Files
Authored by
zhangxiaoru
9 years ago
Commit
b595a4374c33284695771400a65404694f3f7f96
1 parent
7a262fc9
order
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 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 @
b595a43
...
...
@@ -83,7 +83,7 @@
{
{#each
goods
}
}
{
{>
me/order/good
}
}
{
{/each
}
}
<div
class=
"goods-num"
>共
{
{num
}
}件商品
合计<span>
¥
{
{goodsPrice
}
}</span></div>
<div
class=
"goods-num"
>共
{
{num
}
}件商品
合计<span>
{
{goodsPrice
}
}</span></div>
</section>
<section
class=
"block"
>
...
...
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
b595a43
...
...
@@ -574,7 +574,7 @@ class CartModel
// 订单商品数
$result
[
'num'
]
=
$payReturn
[
'shopping_cart_data'
][
'selected_goods_count'
];
// 商品金额
//
$result['goodsPrice'] = $payReturn['shopping_cart_data']['str_order_amount'];
$result
[
'goodsPrice'
]
=
$payReturn
[
'shopping_cart_data'
][
'str_order_amount'
];
//有货币
if
((
int
)
$payReturn
[
'shopping_cart_data'
][
'gain_yoho_coin'
]
>
0
)
{
...
...
Please
register
or
login
to post a comment