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
Rock Zhang
9 years ago
Commit
60bfe39268daf11989bacd682d25eac9c1735ca3
1 parent
67fdef2c
加价购商品可以勾选
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
library/Plugin/Helpers.php
template/m.yohobuy.com/partials/cart/cart-content.phtml
library/Plugin/Helpers.php
View file @
60bfe39
...
...
@@ -591,6 +591,7 @@ class Helpers
}
elseif
(
$value
[
'goods_type'
]
==
'gift'
&&
!
isset
(
$value
[
'isAdvanceBuy'
]))
{
$oneGoods
[
'isGift'
]
=
true
;
}
elseif
(
$value
[
'goods_type'
]
==
'price_gift'
)
{
$oneGoods
[
'showCheckbox'
]
=
true
;
$oneGoods
[
'isAdvanceBuy'
]
=
true
;
}
else
{
$oneGoods
[
'showCheckbox'
]
=
true
;
...
...
template/m.yohobuy.com/partials/cart/cart-content.phtml
View file @
60bfe39
...
...
@@ -13,7 +13,7 @@
<ul class="freebie-and-advance-buy">
{{# freebie}}
<li class="freebie">
<a href="/cart/index/gift?cartType=">
<a href="/cart/index/gift?cartType=
{{cartType}}
">
<span class="iconfont"></span>
赠品
<span class="count">{{count}}</span>
...
...
@@ -23,7 +23,7 @@
{{/ freebie}}
{{#if advanceBuy}}
<li class="advance-buy">
<a href="/cart/index/advanceBuy?cartType=">
<a href="/cart/index/advanceBuy?cartType=
{{cartType}}
">
<span class="iconfont"></span>
加价购
<span class="count">{{advanceBuyCount}}</span>
...
...
Please
register
or
login
to post a comment