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
Lynnic
9 years ago
Commit
5af5ecd18a111d77082923e563a70b3145b2436e
1 parent
17bdb136
当商品为赠品时footer显示非卖品按钮&修改购物车图标跳转链接 --code viewed by HongFei
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
template/m.yohobuy.com/actions/product/detail/index.phtml
template/m.yohobuy.com/actions/product/detail/index.phtml
View file @
5af5ecd
...
...
@@ -121,12 +121,20 @@
{
{#if
numInCart
}
}
<span
class=
"num-tag"
>
{
{numInCart
}
}</span>
{
{/if
}
}
<a
href=
"{{cartUrl}}"
class=
"num-incart iconfont"
>
62
c;</a>
{
{#if
goodsInstore
}
}
<a
id=
"addtoCart"
href=
"{{cartUrl}}"
class=
"addto-cart"
>加入购物车</a>
{
{else
}
}
<a
href=
"javascript:;"
id=
"addtoCart"
class=
"sold-out"
>已售罄</a>
<a
href=
"{{cartList}}"
class=
"num-incart iconfont"
>
62
c;</a>
{
{#if
addToCart
}
}
<a
href=
"{{cartUrl}}"
class=
"addto-cart"
>加入购物车</a>
{
{/if
}
}
{
{#if
soldOut
}
}
<a
href=
"javascript:;"
class=
"sold-out"
>已售罄</a>
{
{/if
}
}
{
{#if
notForSale
}
}
<a
href=
"javascript:;"
class=
"sold-out"
>非卖品</a>
{
{/if
}
}
<a
href=
"javascript:;"
id=
"likeBtn"
class=
"favorite iconfont {{#isCollect}}liked{{/isCollect}}"
>
605
;</a>
</div>
{
{/cartInfo
}
}
...
...
Please
register
or
login
to post a comment