Subversion Repositories SmartDukaan

Rev

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

Rev 12626 Rev 12628
Line 394... Line 394...
394
			 		2 : 'amazon_logo.png',
394
			 		2 : 'amazon_logo.png',
395
			 		3 : 'snapdeal_logo.png'
395
			 		3 : 'snapdeal_logo.png'
396
			 	};
396
			 	};
397
			 	if(typeof exclusiveAffiliateItem != "undefined"){
397
			 	if(typeof exclusiveAffiliateItem != "undefined"){
398
					var innerhtml = '<div class="shipping1 left"><div style="background-color: #FAFAFA;padding:4px;font-size: 14px;">Available on '
398
					var innerhtml = '<div class="shipping1 left"><div style="background-color: #FAFAFA;padding:4px;font-size: 14px;">Available on '
399
						+ exclusiveAffiliateItem.affiliateName+'</div><div style="padding: 10px;background-color:#FFF;padding-left: 136px;background-image: url(\'/images/' + sellerImg[exclusiveAffiliateItem.affiliateId] + '\');background-repeat: no-repeat;background-size: 120px;color: #777777;font-size: 14px;">'
399
						+ exclusiveAffiliateItem.affiliateName+'</div><div style="padding: 10px;background-color:#FFF;padding-left: 136px;background-image: url(\'/unversioned/images/' + sellerImg[exclusiveAffiliateItem.affiliateId] + '\');background-repeat: no-repeat;background-size: 120px;color: #777777;font-size: 14px;">'
400
						+ (typeof exclusiveAffiliateItem.offerText=="undefined"?'':exclusiveAffiliateItem.offerText) + '</div></div>';
400
						+ (typeof exclusiveAffiliateItem.offerText=="undefined"?'':exclusiveAffiliateItem.offerText) + '</div></div>';
401
					$("#addToCart").attr("href", exclusiveAffiliateItem.affiliateUrl);	
401
					$("#addToCart").attr("href", exclusiveAffiliateItem.affiliateUrl);	
402
					$('div.shipping').hide();
402
					$('div.shipping').hide();
403
					$(innerhtml).insertAfter('div.shipping');
403
					$(innerhtml).insertAfter('div.shipping');
404
				}
404
				}