Featured Flavors
Holiday Cookie Popcorn
Drizzled Butter Toffee Almond Pretzel Popcorn
Cookies & Creme Popcorn
Salted Caramel Bourbon Popcorn
Chicken & Waffles Popcorn
Email Sign-up Exclusive offers, sneak previews and more!
Have questions? You can always call us at 1-888-216-0235
100% SMILE GUARANTEE - OUR POPCORN PROMISE
We stand behind every delicious gift we sell. You and your gift recipients
will be absolutely delighted - we guarantee it .
The Popcorn Factory guarantees your complete satisfaction. If for any reason
you are dissatisfied, please call and we will assist you with a prompt exchange,
refund or credit.
Gourmet Popcorn Our happy band of popcorn poppers has been delighting people with gourmet popcorn and delicious snacks and gifts since 1979. Whether you're shopping for family, friends, teachers or business associates, The Popcorn Factory® has great gourmet popcorn gift ideas for every occasion: birthday popcorn, gift baskets, graduation popcorn, college gifts, student care packages, movie popcorn or game night popcorn, kids pop corn gifts, popcorn balls to eat and decorate, corporate parties, business events, special times with loved ones and every holiday under the sun. We even offer sugar-free popcorn, too!
The Popcorn Factory specializes in fresh-popped popcorn in a variety of exclusively designed tins and packaging. Our gourmet popcorn is always popped and packed fresh and made with high quality ingredients. We start with grown-in-the-USA corn kernels and air pop it. We then infuse our popcorn with great taste and flavor, including real butter, cheddar and other cheeses and 100% corn oil. There is also our sweet, secret-recipe Caramel popcorn that is a signature gourmet popcorn flavor to The Popcorn Factory. Our Caramel popcorn is tops and pops all other caramel popcorn out of the running! Made from a secret-recipe including the freshest ingredients, our Caramel popcorn will keep you coming back for more! Trust us; you've never had Caramel popcorn this good before. Other signature gourmet popcorn flavors include our Almond Pecan Corn, Jalapeño, Kettle corn, Buffalo Ranch, White Cheddar, Cinnamon, Caramel Apple and a variety of flavors that include chocolate such as Drizzled Caramel, S'Mores Corn, Dark Chocolate and Sea Salt and more! We are always coming up with new gourmet pop corn flavors to enjoy! Many of our sweet seasonal gourmet popcorn flavors come from the same formula as our secret recipe caramel popcorn, so it's always guaranteed to be great. We have also tried out tons of gourmet kettle corn flavors like cranberry kettle corn, chocolate kettle corn, banana split kettle corn, key lime kettle corn, peppermint kettle corn, pink mixed berry kettle corn, and many more exciting gourmet popcorn flavors. They are always fun to create even if we haven't gotten to release them yet.
At The Popcorn Factory, we pride ourselves on packing fresh gourmet pop corn and shipping each order on time. You will always receive your favorite gourmet popcorn treats like our signature caramel popcorn, kettle corn, popcorn balls, or any number of our fun college gifts, fresh as the minute we popped them. Simply search the pages on this site to find more information on our gourmet popcorn and to shop our full list of featured items, including top-selling pop corn favorites, ideal for sharing, like our popular 3-Flavor Popcorn Tin mix with our secret-recipe caramel popcorn, perfect for any college gift or family night. Or try any of our popcorn gift baskets with many of our other sweet treats inside.
Customer service is very important to us and we stand behind every delicious gourmet popcorn gift we sell with our Popcorn Promise: both you and your recipients must be absolutely delighted-we guarantee it! If you ever have a question, email our popcorn experts at or call . We welcome your comments!
So, if you're looking to buy extra-special gifts that people will love, you're just a few clicks away. We offer an outstanding selection of popcorn baskets, gourmet popcorn college gifts, gourmet popcorn towers, gourmet popcorn gift boxes and popcorn tins-many of our fun designs can be customized with your personal message, photo or gift tag. Delicious, people-pleasing food, candy and gifts from The Popcorn Factory make the perfect gift for anyone, for any reason and at any price. There's nothing more thrilling than opening the door to your home to find a gourmet popcorn gift created by The Popcorn Factory. It's no surprise we've been the popcorn authority for more than 30 years!
var getCookie = getCookie || function (cname) {
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1);
if (c.indexOf(name) == 0) return c.substring(name.length, c.length);
}
return '';
};
var setCookie = setCookie || function (name, value, days) {
var expires = "";
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + "=" + (value || "") + expires + "; path=/";
};
var moovCookieLookup = {"b6015279-bd8b-4ced-9d35-1a060be113f2":"default"};
var mwPageData; // this will be used by utag.js
var moovMode = 'default';
var moovCookie = getCookie('moov_') || '';
if (moovCookie) {
moovMode = moovCookieLookup[moovCookie];
}
if (moovMode && document.querySelector('body').getAttribute('mw-build-version')) {
moovMode = moovMode + '-' + document.querySelector('body').getAttribute('mw-build-version');
}
if (document.querySelector('body').classList.contains('mw-error-500')) {
moovMode = 'cookieError';
}
mwPageData = { 'moovwebABTestDim' : moovMode };
var utag_data = {
"brand_current": "TPF",
"brand_entering": ["1001"],
"cellid": "WW45",
"country_code": "US",
"page_language": "en",
"page_name": "Homepage",
"page_type": "homepage"
};
function setUpSEOUrlForHomeColProdPage(o){for(var i=document.cookie.split(";"),e=(window.location.hostname,0);e
var partnerCookie = getCookie("ADV_ATTR_COOKIE");
if(partnerCookie == 'undefined' || partnerCookie == null || partnerCookie == "" || partnerCookie == "defaultPartner")
{
var partnerImage = getCookie("partnerbanner");
var bannerCookie = getCookie("FuneralHomeBannerContext");
if(bannerCookie == 'true')
{
$("div#FuneralBanner").show();
}
else if(partnerImage != undefined && partnerImage != null && partnerImage != "")
{
$("div#eyebrow img").attr("src","//cdn2.1800flowers.com/wcsstore/Flowers/images/banners/"+partnerImage+"");
$("div#eyebrow").show();
}
}
(function(a,b,c,d){
a='//tags.tiqcdn.com/utag/1800flowers/ww45/prod/utag.js';
b=document;c='script';d=b.createElement(c);d.src=a;d.type='text/java'+c;d.async=true;
a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a);
})();
window.origWindowName = window.name;
$(document).ready(function() {
$("#flexForm .header span").text("Valentine's Delivery Options");
});
$(document).ready(function() {
// GA Tracking
$('.UsableNetAssistive').on('click', function() {
var usableNetGaAction;
if ($(this).text().trim() === 'Enable Accessibility') {
usableNetGaAction = 'Enable';
} else if ($(this).text().trim() === 'Disable Accessibility') {
usableNetGaAction = 'Disable';
} else {
return console.log('Couldnt set action...');
}
//
ga('fd_mbp.send', 'event', 'UsableNet', usableNetGaAction, utag_data.page_type);
});
function fdConsoleLog(msg) {
if(console && console.log && (typeof console.log == 'function')) {
console.log(msg);
}
}
var showSignInWidgetForMs = 0;
var showNewSignInWidget = 'N';
try {
showNewSignInWidget = 'N';
showSignInWidgetForMs = '5000';
showSignInWidgetForMs = parseInt(showSignInWidgetForMs);
if( ! showNewSignInWidget || ( showNewSignInWidget != 'Y' && showNewSignInWidget != 'y' )){
showSignInWidgetForMs = 0;
}
} catch(err) {
fdConsoleLog('Exceptpion occured while showing new signin widget:' + err);
}
try{
if (document.addEventListener)
document.addEventListener("DOMContentLoaded", function() {
if (/iPad/i.test(navigator.userAgent))
$("body").addClass("ipad")
}, false);
}
catch (e){}
MainJS.HomePageURL = 'TopCategoriesDisplay?storeId=22051&catalogId=17802&langId=-1';
MainJS.pageIdentifier = '';
MainJS.FDFaceBookLogon = 'FDFaceBookLogon?langId=-1&storeId=22051&catalogId=17802';
MainJS.isMDMAuthEnabled = 'Y';
MainJS.isSocialABTestingEnabled = 'Y';
if(utag_data.brand_current == "TPF" || utag_data.brand_current == "CCO" || utag_data.brand_current == "18B" || utag_data.brand_current == "SCH") {
jQuery(document).on('click', '.ShippingAddress img', function() {
var phoneTrim = jQuery('#saveAddress input#WC_ShoppingCartAddressEntryForm_FormInput_phone1_1').val();
var trimphone = phoneTrim.trim()
jQuery('#saveAddress input#WC_ShoppingCartAddressEntryForm_FormInput_phone1_1').val(trimphone);
});
if ($('#EXP-BillingColumn').length === 1) {
console.log('express checkout');
if ($("#EXP-BillingColumn #exp-deliveryDateSecId .n-textfieldDelivery").is(":visible")) {
$("#EXP-BillingColumn #exp-deliveryDateSecId .BP-Deliveryhdr").css({
"width": "auto",
"background-color": "#FFF",
"padding": "0",
"margin": "20px 20px 0 20px",
"border": "none"
});
}
$("#EXP-BillingColumn .bubble").each(function() {
if ($(this).text() === "Promotion is successfully applied to the order.") {
$(this).addClass("successful");
}
});
exp_check = {
responsive: function() {
if ($('.BP-ShippingAddresses').length === 1) {
$(".BP-ShippingAddresses").insertBefore($("#BPC-ShippingAddresses"));
if ($("#n-chkPlaceOrderContainer").hasClass("exp-checkout")) {
$("#passRegularRPBtm").css("display", "none");
}
$('Open Address Book ').insertBefore('.BP-ShippingAddresses')
$(".address_button").click(function() {
if ($(this).text() == "Open Address Book") {
$(this).text("Close Address Book");
$(this).next(".BP-ShippingAddresses").show()
} else {
$(this).text("Open Address Book");
$(this).next(".BP-ShippingAddresses").hide()
}
});
}
$(function() {
var $rrordsum = $("#EXP-BillingColumn #exp-summaryColumn"),
$window = $(window),
offset = $rrordsum.offset(),
topPadding = 20;
//$("#EXP-BillingColumn #exp-summaryColumn").css("margin-top",$cartHeightInt)
setTimeout(function() {
$cartHeightInt = $('.active .exp-cart-item-wrap').height();
$("#EXP-BillingColumn #exp-summaryColumn").css("margin-top", $cartHeightInt)
}, 1000)
$window.scroll(function() {
$cartHeight = $('.active .exp-cart-item-wrap').height();
$rrordsum.css('top', $cartHeight);
if ($('.tablet-set').length == 0) {
$("#EXP-BillingColumn #exp-summaryColumn").addClass('tablet-set')
}
if ($window.scrollTop() > offset.top + ($cartHeight - topPadding)) {
$rrordsum.stop().animate({
marginTop: $window.scrollTop() - offset.top + topPadding
});
} else {
$rrordsum.stop().animate({
marginTop: 0 + $cartHeight
});
}
});
});
},
non_responsive: function() {
$("#BP-ShippingAddresses").insertBefore($("#BPC-ShippingAddresses"));
if ($("#n-chkPlaceOrderContainer").hasClass("exp-checkout")) {
$("#passRegularRPBtm").css("display", "none");
}
$(function() {
var $rrordsum = $("#EXP-BillingColumn #exp-summaryColumn"),
$window = $(window),
offset = $rrordsum.offset(),
topPadding = 20;
$window.scroll(function() {
if ($window.scrollTop() > offset.top) {
$rrordsum.stop().animate({
marginTop: $window.scrollTop() - offset.top + topPadding
});
} else {
$rrordsum.stop().animate({
marginTop: 0
});
}
});
});
}
}
$('meta[name="viewport"]').length ? exp_check.responsive() : exp_check.non_responsive();
}
}
googleSignInDataJSON = new Object();
googleSignInDataJSON.googleSigInEnabled = 'Y';
googleSignInDataJSON.gplusClientId = '420182500441-m0t5ei6no0tp9javq3vkjp9lgcvuj28p.apps.googleusercontent.com';
googleSignInDataJSON.gplusstoreId = '22051';
googleSignInDataJSON.gpluscatId = '17802';
window.trackOrderSwitch = 'y';
window.switchForFBConnect = 'Y';
window.newSignInWidget = 'N';
window.authDebug = 'N';
showAndHideGlobalHeaderEspot();
window.mmoLinkEnabled = 'N';
$(document).ready(function () {
if ($('#fhFriendsEnabled').val() == 'N') {
$('#unRegFreshRewards').hide();
$('#regFreshRewards').hide();
}
}); getUser();
$("#ahdForgotPass").on("click", function (e) {
e.preventDefault();
forgotPassword();
});
MainJS.HeaderUrlJSON = new Object();
MainJS.HeaderUrlJSON.SignInSrc="//cdn1.stockyards.com/wcsstore/StockYards/images/btn_signin_dropdown.png";
MainJS.HeaderUrlJSON.registerURL='/AjaxUserRegistrationForm?new=Y&catalogId=17802&langId=-1&storeId=22051';
MainJS.HeaderUrlJSON.myAccountURL = '/AjaxLogonForm?MyAccount=Y&catalogId=17802&langId=-1&storeId=22051';
MainJS.HeaderUrlJSON.trackOrderURL = '/OrderTrackingLogonView?catalogId=17802&langId=-1&storeId=22051';
MainJS.HeaderUrlJSON.giftHistoryURL = '/AjaxLogonForm?fromLink=giftHistory&catalogId=17802&langId=-1&isGiftHistory=Y&storeId=22051';
MainJS.HeaderUrlJSON.AddressBookViewURL = '/AjaxLogonForm?isAddressBook=Y&catalogId=17802&langId=-1&storeId=22051';
MainJS.HeaderUrlJSON.myAccountFreshRewardsURL = '/AjaxLogonForm?isFreshRewards=Y&catalogId=17802&langId=-1&storeId=22051';
MainJS.HeaderUrlJSON.myPassportURL = '/AjaxLogonForm?MyAccount=Y&catalogId=17802&isPrimePassport=Y&langId=-1&storeId=22051';
MainJS.HeaderUrlJSON.trackOrderURLReg = '/OrderTrackingSearch?userAction=OrderTrackingByEmail&catalogId=17802&langId=-1&storeId=22051';
MainJS.HeaderUrlJSON.reminderEnabled = 'N';
MainJS.HeaderUrlJSON.ReminderViewURL = '';
MainJS.HeaderUrlJSON.LogonURL = 'https://m.www.stockyards.com/webapp/wcs/stores/servlet/LogonForm?langId=-1&storeId=22051&catalogId=17802';
MainJS.HeaderUrlJSON.SEOHomePageUrl ='//m.www.stockyards.com';
MainJS.HeaderUrlJSON.passportLogonURL = '/passport-popcorn?isPrimePassportHomePage=Yes';
MainJS.HeaderUrlJSON.AjaxLogonURL = 'https://m.www.stockyards.com/webapp/wcs/stores/servlet/AjaxLogon?langId=-1&storeId=22051&catalogId=17802';
MainJS.HeaderUrlJSON.OrderItemMoveURL = '/webapp/wcs/stores/servlet/OrderItemMove?langId=-1&storeId=22051&catalogId=17802';
MainJS.HeaderUrlJSON.ShowGiftHistoryURL = '/ShowGiftHistory?catalogId=17802&langId=-1&storeId=22051';
//MainJS.HeaderUrlJSON.trackOrderURL = '/OrderTrackingLogonView?catalogId=17802&langId=-1&storeId=22051';
//MainJS.HeaderUrlJSON.trackOrderURLReg ='/OrderTrackingSearch?userAction=OrderTrackingByEmail&catalogId=17802&langId=-1&storeId=22051';
var silentWebAuth = new auth0.WebAuth({
domain: 'login.celebrations.com',
clientID: 'RpN3oTBS3SxuHGIrGVobR9qzX8134sdb',
responseType: 'id_token token',
audience: 'https://celebrations-prod.auth0.com/api/v2/',
scope: 'openid email profile',
redirectUri: location.protocol+"//"+window.location.hostname+"/webapp/wcs/stores/servlet/"+'SignOn?langId=-1&storeId=22051&catalogId=17802&URL=%2fTopCategoriesDisplay%3fcatalogId%3d17802%26langId%3d-1%26storeId%3d22051',
prompt: 'none'
});
var showSpinner = 'true';
if(typeof showSpinner == 'string' && showSpinner == 'true') {
showSpinner = true;
} else {
showSpinner = false;
}
var crossDomainSilentAuthEnabled = 'true';
if(typeof crossDomainSilentAuthEnabled == 'string' && crossDomainSilentAuthEnabled == 'true') {
crossDomainSilentAuthEnabled = true;
} else {
crossDomainSilentAuthEnabled = false;
}
if(typeof RememberMe != "undefined" && RememberMe.isKeepMeSign() && RememberMe.isRememberedUser()) {
$(function(){
if(showSpinner) {
showSilentAuthSpinner(22051);
}
silentWebAuth.checkSession({}, function(err, result) {
if (err) {
fdConsoleLog("silentAuth checksession err::" + err.error);
if(showSpinner) {
hideSilentAuthSpinner();
}
} else if(result != null) {
silentAuthLogin(result.accessToken, '/AjaxAuth0SignOn?catalogId=17802&langId=-1&storeId=22051&silentAuth=Y&URL=%2FTopCategoriesDisplay%3FcatalogId%3D17802%26langId%3D-1%26storeId%3D22051', showSpinner);
RememberMe.isSilentAuthSuccessful = true;
}
});
});
} else if (crossDomainSilentAuthEnabled && typeof RememberMe != "undefined" && RememberMe.isGuestUser() && ! RememberMe.hasSilentAuthFailedBefore()) {
$(function(){
silentWebAuth.checkSession({}, function(err, result) {
if (err) {
fdConsoleLog("silentAuth checksession err::" + err.error);
RememberMe.setSilentAuthFailed();
} else if(result != null) {
var keepMeSignFromToken = false;
if(showSpinner && RememberMe.isKeepMeSignInToken(result.idToken)) {
keepMeSignFromToken = true;
showSilentAuthSpinner(22051);
}
silentAuthLogin(result.accessToken, '/AjaxAuth0SignOn?catalogId=17802&langId=-1&storeId=22051&silentAuth=Y&URL=%2FTopCategoriesDisplay%3FcatalogId%3D17802%26langId%3D-1%26storeId%3D22051', (showSpinner && keepMeSignFromToken));
RememberMe.isSilentAuthSuccessful = true;
}
});
});
}
function openAuthPopUp(url) {
var popUpUrl=location.protocol+"//"+window.location.hostname+"/webapp/wcs/stores/servlet/"+url;
var w = 1100,h = 750;
var brandName = 'SY';
if(brandName!=undefined && brandName!=null && brandName!=''){
popUpUrl = popUpUrl+"&brandName="+brandName;
}
var isPrimeCookie = getCookie("isPrimeMember");// check for G only
if(isPrimeCookie!=null && isPrimeCookie!='' && isPrimeCookie!="undefined" && isPrimeCookie=="G"){
popUpUrl += '&passport=Y';
}
popUpUrl = popUpUrl+"&homePageURL="+'www.stockyards.com';
var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : screen.left;
var dualScreenTop = window.screenTop != undefined ? window.screenTop : screen.top;
width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;
height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;
var left = ((width / 2) - (w / 2)) + dualScreenLeft;
var top = ((height / 2) - (h / 2)) + dualScreenTop;
var newWindow = window.open(popUpUrl, 'SignIn', 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left)
if(!newWindow || newWindow.closed || typeof newWindow.closed=='undefined'){
//POPUP BLOCKED
popUpUrl+="&popupBlocked=true";
window.location.href = popUpUrl;
}else if (window.focus) {
newWindow.focus();
}
}
$(function() {
$(".drop-sign").click(function(e) {
e.preventDefault();
openAuthPopUp('AuthLogin?langId=-1&storeId=22051&catalogId=17802&isAzureAddressOutage=false');
});
$("#activityId_18f-hdr_signIn-dd-starthere").click(function(e) {
e.preventDefault();
openAuthPopUp('AuthLogin?langId=-1&storeId=22051&catalogId=17802&isAzureAddressOutage=false');
});
$(".drop-link").click(function(e) {
e.preventDefault();
openAuthPopUp('AuthLogin?langId=-1&storeId=22051&catalogId=17802&isAzureAddressOutage=false®ister=Y');
});
$(".reg-cus").click(function(e) {
e.preventDefault();
openAuthPopUp('AuthLogin?langId=-1&storeId=22051&catalogId=17802&isAzureAddressOutage=false');
});
$(".create-acc").click(function(e) {
e.preventDefault();
openAuthPopUp('AuthLogin?langId=-1&storeId=22051&catalogId=17802&isAzureAddressOutage=false®ister=Y');
});
});
MainJS.myPassportURL = '/AjaxLogonForm?MyAccount=Y&catalogId=17802&isPrimePassport=Y&langId=-1&storeId=22051';
hideHeaderImages();
$(document).ready(function(){
updateHeaderLinkUrlsWhenAuth0Enabled();
}); RememberMe.isRememberMeEnabled = true;
if( typeof RememberMe !="undefined" && ! RememberMe.isSilentAuthSuccessful) {
if(RememberMe.isRememberMeEnabled) {
RememberMe.contactIdCookieVal = getCookie("cont.id");
if(RememberMe.isRememberedUser()){
RememberMe.executeOnThisWindow = true;
}
}
}
window.urlVal = '/Logoff?catalogId=17802&langId=-1&origStoreId=22051&storeId=22051&remember=true';
window.facebookDisconnectURL = '/FDFaceBookDisconnect?catalogId=17802&langId=-1&storeId=22051&fbConnect=N'; if((typeof storeId==='undefined' || typeof storeId==='object') && typeof storeID!=='undefined'){var storeId=storeID;}if((typeof catalogId==='undefined' || typeof catalogId==='object') && typeof catalogID!=='undefined'){var catalogId=catalogID;}if(typeof orderId==='undefined'){var orderId='';}
var GHcreateAccount = "/webapp/wcs/stores/servlet/AjaxUserRegistrationForm?langId=-1&storeId="+storeId+"&catalogId="+catalogId+"&new=Y";
var GHtrackOrder = "/webapp/wcs/stores/servlet/OrderTrackingSearch?userAction=OrderTrackingByEmail&catalogId="+catalogId+"&langId=-1&storeId="+storeId+"";
$(document).ready(function() {
$('#topnav').addClass('tpf-menu');
});
$(document).ready(function() {
$('#topnav').addClass('tpf-menu');
});
$(document).ready(function() {
$('#topnav').addClass('tpf-menu');
}); var fsDomain = "TPF";
if (typeof updateTopNavESpot === "function") {
updateTopNavESpot();
}
// US
function getCookiePop(cname) {
var name = cname + "=";
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
function setCookiePop(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
var expires = "expires=" + d.toUTCString();
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
}
var gdpr_v = "US";
// Test country code
var gdpr_v_test = gdpr_v.replace(/[^\w\s]/gi, '').toLowerCase();
if (gdpr_v !== "US" && gdpr_v_test !== "country_code") {
// Test if cookie exists
if (getCookiePop("gdpr_closed") !== "Y") {
var fadeElem = document.getElementById('gdpr_notification');
setTimeout(function () { fadeElem.className += ' fade'; }, 100)
var click_dismiss = document.querySelector('.gdpr--dismiss')
click_dismiss.addEventListener("click", function () {
fadeElem.className = '';
// Set cookie when closed
setCookiePop("gdpr_closed", "Y", "3650")
})
}
}
window.espotBrand = "TPF_";
var freeTrailPassURL = '/JoinFreeTrialPassportRegisterPageView?catalogId=17802&langId=-1&storeId=22051';
//setFreeTrailPassURL();
cookieonLoad();
authZeroDataJSON = new Object();
authZeroDataJSON.authClientID = 'RpN3oTBS3SxuHGIrGVobR9qzX8134sdb';
authZeroDataJSON.authDomainName = 'login.celebrations.com';
authZeroDataJSON.signOn = '/SignOn?catalogId=17802&langId=-1&storeId=22051';
authZeroDataJSON.authLogin = '/AuthLogin?catalogId=17802&langId=-1&storeId=22051';
authZeroDataJSON.authZeroAudience = 'https://celebrations-prod.auth0.com/api/v2/'; window.partnerEspotView = '/PartnerEspotView?catalogId=17802&langId=-1&storeId=22051';
var urlParams = "categoryId=400127580";
cookieLoadForPrime('passRegularBP','passPartnerBP');
if('' == 'Y' && getUserType()=="G"){//hide passport banners
$("#"+'passRegularBP'+"_Div").removeClass("display-block");
$("#"+'passPartnerBP'+"_Div").removeClass("display-block");
$("#"+'passRegularBP'+"_Div").addClass("display-none");
$("#"+'passPartnerBP'+"_Div").addClass("display-none");
}
$( document ).ready(function() {
ScrollSeting();
$(window).resize(function(){
ScrollSeting();
});
function ScrollSeting(){
var test = $(window).width()
if(test <= 980){
var heroImg = $(".TPFpreviewmy img");
var outerDiv = $(".TPFpreviewmy");
var scrollto = (heroImg.width() - outerDiv.width());
var myScroll = scrollto / 2;
outerDiv.animate({ scrollLeft: myScroll});
}
}
});
$(function() {
$('#HolidayOffer a').on('click', function(e){
if (typeof ga == 'function') {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'HP_Hero', 'Special Offer');
}
});
});
$(document).ready(function() {
//ga('fd_mbp.send', 'event', [EventCategory], [EventAction], [EventLabel]);
$(".EverydayOccasionGuideEventAnchorElementStyle").click(function() {
if (typeof ga == "function") {
ga('fd_mbp.send', 'event', 'Homepage', 'Everyday Occasion Guide - Click', 'TPF Everyday Occasion Guide');
}
});
});
authZeroDataJSON = new Object();
authZeroDataJSON.authClientID = 'RpN3oTBS3SxuHGIrGVobR9qzX8134sdb';
authZeroDataJSON.authDomainName = 'login.celebrations.com';
authZeroDataJSON.signOn = '/SignOn?catalogId=17802&langId=-1&storeId=22051';
authZeroDataJSON.authLogin = '/AuthLogin?catalogId=17802&langId=-1&storeId=22051';
authZeroDataJSON.authZeroAudience = 'https://celebrations-prod.auth0.com/api/v2/'; window.partnerEspotView = '/PartnerEspotView?catalogId=17802&langId=-1&storeId=22051';
var urlParams = "categoryId=400127580";
cookieLoadForPrime('passRegularHP','passPartnerHP');
if('' == 'Y' && getUserType()=="G"){//hide passport banners
$("#"+'passRegularHP'+"_Div").removeClass("display-block");
$("#"+'passPartnerHP'+"_Div").removeClass("display-block");
$("#"+'passRegularHP'+"_Div").addClass("display-none");
$("#"+'passPartnerHP'+"_Div").addClass("display-none");
}
$(document).ready(function(){
jQuery("#HolidayCookie").hover(function(){
var imgTitle = $('#HolidayCookie').attr('alt')
var imgLink = "/holiday-cookie-corn--7-21-flavors-edition-canister-tpf-68920";
$(this).parent().parent().parent().find('a').attr('href', imgLink);
$(this).parent().parent().parent().find('#Featured_Flavors_Img').attr("src", "https://cdn3.thepopcornfactory.com/wcsstore/ThePopcornFactory/images/HolidayCookieDough-1400x500.jpg").attr('alt', imgTitle);
});
jQuery("#DrizzledButterToffeeAlmondPretzel").hover(function(){
var imgTitle = $('#DrizzledButterToffeeAlmondPretzel').attr('alt')
var imgLink = "/butter-toffee-pretzel-almond-drizzle-7-21-flavors-canister-tpf-68903";
$(this).parent().parent().parent().find('a').attr('href', imgLink);
$(this).parent().parent().parent().find('#Featured_Flavors_Img').attr("src", "https://cdn3.thepopcornfactory.com/wcsstore/ThePopcornFactory/images/DrizzledButterToffeeAlmondPretzel-1400x500.jpg").attr('alt', imgTitle);
});
jQuery("#CookiesAndCreme").hover(function(){
var imgTitle = $('#CookiesAndCreme').attr('alt')
var imgLink = "/cookies---cream-corn--7-21-flavors-edition-canister-tpf-68915";
$(this).parent().parent().parent().find('a').attr('href', imgLink);
$(this).parent().parent().parent().find('#Featured_Flavors_Img').attr("src", "https://cdn3.thepopcornfactory.com/wcsstore/ThePopcornFactory/images/CookiesAndCreme-1400x500.jpg").attr('alt', imgTitle);
});
jQuery("#SaltedCaramelBourbon").hover(function(){
var imgTitle = $('#SaltedCaramelBourbon').attr('alt')
var imgLink = "/salted-caramel-bourbon-corn--7-21-flavors-edition-canister-tpf-68914";
$(this).parent().parent().parent().find('a').attr('href', imgLink);
$(this).parent().parent().parent().find('#Featured_Flavors_Img').attr("src", "https://cdn3.thepopcornfactory.com/wcsstore/ThePopcornFactory/images/SaltedCaramelBourbon-1400x500.jpg").attr('alt', imgTitle);
});
jQuery("#ChickenAndWaffles").hover(function(){
var imgTitle = $('#ChickenAndWaffles').attr('alt')
var imgLink = "/chicken---waffles-popcorn-canister-tpf-69215";
$(this).parent().parent().parent().find('a').attr('href', imgLink);
$(this).parent().parent().parent().find('#Featured_Flavors_Img').attr("src", "https://cdn3.thepopcornfactory.com/wcsstore/ThePopcornFactory/images/ChickenAndWaffles-1400x500.jpg").attr('alt', imgTitle);
});
});
var storeID = 10201;
var catalogID = 10101;
function containsDoubleByte(target) {
var str = new String(target);
var oneByteMax = 0x007F;
for (var i=0; i < str.length; i++){
chr = str.charCodeAt(i);
if (chr > oneByteMax) {return true;}
}
return false;
}
function isValidEmail(strEmail){
if (containsDoubleByte(strEmail)){
return false;
}
var re = /^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i
return strEmail.match(re);
}
function submitOptInForm(srcForm){
if (srcForm === 'HomePage') {
var requesterEmail = document.getElementById('EmailOptInHomePage').value;
if (requesterEmail == 'your@email.com'){
if (document.getElementById('EmailOptInHomePagePopUp') != null && document.getElementById('EmailOptInHomePagePopUp') != 'undefined'){
requesterEmail = document.getElementById('EmailOptInHomePagePopUp').value;
}
else if (document.forms['email'] != null && document.forms['email'] != 'undefined'){
if (document.forms['email'].EmailOptInHomePage != null && document.forms['email'].EmailOptInHomePage != 'undefined')
requesterEmail = document.forms['email'].EmailOptInHomePage.value;
}
}
}
if (requesterEmail=='') {
alert("Please enter your Email.");
return false;
} else if (!isValidEmail(requesterEmail)) {
alert("Please enter a valid Email.");
return false;
} else if (requesterEmail=='your@email.com') {
alert("Please enter your Email.");
return false;
}
$.ajax({
type: "POST",
url: "/webapp/wcs/stores/servlet/AjaxEmailOptIn?storeId=" + storeID + "&catalogId=" + catalogID + "&langId=-1&verifyEmailAddress=" + requesterEmail + "&emailAddress=" + requesterEmail + "&firstName=&accountwithoutEmailSignUp=true&doEmailOptIn=Y",
cache: false,
async: false,
//error:jqAjaxError,
//timeout: 90000,
dataType: "json",
success: function(html){
if (srcForm === "HomePage"){
document.getElementById("EmailSentHP").style.display = "block";
document.getElementById("EmailGreetingHP").style.display = "none";
} else if (srcForm === "HomePagePOP"){
document.getElementById("TPF-survey-succcess").style.display = "block";
document.getElementById("TPF_img").style.display = "none";
document.getElementById("TPF_input").style.display = "none";
} else if (srcForm === "Footer"){
document.getElementById("EmailSentFooter").style.display = "block";
document.getElementById("EmailGreetingFooter").style.display = "none";
}
if (document.getElementById("survey-invitation") != null && document.getElementById("survey-invitation") != 'undefined') {
document.getElementById("survey-invitation").style.display="none";
}
try {
if (analyticsInitialized() && typeof FD4.analytics.trackEmailSignUp !== "undefined") {
FD4.analytics.trackEmailSignUp();
}
}
catch(ex) {
console.error("Analytics: Failed to track email sign up.", ex);
}
},
error: function (request, status, error){ }
});
}
if (jQuery) {
/* Tin Section */
$(".tin_1_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Patriotic');
});
$(".tin_2_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Hows it Hanging');
});
$(".tin_3_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Oceana');
});
$(".tin_4_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Simply Red');
});
$(".tin_5_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Big Birthday');
});
$(".tin_6_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Shining Sentiments');
});
$(".tin_7_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Fancy Floral');
});
$(".tin_8_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Congratulations Gifts');
});
$(".tin_9_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Laugh Out Loud');
});
$(".tin_10_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Say It With Dots');
});
$(".tin_11_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Smiley Dot');
});
$(".tin_12_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Retro');
});
$(".tin_13_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Fun with Snacks');
});
$(".tin_14_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Hang in There');
});
$(".tin_15_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'College Team Tins');
});
$(".tin_16_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tins - Click', 'Baseball Tins');
});
/* Hero Section */
$(".hero_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Hero - Click', 'Hero');
});
/* Tier Section */
$(".tier_1_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tier 1 - Click', 'Shop Graduation Gifts');
});
$(".tier_2_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tier 2 - Click', 'Shop 25 Flavors');
});
$(".tier_3_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tier 3 - Click', 'Shop Birthday Gifts');
});
$(".tier_4_ga a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tier 4 - Click', '21 Flavors to Love');
});
/* Tiles - Row 1 Section */
$(".tiles_row_1_a a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 1 - Click', 'Towers');
});
$(".tiles_row_1_b a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 1 - Click', 'Samplers');
});
$(".tiles_row_1_c a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 1 - Click', 'Tins');
});
$(".tiles_row_1_d a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 1 - Click', 'Clubs');
});
$(".tiles_row_1_e a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 1 - Click', 'Novelty');
});
/* Tiles - Row 2 Section */
$(".tiles_row_2_a a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 2 - Click', 'Fathers Day');
});
$(".tiles_row_2_b a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 2 - Click', 'Birthday');
});
$(".tiles_row_2_c a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 2 - Click', 'Thank You');
});
$(".tiles_row_2_d a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 2 - Click', 'Thinking of You');
});
$(".tiles_row_2_e a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 2 - Click', 'Sports');
});
/* Tiles - Row 3 Section */
$(".tiles_row_3_a a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 3 - Click', 'Spring Blossom Tower');
});
$(".tiles_row_3_b a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 3 - Click', 'Smiley Dot Popcorn Tins');
});
$(".tiles_row_3_c a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 3 - Click', 'Popcorn Ball Decorating Kit');
});
$(".tiles_row_3_d a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 3 - Click', 'Spring Blossoms Popcorn Tins');
});
$(".tiles_row_3_e a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'Tiles - Row 3 - Click', 'Big Happy Birthday Popcorn Tins');
});
/* Footer Catalog */
$("#espot19-cover-new a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'HP - Footer - Click', 'Catalog');
});
/* Footer Social Buttons */
$(".social-icons .facebook").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'HP - Footer - Click', 'Facebook');
});
$(".social-icons .twitter").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'HP - Footer - Click', 'Twitter');
});
$(".social-icons .blog").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'HP - Footer - Click', 'Blog');
});
$(".social-icons .pinterest").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'HP - Footer - Click', 'Pinterest');
});
/* Smile Guarantee Banner */
$("#smileguarantee a").click(function() {
ga('fd_mbp.send', 'event', 'TPF Homepage', 'HP - Footer - Click', 'Smile Guarantee');
});
}
$(function(){
//Get year and populate the copyright date
var d = new Date();
var currentYear = d.getFullYear();
$('.copyrightInfo span').html(currentYear);
});
jQuery( document ).ready(function() {
$.each($('#Track-ordernum-wrap'), function (index, value) {
var targ = $(value).find('.rowName > strong');
if(targ.text().indexOf('Passport') > -1 && targ.text().indexOf('Membership') > -1 && targ.text().toLowerCase().indexOf('passport annual membership') > -1){
console.log(targ.text().indexOf('Passport'));
jQuery(value).find('.rowTrack').attr('style','display:none ;');
jQuery(value).find('.rowShip').attr('style','display:none;');
jQuery(value).find('.progress-wrapper').attr('style','display:none;');
$('').appendTo('head');
}
});
})
setTimeout(()=> {
var parentDiv = jQuery('.pdp__productImages > .pdp__thumbs');
parentDiv.next().insertBefore(parentDiv)
},1000);
jQuery( window ).load(function() {
var carousel = document.querySelector('.carousel');
var carouselContent = document.querySelector('.carousel-content');
var slides = document.querySelectorAll('.slide');
var arrayOfSlides = Array.prototype.slice.call(slides);
var carouselDisplaying;
var screenSize;
setScreenSize();
var lengthOfSlide;
function addClone() {
var lastSlide = carouselContent.lastElementChild.cloneNode(true);
lastSlide.style.left = (-lengthOfSlide) + "px";
carouselContent.insertBefore(lastSlide, carouselContent.firstChild);
}
// addClone();
function removeClone() {
var firstSlide = carouselContent.firstElementChild;
firstSlide.parentNode.removeChild(firstSlide);
}
function moveSlidesRight() {
var slides = document.querySelectorAll('.slide');
var slidesArray = Array.prototype.slice.call(slides);
var width = 0;
slidesArray.forEach(function(el, i){
el.style.left = width + "px";
width += lengthOfSlide;
});
addClone();
}
moveSlidesRight();
function moveSlidesLeft() {
var slides = document.querySelectorAll('.slide');
var slidesArray = Array.prototype.slice.call(slides);
slidesArray = slidesArray.reverse();
var maxWidth = (slidesArray.length - 1) * lengthOfSlide;
slidesArray.forEach(function(el, i){
maxWidth -= lengthOfSlide;
el.style.left = maxWidth + "px";
});
}
window.addEventListener('resize', setScreenSize);
function setScreenSize() {
if ( window.innerWidth >= 1600 ) {
carouselDisplaying = 7;
} else if ( window.innerWidth >= 1400 ) {
carouselDisplaying = 6;
} else if ( window.innerWidth >= 980 ) {
carouselDisplaying = 4;
} else if ( window.innerWidth >= 667 ) {
carouselDisplaying = 3;
} else if ( window.innerWidth >= 490 ) {
carouselDisplaying = 2;
} else {
carouselDisplaying = 1;
}
getScreenSize();
}
function getScreenSize() {
var slides = document.querySelectorAll('.slide');
var slidesArray = Array.prototype.slice.call(slides);
lengthOfSlide = ( carousel.offsetWidth / carouselDisplaying );
var initialWidth = -lengthOfSlide;
slidesArray.forEach(function(el) {
el.style.width = lengthOfSlide + "px";
el.style.left = initialWidth + "px";
initialWidth += lengthOfSlide;
});
}
var rightNav = document.querySelector('.carousel-nav-right');
rightNav.addEventListener('click', moveLeft);
var moving = true;
function moveRight() {
if ( moving ) {
moving = false;
var lastSlide = carouselContent.lastElementChild;
lastSlide.parentNode.removeChild(lastSlide);
carouselContent.insertBefore(lastSlide, carouselContent.firstChild);
removeClone();
var firstSlide = carouselContent.firstElementChild;
firstSlide.addEventListener('transitionend', activateAgain);
moveSlidesRight();
}
}
function activateAgain() {
var firstSlide = carouselContent.firstElementChild;
moving = true;
firstSlide.removeEventListener('transitionend', activateAgain);
}
var leftNav = document.querySelector('.carousel-nav-left');
leftNav.addEventListener('click', moveRight);
// var moveLeftAgain = true;
function moveLeft() {
if ( moving ) {
moving = false;
removeClone();
var firstSlide = carouselContent.firstElementChild;
firstSlide.addEventListener('transitionend', replaceToEnd);
moveSlidesLeft();
}
}
function replaceToEnd() {
var firstSlide = carouselContent.firstElementChild;
firstSlide.parentNode.removeChild(firstSlide);
carouselContent.appendChild(firstSlide);
firstSlide.style.left = ( (arrayOfSlides.length -1) * lengthOfSlide) + "px";
addClone();
moving = true;
firstSlide.removeEventListener('transitionend', replaceToEnd);
}
carouselContent.addEventListener('mousedown', seeMovement);
var initialX;
var initialPos;
function seeMovement(e) {
initialX = e.clientX;
getInitialPos();
carouselContent.addEventListener('mousemove', slightMove);
document.addEventListener('mouseup', moveBasedOnMouse);
}
function slightMove(e) {
if ( moving ) {
var movingX = e.clientX;
var difference = initialX - movingX;
if ( Math.abs(difference) < (lengthOfSlide/4) ) {
slightMoveSlides(difference);
}
}
}
function getInitialPos() {
var slides = document.querySelectorAll('.slide');
var slidesArray = Array.prototype.slice.call(slides);
initialPos = [];
slidesArray.forEach(function(el){
var left = Math.floor( parseInt( el.style.left.slice(0, -2 ) ) );
initialPos.push( left );
});
}
function slightMoveSlides(newX) {
var slides = document.querySelectorAll('.slide');
var slidesArray = Array.prototype.slice.call(slides);
slidesArray.forEach(function(el, i){
var oldLeft = initialPos[i];
el.style.left = (oldLeft + newX) + "px";
});
}
function moveBasedOnMouse(e) {
var finalX = e.clientX;
if ( initialX - finalX > 0) {
moveRight();
} else if ( initialX - finalX < 0 ) {
moveLeft();
}
document.removeEventListener('mouseup', moveBasedOnMouse);
carouselContent.removeEventListener('mousemove', slightMove);
}
});
$(document).ready(function () {
$('.skip').click(function (event) {
var skipTo = '#' + this.href.split('#')[1];
$(skipTo).attr('tabindex', -1).on('blur focusout', function () {
$(this).removeAttr('tabindex');
}).focus();
});
$('img:not([alt])').attr('alt', '');
});
if (navigator.platform == "iPad" || navigator.platform == "iPhone") {
$(document).ready(function() {
$('#nav').hover(function() {
var onClick;
var detectIOS5 = function(){
if (navigator.platform == "iPad" && detectIOS5 == "5.1"){
onClick = true;
}
}
var firstClick = function() {
onClick = secondClick;
return false;
};
var secondClick = function() {
onClick = firstClick;
return true;
};
onClick = firstClick;
$(this).click(function() {
return onClick();
});
});
});
}
checkAndHidePassport(100);
window.cm_tnt=window.cm_tnt||'',tntVal='';
if(window.cm_tnt.indexOf(tntVal)==-1){window.cm_tnt+=tntVal}
coreMetricsTnt(cm_tnt);
setUpNaturalSearchCookie();