jQuery(function($){ $('[id*="price-item-click"]').click(function() { var selector = $(this).attr('id').replace('-item-click', ''); var $price = $('#' + selector); var sum = 0; $price.toggle(); $price.toggleClass('price-active'); $(this).toggleClass('price-item-active'); $('.price-active').each(function(){ sum += parseFloat($(this).text().replace(/\D/g,'')); }); if (sum > 0){ $("#total-price-cal").show(); $("#total-price-cal").text("$" + sum + "k"); } else { $("#total-price-cal").hide(); } }); });

For anyone getting started with email marketing.

  • Up to 500 Contacts
  • Add more anytime
  • Send up to 5,000 Emails/Month
  • Single Signup Form
  • Basic Image Storage
  • Unsubscribe Handling
  • Works with Facebook, Etsy & More
$11.99 / per month