Subversion Repositories SmartDukaan

Rev

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

Rev 19328 Rev 19330
Line 216... Line 216...
216
                        
216
                        
217
                        if($(that).parent().data('storename') == "Saholic")
217
                        if($(that).parent().data('storename') == "Saholic")
218
                        {
218
                        {
219
                        	if(useroffertext != "")
219
                        	if(useroffertext != "")
220
                        	{
220
                        	{
221
                        		$(that).html(minprice).siblings('.userofferinlist').html('<div style="font-size:12px;color:maroon;"><a href='+apihost+'categories/target" style="color:maroon;"><span class="glyphicon glyphicon-tags"></span> <u>'+useroffertext+'</u></a></div>');
221
                        		$(that).html(minprice).siblings('.userofferinlist').html('<div style="font-size:12px;color:maroon;"><a href="'+apihost+'categories/target" style="color:maroon;"><span class="glyphicon glyphicon-tags"></span> <u>'+useroffertext+'</u></a></div>');
222
                        	}
222
                        	}
223
                        	if(saholic_cash !=""){
223
                        	if(saholic_cash !=""){
224
                        		$(that).html(minprice).siblings('.cashbackamount').html("<div>"+saholic_cash+"</div>");
224
                        		$(that).html(minprice).siblings('.cashbackamount').html("<div>"+saholic_cash+"</div>");
225
                        	} 
225
                        	} 
226
                            if (priceRange != "") {
226
                            if (priceRange != "") {
Line 254... Line 254...
254
                            if(typeof globalminsource!= "undefined") {
254
                            if(typeof globalminsource!= "undefined") {
255
                                if (globalminsource==4){
255
                                if (globalminsource==4){
256
//                                	$('#bestprice').html(globalminprice);
256
//                                	$('#bestprice').html(globalminprice);
257
                                	if(useroffertext != "")
257
                                	if(useroffertext != "")
258
                                	{
258
                                	{
259
                                		$('#useroffer').html('<div style="font-size:12px;color:maroon;"><a href='+apihost+'categories/target" style="color:maroon;"><span class="glyphicon glyphicon-tags"></span> <u>'+useroffertext+'</u></a></div>');
259
                                		$('#useroffer').html('<div style="font-size:12px;color:maroon;"><a href="'+apihost+'categories/target" style="color:maroon;"><span class="glyphicon glyphicon-tags"></span> <u>'+useroffertext+'</u></a></div>');
260
                                	}
260
                                	}
261
                                	
261
                                	
262
                                    if (priceRange != "") {
262
                                    if (priceRange != "") {
263
                                                $('#bestprice').html(priceRange);
263
                                                $('#bestprice').html(priceRange);
264
                                    }
264
                                    }
Line 266... Line 266...
266
                                    $('#beststorelink').attr('data-identifier', value);
266
                                    $('#beststorelink').attr('data-identifier', value);
267
                                    $('#beststorelink').attr('data-proid', globalminsku);
267
                                    $('#beststorelink').attr('data-proid', globalminsku);
268
                                } else {
268
                                } else {
269
                                    $('#beststorelink').removeAttr('data-identifier');
269
                                    $('#beststorelink').removeAttr('data-identifier');
270
                                    $('#beststorelink').removeAttr('data-proid');
270
                                    $('#beststorelink').removeAttr('data-proid');
-
 
271
                                    $('#useroffer').empty();
271
                                }                       
272
                                }                       
272
                            }
273
                            }
273
                        } 
274
                        } 
274
                    } else{
275
                    } else{
275
                        ga('send', 'event', 'liveprice', 'outofstock', $('#bestpriceproductname').html());
276
                        ga('send', 'event', 'liveprice', 'outofstock', $('#bestpriceproductname').html());