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
毕凯
9 years ago
Commit
cb04ece32ad38eb9677319fd9aa79cd3897dea5e
1 parent
a3495896
修复预售商品或者普通商品又一个为0时 顶部栏不显示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
cb04ece
...
...
@@ -86,7 +86,9 @@ class CartModel
$result
[
'isEmptyCart'
]
=
true
;
break
;
}
if
(
$ordinaryCount
===
'0'
||
$advanceCount
===
'0'
)
{
$result
[
'cartNav'
]
=
false
;
}
/* 普通购物车 */
$result
[
'commonGoodsCount'
]
=
$ordinaryCount
;
$result
[
'commonCart'
]
=
self
::
procCartData
(
$cart
[
'ordinary_cart_data'
],
$onlyGift
,
$onlyAdvanceBuy
);
...
...
@@ -680,7 +682,7 @@ class CartModel
$oneColor
[
'colorNum'
]
=
$colorNum
;
$oneColor
[
'sizeNumStr'
]
=
rtrim
(
$sizeStorageStr
,
'/'
);
$colors
[]
=
$oneColor
;
// 缩略图
foreach
(
$val
[
'images_list'
]
as
$image
)
{
$thumbImageList
[]
=
array
(
...
...
Please
register
or
login
to post a comment