Subversion Repositories SmartDukaan

Rev

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

Rev 4798 Rev 4874
Line 147... Line 147...
147
    		 data: "productid=" + seldata,
147
    		 data: "productid=" + seldata,
148
    		 success: function(msg){
148
    		 success: function(msg){
149
    			 if(msg==""){
149
    			 if(msg==""){
150
    				 window.location = "/cart";
150
    				 window.location = "/cart";
151
    			 }else{
151
    			 }else{
-
 
152
    				 $productDetail =  $("#productDetail");
-
 
153
    				 prodInfo = $productDetail.find("span.brand").html() + $productDetail.find("span.product-name");
152
    				 trackEventWithGA('Order', 'OOS Lightbox', seldata + '');
154
    				 trackEventWithGA('Order', 'OOS Lightbox', prodInfo);
153
    				 displayRelatedProducts(msg);
155
    				 displayRelatedProducts(msg);
154
    			 }
156
    			 }
155
    		 }
157
    		 }
156
    	 });
158
    	 });
157
     } else	{
159
     } else	{