Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
6301361272bb6a86e49d8a76a3e87a529ea3e57b
2 parents
8d5afcd8
6a2f57a0
Merge branch 'develop/wap' into beta/wap
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
template/m.yohobuy.com/actions/cart/index/index.phtml
yohobuy/m.yohobuy.com/application/models/Category/Class.php
template/m.yohobuy.com/actions/cart/index/index.phtml
View file @
6301361
...
...
@@ -46,7 +46,7 @@
<div
class=
"cart-content presell hide"
>
<p
class=
"presell-info"
>
<span
class=
"iconfont"
>
61
a;</span>
<span
class=
"txt"
>
预售商品全场包邮,到货后立即
发货</span>
<span
class=
"txt"
>
由于商品上市期不同,先到的将先
发货</span>
<span
class=
"txt"
>预售商品不参加活动,不可使用优惠券</span>
</p>
{
{>
cart/cart-content
}
}
...
...
yohobuy/m.yohobuy.com/application/models/Category/Class.php
View file @
6301361
...
...
@@ -126,6 +126,10 @@ class ClassModel
foreach
(
$data
as
$item
)
{
$id
=
$item
[
'category_id'
];
$result
[
'first'
][
$id
]
=
$item
[
'category_name'
];
if
(
!
isset
(
$item
[
'sub'
]))
{
continue
;
}
foreach
(
$item
[
'sub'
]
as
$sub
)
{
$id
=
$sub
[
'category_id'
];
$result
[
'second'
][
$id
]
=
$sub
[
'category_name'
];
...
...
Please
register
or
login
to post a comment