摘要: //获取用户默认邮寄地址 public function productAddress(){ if (Mage::getSingleton('customer/session')->isLoggedIn()) { foreach(Mage::getSingleton('customer/sessio 阅读全文
posted @ 2017-04-01 14:54 思风雨 阅读(185) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> jQuery(document).scroll(function(){ var screens = jQuery(document).scrollTop(); if(screens >800){ jQuery('#xiangqingye 阅读全文
posted @ 2017-04-01 13:06 思风雨 阅读(224) 评论(0) 推荐(0) 编辑
摘要: <?php // 登录后跳转回当前页 Mage::getSingleton('customer/session')->setBeforeAuthUrl(Mage::helper('core/url')->getCurrentUrl()); ?> <div>参加团购需要首先登录哦。点击 <a href 阅读全文
posted @ 2017-04-01 13:02 思风雨 阅读(206) 评论(0) 推荐(0) 编辑
摘要: jQuery.ajax({ url: "<?php echo $drawLotteryAjaxUrl; ?>", data: { product_id: turnplate.productids[item-1], product_name: turnplate.productnames[item-1 阅读全文
posted @ 2017-04-01 12:49 思风雨 阅读(141) 评论(0) 推荐(0) 编辑