Ecshop 商品详情页面会员登录后显示相应等级价格

Goods.dwt:
<!–{if $smarty.session.user_id>0}–>
<!– {foreach from=$rank_prices item=rank_price key=key} 会员等级对应的价格–>
<!–{if $smarty.session.user_rank eq $user_rank}–>
<strong>{$rank_price.rank_name}:</strong><font>{$rank_price.price}</font><br />
<!–{/if}–>
<!–{/foreach}–>
<!–{/if}–>
后台: 会员管理—会员等级:将显示价格设置为不显示的状态。

Comments (3)

winston十月 22nd, 2010 at 6:10 下午

你好,我正在寻找如何在ecshop2.7.2中,新用户注册自动发放红包的功能,在官网论坛上没人理睬,如果可以的话,您能否给予一点帮助?感谢!

winston十月 22nd, 2010 at 6:12 下午

http://bbs.ecshop.com/thread-68913-1-1.html
这里的4楼给出了解决拌饭,但我按照他说的去做却没有成功。

admin十月 23rd, 2010 at 8:58 上午

这块我也没有做过,我想原理应该是在includes/lib_passport.php中register这个注册函数中注册成功后那个部分加入发放红包的代码,事先在后台添加一个红包类型。

Leave a comment

Your comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word