登陆跳转回原来页面
<?php if(!Mage::getSingleton('customer/session')->getCustomerId()): ?>
<?php
// 登录后跳转回当前页
Mage::getSingleton('customer/session')->setBeforeAuthUrl(Mage::helper('core/url')->getCurrentUrl());
?>
<div>参加团购需要首先登录哦。点击 <a href="/customer/account/login/" class="light-blue">马上登录</a></div>
<?php else: ?>