`; // Setup tagline freeItemTagline.style.display = "flex"; const spanEl = document.createElement('span'); spanEl.innerHTML = itemHandle ? itemTagline + itemDetailsLink : itemTagline; freeItemTagline.appendChild(spanEl); } if(itemHandle){ // console.log('we have item handle') // perform ajax product api call to get image and url jQuery.getJSON(`/products/${itemHandle}.js`, function(product) { //console.log(product); //Define the inner HTML for the popup div. This includes title, desc, gift image, image link, and prices. popupContent.innerHTML = ` FREE ${product.title}