$.magnificPopup.open({ items: { src: '.js__shopping-cart', type: 'inline' }, mainClass: 'mfp-fade', removalDelay: 300, fixedContentPos: true, modal:true }); $('.mfp-content').html("

Add To Cart<\/h2><\/svg><\/a><\/header>