Subversion Repositories SmartDukaan

Rev

Rev 16467 | Rev 16485 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16467 Rev 16471
Line 56... Line 56...
56
	};		
56
	};		
57
	function getCouponText(coupon){
57
	function getCouponText(coupon){
58
		return "<span class='red'>"+coupon+"</span>";
58
		return "<span class='red'>"+coupon+"</span>";
59
	};
59
	};
60
	function getGrossPriceText(gross_price,available_price){
60
	function getGrossPriceText(gross_price,available_price){
61
		return "(<span class='red'>"+gross_price+"</span> - Paytm cashback <span class='red'>"+(gross_price-available_price)+"</span>)"
61
		return "("+gross_price+" - Paytm cashback "+(gross_price-available_price)+")"
62
	}
62
	}
63
	function fetchLivePrice(obj){		
63
	function fetchLivePrice(obj){		
64
		ga('send', 'event', 'liveprice', 'fetch',$('#bestpriceproductname').html());
64
		ga('send', 'event', 'liveprice', 'fetch',$('#bestpriceproductname').html());
65
		var properties = {};
65
		var properties = {};
66
		properties.bundle_id = String($(obj).data('bundle_id'));
66
		properties.bundle_id = String($(obj).data('bundle_id'));