Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
Rock Zhang
2015-12-18 18:27:33 +0800
Commit
1794aef33284c3ad48fa618d97e798840d269bae
1 parent
7f0b2b9e
修复购物车列表页底部活动参与不显示的问题
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
template/m.yohobuy.com/partials/cart/cart-content.phtml
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
template/m.yohobuy.com/partials/cart/cart-content.phtml
View file @
1794aef
...
...
@@ -33,14 +33,16 @@
{{/if}}
</ul>
{{/if}}
{{# promotionInfo}}
<div class="activity">
<h1>
以
参与活动</h1>
<h1>
已
参与活动</h1>
<ul>
{{# promotionInfo}}
<li>{{name}}</li>
{{/ promotionInfo}}
<li>{{name}}</li>
</ul>
</div>
{{/ promotionInfo}}
<div class="price-compute">
<p>
<span>总价(¥{{price}})<i>-</i></span>
...
...
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
1794aef
...
...
@@ -789,8 +789,6 @@ class CartModel
$result
[
'promotionInfo'
][]
=
$info
;
}
$result
[
'promotionFormula'
]
=
$data
[
'shopping_cart_data'
][
'promotion_formula'
];
}
// 结算数据
...
...
Please
register
or
login
to post a comment