test.phtml
1.06 KB
<br/><br/>
<br/><br/>
商品原价格:<span id="totalSrcAmount"></span> <br/><br/>
参加的促销
<div id="commonGiftList"></div> <br/><br/>
参加的不送赠品的促销:
<div id="noGiftPromotions"></div> <br/><br/>
<br/>
最终价:<span id="totalFinalAmount"></span> <br/><br/>
<script type="text/javascript">
<!--
$(document).ready(function() {
});
PromotionUtil.cartId = 0;
PromotionUtil.activeCommodityPromotionList = <?php print $this->activeCommodityPromotionList; ?>;
PromotionUtil.activeMarketPromotionList = <?php print $this->activeMarketPromotionList ?>;
PromotionUtil.srcMainGoodsList = <?php print json_encode($this->common_goods_incart); ?>;
PromotionUtil.srcGiftGoodsList = <?php print json_encode($this->common_gift_goods_incart)?>;
PromotionUtil.vipCommonDiscount = <?php print $this->commonDiscount; ?>;
PromotionUtil.vipPromotionDiscount = <?php print $this->promotionDiscount; ?>;
PromotionUtil.curVipLevel = <?php print $this->curVipLevel; ?>;
PromotionUtil.showResultInCart();
cart.recommendsProduct('page=1');
//-->
</script>