Subversion Repositories SmartDukaan

Rev

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

Rev 16495 Rev 16531
Line 74... Line 74...
74
	};		
74
	};		
75
	function getCouponText(coupon){
75
	function getCouponText(coupon){
76
		return "<span class='red'>"+coupon+"</span>";
76
		return "<span class='red'>"+coupon+"</span>";
77
	};
77
	};
78
	function getGrossPriceText(gross_price,available_price){
78
	function getGrossPriceText(gross_price,available_price){
79
		return "Paytm cashback - "+(gross_price-available_price)+"<br>Net Price - <span class='red'>"+available_price+"</span>"
79
		return "Paytm cashback - "+(gross_price-available_price)+"<br>Net Price = <span class='red'>"+available_price+"</span>"
80
	}
80
	}
81
	function fetchLivePrice(obj){		
81
	function fetchLivePrice(obj){		
82
		ga('send', 'event', 'liveprice', 'fetch',$('#bestpriceproductname').html());
82
		ga('send', 'event', 'liveprice', 'fetch',$('#bestpriceproductname').html());
83
		var properties = {};
83
		var properties = {};
84
		properties.bundle_id = String($(obj).data('bundle_id'));
84
		properties.bundle_id = String($(obj).data('bundle_id'));