Get $200 Off $600 using code: MSAVE200` }); } catch(e){ console.error("Error adding active promo", e); } console.log('promo: ', 'milw-21038', 'visible'); try{ promos.push({ id: `milw-21038`, status: `visible`, bannerURL: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, bannerURLMobile: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, expirationDate: `20210630`, priority: 2, freeItemHandle: `milwaukee-48-11-1880-18-volt-8-0ah-redlithium-high-output-battery-pack`, freeItemTagline: `FREE 8AH Battery with this kit` }); } catch(e){ console.error("Error adding active promo", e); } console.log('promo: ', 'maki-21039', 'visible'); try{ promos.push({ id: `maki-21039`, status: `visible`, bannerURL: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, bannerURLMobile: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, expirationDate: `20210630`, priority: 2, freeItemHandle: ``, freeItemTagline: `Free Bare Tool with this starter kit` }); } catch(e){ console.error("Error adding active promo", e); } console.log('promo: ', 'maki-21040', 'hidden'); try{ promos.push({ id: `maki-21040`, status: `hidden`, bannerURL: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, bannerURLMobile: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, expirationDate: `20210731`, priority: 2, freeItemHandle: ``, freeItemTagline: `FREE Battery And Fan with this kit` }); } catch(e){ console.error("Error adding active promo", e); } console.log('promo: ', 'maki-21041', 'visible'); try{ promos.push({ id: `maki-21041`, status: `visible`, bannerURL: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, bannerURLMobile: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, expirationDate: `20210630`, priority: 2, freeItemHandle: `makita-dml811-18v-750-3000-lumen-lxt-cordless-corded-work-light-bare-tool`, freeItemTagline: `FREE Cordless Light with this Sander` }); } catch(e){ console.error("Error adding active promo", e); } console.log('promo: ', 'bosc-21042', 'visible'); try{ promos.push({ id: `bosc-21042`, status: `visible`, bannerURL: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, bannerURLMobile: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, expirationDate: `20210630`, priority: 2, freeItemHandle: ``, freeItemTagline: `$20 OFF $100 Using code: BSC20` }); } catch(e){ console.error("Error adding active promo", e); } console.log('promo: ', 'milw-21030', 'visible'); try{ promos.push({ id: `milw-21030`, status: `visible`, bannerURL: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, bannerURLMobile: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, expirationDate: `20210801`, priority: 2, freeItemHandle: `milwaukee-48-11-2420-m12-12-volt-2-0ah-redlithium-compact-battery`, freeItemTagline: `FREE M12 Battery with this tool` }); } catch(e){ console.error("Error adding active promo", e); } console.log('promo: ', 'milw-21031', 'visible'); try{ promos.push({ id: `milw-21031`, status: `visible`, bannerURL: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, bannerURLMobile: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, expirationDate: `20210801`, priority: 2, freeItemHandle: ``, freeItemTagline: `FREE Battery or Tool with this M18 Kit` }); } catch(e){ console.error("Error adding active promo", e); } console.log('promo: ', 'milw-21032', 'visible'); try{ promos.push({ id: `milw-21032`, status: `visible`, bannerURL: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, bannerURLMobile: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, expirationDate: `20210801`, priority: 2, freeItemHandle: ``, freeItemTagline: `FREE Bare Tool with this M18 kit` }); } catch(e){ console.error("Error adding active promo", e); } console.log('promo: ', 'milw-21034', 'visible'); try{ promos.push({ id: `milw-21034`, status: `visible`, bannerURL: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, bannerURLMobile: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, expirationDate: `20210801`, priority: 2, freeItemHandle: ``, freeItemTagline: `FREE Bare Tool with this pack of batteries` }); } catch(e){ console.error("Error adding active promo", e); } console.log('promo: ', 'milw-21036', 'visible'); try{ promos.push({ id: `milw-21036`, status: `visible`, bannerURL: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, bannerURLMobile: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, expirationDate: `20210801`, priority: 2, freeItemHandle: `milwaukee-48-11-1850-m18-18-volt-5-0ah-redlithium-xc-extended-capacity-battery`, freeItemTagline: `FREE 5AH Battery with this light tower` }); } catch(e){ console.error("Error adding active promo", e); } console.log('promo: ', 'milw-21033', 'visible'); try{ promos.push({ id: `milw-21033`, status: `visible`, bannerURL: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, bannerURLMobile: `//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif`, expirationDate: `20210801`, priority: 2, freeItemHandle: ``, freeItemTagline: `2 Free Bare Tools with this M18 kit` }); } catch(e){ console.error("Error adding active promo", e); } console.log('Active Promos:', promos); return promos; } function getProductCollections(){ const productCol = []; productCol.push('10 off 50 Sale'); productCol.push('20 Off 100 Sale'); productCol.push('Air Tools'); productCol.push('Automotive'); productCol.push('Impact Wrenches'); productCol.push('Power Tools'); productCol.push('Proto'); productCol.push('same day'); productCol.push('Tools & Equipment'); console.log("this product is in collections: ", productCol); return productCol; } })(); //End of IIFE console.info('%cEND: New Product Banner', 'background:#498cbb; color:#fff');