jQuery(function($){$('.ttip').tooltip();$('.price-variation').on('click',function(){var pid=$(this).data('product-id'),price;price=parseFloat($('#price-'+pid).html());$('.price-variation-'+pid).each(function(){if($(this).attr('checked')=='checked')
price+=parseFloat($(this).data('price'));});var pricehtml=" Add to Cart "+$('#total-price-'+pid).data('curr')+price+"