Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
3afc2a5e7ad16cab02efd06bc19c638a6e3896d4
1 parent
fdb7f505
fixes bug refs YW-1217 footer link show error
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
template/m.yohobuy.com/actions/product/detail/index.phtml
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
template/m.yohobuy.com/actions/product/detail/index.phtml
View file @
3afc2a5
...
...
@@ -122,9 +122,9 @@
{
{#if
numInCart
}
}
<span
class=
"num-tag"
>
{
{numInCart
}
}</span>
{
{/if
}
}
<a
href=
"
/shoppingCart
"
class=
"num-incart iconfont"
>
62
c;</a>
<a
href=
"
{{cartUrl}}
"
class=
"num-incart iconfont"
>
62
c;</a>
{
{#if
goodsInstore
}
}
<a
href=
"
/shoppingCart
"
id=
"addtoCart"
class=
"addto-cart"
>加入购物车</a>
<a
href=
"
{{cartUrl}}
"
id=
"addtoCart"
class=
"addto-cart"
>加入购物车</a>
{
{else
}
}
<a
href=
"javascript:;"
class=
"sold-out"
>已售罄</a>
{
{/if
}
}
...
...
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
View file @
3afc2a5
...
...
@@ -199,6 +199,7 @@ class DetailModel
// 悬浮的购物车信息
$result
[
'cartInfo'
]
=
array
(
'cartUrl'
=>
Helpers
::
url
(
'/shoppingCart'
),
'numInCart'
=>
0
,
'goodsInstore'
=>
$baseInfo
[
'storage'
],
);
...
...
Please
register
or
login
to post a comment