如何设置会员登陆才能查看批发价!等等高手求助!!

2016-07-07 16:14 来源:www.chinab4c.com 作者:ecshop专家

如何设置会员登陆才能查看批发价!等等高手求助!!

我想设置成,不是注册会员不能在首页查看批发价,只显示‘会员登陆’

<!-- #BeginLibraryItem "/library/recommend_best.lbi" -->
<!-- {if $best_goods}-->
<div class="title-recommend"><a href="../search.php?intro=best"><img src="../images/recommend_best.gif" width="143" height="25" /></a></div>
<div class="goods-recommend">
<!--{foreach from=$best_goods item=goods}-->
<li><A href="{$goods.url}"><img src="{$goods.thumb}" alt="{$goods.name|escape:html}" width="160" height="120" border="0" class="thumb" /></A><br />
{$goods.short_style_name}<br />
<!-- {if $goods.promote_price neq ""} -->
<span class="goods-price"><strong>促销价:{$goods.promote_price}</strong></span>
<!-- {else}-->
<span class="goods-price">批发价:{$goods.shop_price}</span>
<!--{/if}-->

</li>
<!--{/foreach}-->
</div>
<div><br style="clear:both"/></div>
<!-- {/if} -->
<!-- #EndLibraryItem -->

这是首页的代码,不知道如何改,请大家帮忙!

回答:
你的批发价格是本店价格吗?
ec首页里面的本店价格就是会员价格。