Nespresso Pods | Coffee Pods & Capsules (2024)

\n"}],"orderCapsulesLink":null,"orderMachinesLink":null,"autoCheckRememberMe":false,"hideCustomerHeader":false,"rebateConfig":{"meta":null,"defaultRebateLabels":[{"meta":null,"rebateId":"1","label":"Ext Cust Facing Agent Caps Reb","displayLineInSummary":true},{"meta":null,"rebateId":"2","label":"Boutique Promo Machine Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"36","label":"Radisson Classic Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"43","label":"Lexus Pro Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"25","label":"Pro Machine Volume Reb (2-3)","displayLineInSummary":true},{"meta":null,"rebateId":"26","label":"Pro Machine Volume Reb (4-5)","displayLineInSummary":true},{"meta":null,"rebateId":"30","label":"Pro Machine Volume Reb (51-99)","displayLineInSummary":true},{"meta":null,"rebateId":"31","label":"HORECA Mach Vol Reb (1-9)","displayLineInSummary":true},{"meta":null,"rebateId":"32","label":"HORECA Mach Vol Reb (10-29)","displayLineInSummary":true},{"meta":null,"rebateId":"33","label":"HORECA Mach Vol Reb (30-49)","displayLineInSummary":true},{"meta":null,"rebateId":"34","label":"HORECA Mach Vol Reb (50-99)","displayLineInSummary":true},{"meta":null,"rebateId":"35","label":"HORECA Mach Vol Reb (100+)","displayLineInSummary":true},{"meta":null,"rebateId":"13","label":"Pro Coffee Vol Reb (1500-2999)","displayLineInSummary":true},{"meta":null,"rebateId":"14","label":"Pro Coffee Vol Reb (3000-4499)","displayLineInSummary":true},{"meta":null,"rebateId":"15","label":"Pro Coffee Vol Reb (4500-7499)","displayLineInSummary":true},{"meta":null,"rebateId":"27","label":"Pro Machine Volume Reb (6-10)","displayLineInSummary":true},{"meta":null,"rebateId":"16","label":"Pro Coff Vol Reb (7500-11999)","displayLineInSummary":true},{"meta":null,"rebateId":"18","label":"Pro Coffee Vol Reb (18000+)","displayLineInSummary":true},{"meta":null,"rebateId":"19","label":"Coffee Ord Size Reb (500-999)","displayLineInSummary":true},{"meta":null,"rebateId":"48","label":"Montblanc Pro Machine Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"20","label":"Coff Ord Size Reb (1000-1999)","displayLineInSummary":true},{"meta":null,"rebateId":"21","label":"Coffee Ord Size Reb (2000+)","displayLineInSummary":true},{"meta":null,"rebateId":"49","label":"Payment Mode Rebate (B2B)","displayLineInSummary":true},{"meta":null,"rebateId":"11","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"42","label":"Gilead Pro Machine Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"-1","label":"Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"7","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"3","label":"Nespresso Emp Class Mach Reb","displayLineInSummary":true},{"meta":null,"rebateId":"4","label":"Nespresso Emp Class Caps Reb","displayLineInSummary":true},{"meta":null,"rebateId":"5","label":"Nespresso Emp Accessory Reb","displayLineInSummary":true},{"meta":null,"rebateId":"6","label":"Nespresso Emp Aeroccino Reb","displayLineInSummary":true},{"meta":null,"rebateId":"24","label":"Nestlé Emp Class Caps Reb","displayLineInSummary":true},{"meta":null,"rebateId":"23","label":"Nestlé Emp Class Mach Reb","displayLineInSummary":true},{"meta":null,"rebateId":"17","label":"Pro Coff Vol Reb (12000-17999)","displayLineInSummary":true},{"meta":null,"rebateId":"10","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"28","label":"Pro Machine Volume Reb (11-25)","displayLineInSummary":true},{"meta":null,"rebateId":"29","label":"Pro Machine Volume Reb (26-50)","displayLineInSummary":true},{"meta":null,"rebateId":"8","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"38","label":"Ritz Carlton Pro Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"39","label":"Ritz Carlton Classic Caps Reb","displayLineInSummary":true},{"meta":null,"rebateId":"40","label":"Accor Classic Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"41","label":"Accor Pro Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"22","label":"UK Aeroccino Trade Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"46","label":"Nestlé Pro Machine Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"12","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"45","label":"Nestlé Pro Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"47","label":"Montblanc Pro Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"44","label":"Lexus Pro Machine Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"37","label":"Radisson Pro Caps Reb - Sub","displayLineInSummary":true},{"meta":null,"rebateId":"9","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":null,"label":"Default Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"57","label":"Nespresso Emp Class Caps Reb","displayLineInSummary":true},{"meta":null,"rebateId":"58","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"79","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"80","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"81","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"91","label":"Nespresso Emp Class Mach Reb","displayLineInSummary":true},{"meta":null,"rebateId":"92","label":"Nespresso Emp Class Mach Reb","displayLineInSummary":true},{"meta":null,"rebateId":"96","label":"HORECA Mach Vol Reb (1-9)","displayLineInSummary":true},{"meta":null,"rebateId":"99","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"113","label":"VIP Classic Machine Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"123","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"127","label":"Nespresso Emp Aeroccino Reb","displayLineInSummary":true},{"meta":null,"rebateId":"128","label":"VIP Classic Machine Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"129","label":"Nespresso Emp Class Mach Reb","displayLineInSummary":true},{"meta":null,"rebateId":"130","label":"Nespresso Emp Class Caps Reb","displayLineInSummary":true},{"meta":null,"rebateId":"131","label":"Nespresso Emp Accessory Reb","displayLineInSummary":true},{"meta":null,"rebateId":"133","label":"Nespresso Emp Aeroccino Reb","displayLineInSummary":true},{"meta":null,"rebateId":"134","label":"UK Aeroccino Trade Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"135","label":"Nespresso Emp Class Mach Reb","displayLineInSummary":true},{"meta":null,"rebateId":"136","label":"Nestlé Emp Class Mach Reb","displayLineInSummary":true},{"meta":null,"rebateId":"137","label":"Hapimag Classic Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"158","label":"Lexus Pro Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"159","label":"Lexus Pro Machine Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"160","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"161","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"162","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"163","label":"Accor Classic Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"164","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"165","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"166","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"167","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"168","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"169","label":"Radisson Classic Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"170","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"171","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"172","label":"Gilead Pro Machine Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"173","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"174","label":"Montblanc Pro Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"175","label":"Montblanc Pro Machine Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"176","label":"Nestlé Pro Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"177","label":"Nestlé Pro Machine Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"178","label":"Ritz Carlton Pro Caps Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"179","label":"Ritz Carlton Classic Caps Reb","displayLineInSummary":true},{"meta":null,"rebateId":"180","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"181","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"182","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"183","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"184","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"185","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"186","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"191","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"192","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"193","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"194","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"195","label":"Classic Capsules Fixed rebate","displayLineInSummary":true},{"meta":null,"rebateId":"196","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"199","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"200","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"201","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"202","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"203","label":"Pro Accessory Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"204","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"206","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"207","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"208","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"209","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"210","label":"Pro Coffee Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"211","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"212","label":"Classic Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"213","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"214","label":"Pro Machine Fixed Rebate","displayLineInSummary":true},{"meta":null,"rebateId":"215","label":"Payment Mode Rebate (B2B)","displayLineInSummary":true}],"enableDiscountLabel":false}},"eCommerceData":null}});

/div>`; function searchBarInjectTest() { console.log("injecting search"); if (!$("#search-Bar-Test").is(":visible")) { $(".LoginDropdown").before(searchBarHTMLNew); const input = document.querySelector('input'); $('#search-box').keyup(delay(function (e) { triggerLiveTypeNew(); }, 400)); } } function showMobileBarNew() { $(".search-Bar-Test").toggle(); $(".Header__top").toggleClass("expandHeaderHeight"); $("#topDelBan").toggleClass("topDelBanPushed"); } $(window).on('load', function () { searchIntervalNew = setInterval(function () { $("#ta-mini-basket__open").length ? $("#custom-gift-button").length ? (console.log("y do i exists?"), clearInterval(searchIntervalNew)) : (clearInterval(searchIntervalNew), searchBarInjectTest()) : console.log("waiting for nav bar to appear ..."); }, 500); }) function correctActionNew() { var url = window.location.href; if (url.indexOf("/ie/") > 0) { var market = "ie"; } else { var market = "uk"; } var action_src = "https://www.nespresso.com/"+ market +"/en/results?q=" + document.getElementById("search-box").value; var searchForm = document.getElementById('search-form'); searchForm.action = action_src ; }

"); $.get("https://3rqy3wcied.execute-api.us-east-1.amazonaws.com/nespresso-prod/suggest2?query=" + query + "" + monetateSend +"&groups=products,categories,terms&fieldList=productName,categoryCode,categoryId,productCategoryNames,productSeoSlug,score", function(data, status){ // $.get("https://lf6zhz6e76.execute-api.us-east-1.amazonaws.com/nespresso-dev/suggest2?query=" + query + "" + monetateSend +"&groups=products,categories,terms&fieldList=productName,categoryCode,categoryId,productCategoryNames,productSeoSlug,score", function(data, status){ if (status === "success") { //add the search word to the start $("#suggList-container").prepend('

'+ query +'

'); console.log(data); var jsonData = JSON.stringify(data); var kiboResult = JSON.parse(jsonData); var groups = kiboResult.suggestionGroups; var arrayLength = groups.length; console.log(arrayLength); for (var i = 0; i < arrayLength; i++) { // for (var i = arrayLength - 1; i >= 0; i--) { var groupBlock = JSON.stringify(groups[i]); const section = JSON.parse(groupBlock); var suggestionType = section.name; console.log(suggestionType); if (suggestionType === "Terms") { var termsString = section.suggestions; console.log(termsString); var termArrayLength = termsString.length; for (var k = 0; k < termArrayLength; k++) { var termHolder = JSON.stringify(termsString[k]); const term = JSON.parse(termHolder); console.log("Term"+ term.suggestion.term); console.log(term.suggestion.payload); var termPayload = term.suggestion.payload; var termDisplay = term.suggestion.term const checkLink = " @ "; if (termPayload.includes(checkLink)) { // var testlink = "Coffee Capsule | Nespresso UK @ /uk/en/capsules"; // var splitStr = testlink.split('@'); var splitStr = termPayload.split('@'); termDisplay = splitStr[0]; var termLink = splitStr[1]; var termLink = termLink.replace(" ",""); showTerm(termDisplay,termLink, "term",""); } else { showTerm(termDisplay,'/uk/en/results?q='+ termDisplay,"term",""); } } } if (suggestionType === "Categories") { var catString = section.suggestions; var termArrayLength = catString.length; for (var k = 0; k < termArrayLength; k++) { // Display Category in list var catHolder = JSON.stringify(catString[k]); const category = JSON.parse(catHolder); var catDisplay = category.suggestion.categoryName; catDisplay = catDisplay.toLowerCase().replace(query.toLowerCase(), " "+ query +"").replace("_", " "); var catsplitStr = catDisplay.toLowerCase().split(' '); for (var s = 0; s < catsplitStr.length; s++) { catsplitStr[s] = catsplitStr[s].charAt(0).toUpperCase() + catsplitStr[s].substring(1); } catDisplay = catsplitStr.join(' '); var newQuery = category.suggestion.categoryName; var classQuery = newQuery.replace(" ",""); showTerm(catDisplay,'/uk/en/results?q='+ catDisplay,"cat",classQuery); // Create Products to show if mouse over extraProducts(newQuery); } } if (suggestionType === "Products") { var prodString = section.suggestions; var termArrayLength = prodString.length; if (termArrayLength > 3) { termArrayLength = 3 } for (var k = 0; k < termArrayLength; k++) { var prodHolder = JSON.stringify(prodString[k]).replace("~",""); const product = JSON.parse(prodHolder); console.log("prodHolder: "+ prodHolder); var productTitle = product.suggestion.productName; productTitle = productTitle.replace("- Vertuo Coffee Pods", "
In Vertuo").replace("- Original Coffee Pods", "
In Original"); var imgSrc = product.suggestion.productImageUrls[0]; var resultSku = product.suggestion.productCode; var sugURLProduct = product.suggestion.tenantlink[0]; var numItems = $('.searchMain').length; if (numItems < 3) { popSuggestionList(imgSrc, productTitle, sugURLProduct, resultSku, "searchMain") } } } } if (kiboResult.totalCount != 0) { $(".see-all").hide(); $(".preview-container").append('

See All Results

'); } } }); function extraProducts(newQuery) { var classQuery = newQuery.replace(" ",""); classQuery = classQuery.replace(/[^a-z0-9-]/gi, ''); if ($("#_evidon_banner").is(":visible")) { var monetateSend = ""; } else { let monetateID = getCookie("mt.v"); var monetateSend = "&mid=" + monetateID; // console.log("monetateID"+ monetateID); } $.get("https://lf6zhz6e76.execute-api.us-east-1.amazonaws.com/nespresso-dev/suggest2?query=" + newQuery + "" + monetateSend +"&groups=products&pageSize=3&fieldList=productName,categoryCode,categoryId,productCategoryNames,productSeoSlug,score", function(data, status){ if (status === "success") { var subProdJsonData = JSON.stringify(data); var subProdResult = JSON.parse(subProdJsonData); var subProd = subProdResult.suggestionGroups; var subArrayLength = subProd.length; for (var i = 0; i < subArrayLength; i++) { var subBlock = JSON.stringify(subProd[i]); const prodsection = JSON.parse(subBlock); var prodsuggestionType = prodsection.name; if (prodsuggestionType === "Products") { var subProdString = prodsection.suggestions; var subProdTermArrayLength = subProdString.length; for (var j = 0; j < subProdTermArrayLength; j++) { var prodHolder = JSON.stringify(subProdString[j]).replace("~",""); const subProduct = JSON.parse(prodHolder); console.log("second prodHolder : "+ prodHolder); var subProductTitle = subProduct.suggestion.productName; subProductTitle = subProductTitle.replace("- Vertuo Coffee Pods", "
In Vertuo").replace("- Original Coffee Pods", "
In Original"); var subImgSrc = subProduct.suggestion.productImageUrls[0]; var subResultSku = subProduct.suggestion.productCode; var subSugURLProduct = subProduct.suggestion.tenantlink[0]; popSuggestionList(subImgSrc, subProductTitle, subSugURLProduct, subResultSku, classQuery) } } } } }); } function popSuggestionList(imgSrc, productTitle, sugURLProduct, resultSku, prodClass) { var disNone = ""; if (prodClass != "searchMain") { var disNone = 'style="display: none;"'; } suggestionItem = `

${ productTitle }

`; $("#suggItem-container").append(suggestionItem); } function showTerm(term,link,type,className) { var newLink = link.replace("","").replace("","").replace(" ",""); var numTerms = $('#suggList-container').length; if ((numTerms + 1) > 5) {$(".suggestionList:first").hide(); } if (type === "term") { var existingContent = (($(".suggTermLink:contains('"+ term +"')").length > 0)); if (existingContent == false) { $("#suggList-container").append('

'+ term +'

'); } } else { $("#suggList-container").append('

'+ term +'

'); } } } }; $(document).ready(function() { // $("#search-box").keyup(function () { $(window).click(function() { $("#previewDiv").hide().html(""); }); // $(".suggListCat").mouseenter(function(){ // var functionTrigger = this.id; // alert("triggered"); // changePreviewItems(functionTrigger,"searchMain"); // }); // $(".suggListCat").mouseleave(function(){ // var functionTrigger = this.id; // alert("triggered"); // changePreviewItems("searchMain",functionTrigger); // }); }); function changePreviewItems(cShow) { $(".suggestionItem").hide(); $("."+ cShow + "").show(); }

You are on the main content

CLOSE

CHOOSE YOUR GIFT FROM OUR MENU

YOURS FOR 100 CAPSULES

Nespresso Pods | Coffee Pods & Capsules (2)

Gift 1

Enjoy a sweet treat at home or on the go with these individually wrapped orange flavoured biscuits.*
Add promo code BISCUIT at checkout.

OR

Nespresso Pods | Coffee Pods & Capsules (3)

Gift 2

Enjoy £5 off when you order 100 capsules.*
Add promo code FIVE at checkout.

YOURS FOR 170 CAPSULES

Nespresso Pods | Coffee Pods & Capsules (4)

Gift 3

Claim a Travel Mug for your on-the-go escapades.*
Add promo code TM at checkout.

OR

Nespresso Pods | Coffee Pods & Capsules (5)

Gift 4

Inspire your creativity with our large Barista Recipe Glass.*
Add promo code GLASS at checkout.

YOURS FOR 240 CAPSULES

Nespresso Pods | Coffee Pods & Capsules (6)

Gift 5

Elevate your coffee ritual with our large Barista Recipe Glass AND ice cube tray.*
Add promo code ICEGLA at checkout.

OR

Nespresso Pods | Coffee Pods & Capsules (7)

Gift 6

Treat yourself wherever you go with our travel mug AND orange flavoured biscuits.*
Add promo code TMBIS at checkout.

About the offer:

Open to UK, CI, IoM & ROI, 18+. Offer available from 09:00 on 09.04.24 to 23:59 on 21.04.24, subject to availability, whilst stocks last. The promotion will end at 23:59 on 21.04.24, or when all allocated stock of the complimentary gifts has been claimed, whichever is sooner. Offer available via Nespresso direct channels only, excluding Boutiques. Customers may choose one of the offers when the required number of capsules are purchased in a single transaction within the stated promotional period and the relevant promotional code is applied at checkout. This offer is linked to participants’ Nespresso Member number and can only be redeemed once. Participants who are not already Nespresso Members will be required to register to qualify for the offer. Registration can take up to 24hrs to complete. The gifts cannot be exchanged for cash or product of equivalent value. Not valid in conjunction with any other offer and cannot be claimed via Nespresso Boutiques or any other retailer. For full terms and conditions, visit the Nespresso website. Images are for illustrative purposes only and may vary from the actual items sent.

' + '' + // 'Nespresso Pods | Coffee Pods & Capsules (9)'; 'Nespresso Pods | Coffee Pods & Capsules (10)'; //add click event that will load YouTube video youTubeVideos[i].addEventListener("click", function () { this.innerHTML = ''; }); }

FILTERS

RESET

Size of cup

Mug | 230 ml

Gran Lungo | 150 ml

Double Espresso | 80 ml

Espresso | 40 ml

Ristretto | 25 ml

Longer Cups

Carafe | 535 ml

XL | 355 ml


Intensity

Mild

Medium

Intense


Categories

Decaf

Flavoured

Extra Caffeine

Added Vitamins

New Arrivals

In Stock

Recycling


RESET

Size of cup

Ristretto | 25 ml

Espresso | 40 ml

Lungo | 110 ml


Intensity

Mild

Medium

Intense


Categories

Decaf

Flavoured

New Arrivals

In Stock

Assortments

Recycling

FILTERS

RESET

Recipes

Cappuccino

Espresso Macchiato

Espresso

Flat White

Latte


Size of cup

Mug | 230 ml

Gran Lungo | 150 ml

Double Espresso | 80 ml

Espresso | 40 ml

Ristretto | 25 ml

Longer Cups

Carafe | 535 ml

XL | 355 ml


Intensity

Mild

Medium

Intense


Categories

Decaf

Flavoured

Extra Caffeine

Added Vitamins

New Arrivals

In Stock

Recycling

FILTERS


RESET

Recipes

Americano

Cappuccino

Espresso Macchiato

Espresso

Flat White

Latte


Size of cup

Ristretto | 25 ml

Espresso | 40 ml

Lungo | 110 ml


Intensity

Mild

Medium

Intense


Categories

Decaf

Flavoured

New Arrivals

In Stock

Assortments

Recycling

' + '

' + '

Recipes

' + '

' + '

' + '

Americano

' + '

' + '

' + '

Cappuccino

' + '

' + '

' + '

Espresso Macchiato

' + '

' + '

' + '

Espresso

' + '

' + '

' + '

Flat White

' + '

' + '

' + '

Latte

' + '

' + '

' + '
' + '

Size of cup

' + '

' + '

' + '

' + ' ' + ' Ristretto | 25 ml' + '

' + '

' + '

' + '

' + ' ' + ' Espresso | 40 ml' + '

' + '

' + '

' + '

' + ' ' + ' Lungo | 110 ml' + '

' + '

' + '

' + '
' + '

Intensity

' + '

' + '

' + '

Mild

' + '

' + '

' + '

Medium

' + '

' + '

' + '

Intense

' + '

' + '

' + '
' + '

Categories

' + '

' + '

' + '

Decaf

' + '

' + '

' + '

Flavoured

' + '

' + '

' + '

New Arrivals

' + '

' + '

' + '

In Stock

' + '

' + '

' + '

Assortments

' + '

' + '

' + '

Recycling

' + '

' + '

'; selectedCupSizesOL = [] selectedIntensityOL = [] selectedExtrasOL = [] selectedRecipesOL = [] urlProd = window.location.href; if (urlProd.indexOf("/uk/en") > -1) { market = "uk"; currencySymbol = "£" planAmountCurrency = "GBP" marketPrefix = "/uk/en/order/capsules/" titleMarket = "UK" } else if (urlProd.indexOf("/ie/en") > -1) { market = "ie"; currencySymbol = "€" planAmountCurrency = "EUR" marketPrefix = "/ie/en/order/capsules/" titleMarket = "IE" } // $(".VertuoList").html(""); // $(".OriginalList").html(""); $(".podWrapper").remove(); $(".coffee-category").parent(".row").remove(); currentTech = "original"; if ($(window).width() < 767) { $(".filterWrapperOL").hide(); $(".filterWrapperVL").hide(); } else { $(".filterWrapperOL").show(); $(".filterWrapperVL").hide(); } urlProd = window.location.href; if (urlProd.indexOf("/vertuo") > -1) { var newUrl = urlProd.replace("/order/capsules/vertuo", "/order/capsules/original"); // finalUrl = marketPrefix + "original" window.history.pushState({}, '', newUrl); } // finalUrl = marketPrefix + "original/" // window.history.pushState({}, '', finalUrl); duplCategories = []; categories = []; duplCupSizes = []; cupSizes = []; var arrowSpanOL = ` `; $(".filter-cardOL").html(capsuleFiltersOL); $("#headingH").html("NESPRESSO ORIGINAL COFFEE PODS " + arrowSpanOL) $(".VertuoList").hide(); $(".OriginalList").show(); $(".modalButton").attr("data-modal", "modal-original") $(".full-width-hero-content-image").css("background-image", "url('https://www.nespresso.com/static/us/solutions/coffee-plp/assets/images/2022/plp/OL-Overlay-Desktop2880x700-2.jpg?impolicy=large&imwidth=2000')") $("#originalIcon").addClass("selected") $("#original-capsule").attr('fill', '#000000'); $("#vertuo-capsule").attr('fill', '#A9A9A9'); $("#vertuoIcon").removeClass("selected") if ((changeSkuList != "mainList") && (changeSkuList != "undefined") && (changeSkuList != undefined)) { var personalCategory = changeSkuList.slice(-2); // console.log("personalCategory: " + personalCategory); if (personalCategory === "OL") { catVar = changeSkuList + "Categories"; if (window[catVar] != undefined) { customOriginalCategories = window[catVar]; } persList = changeSkuList; // skuListOL = window[changeSkuList]; $("#progressBar").addClass("showProgBar"); } else if (changeSkuList.includes("BOTH")) { var BothCapsList = changeSkuList + "OL"; catVar = BothCapsList + "Categories"; if (window[catVar] != undefined) { customOriginalCategories = window[catVar]; } persList = changeSkuList; // skuListOL = window[BothCapsList]; } else { persList = changeSkuList; $("#progressBar").removeClass("showProgBar"); $("#progressBar").hide(); } } else { $("#progressBar").removeClass("showProgBar"); $("#progressBar").hide(); } async function buildCategories() { if (customOriginalCategories) { //keep this only for custom categories! categories = customOriginalCategories } var i; for (i = 0; i < categories.length; ++i) { await new Promise(next => { capsuleCategory = '

' + '

' + '

' + categories[i] + '

' + '

' + '

' + '

' + '

'; $(capsuleCategory).appendTo(".OriginalList") next() }) } apiBuilderCardsOL() // var seoDeskOL = `

Discover Nespresso's classic espresso experience with Nespresso Original coffee pods. With three sizes to choose from; ristretto, espresso, and lungo, you can enjoy your coffee just the way you like it, whether it's a short and black espresso or with a dash of milk. Indulge in a taste that suits your style wherever your adventures take you.

` var seoDeskOL = `Discover Nespresso's classic espresso experience with Nespresso Original coffee pods. With three sizes to choose from; ristretto, espresso, and lungo, you can enjoy your coffee just the way you like it, whether it's a short and black espresso or with a dash of milk. Indulge in a taste that suits your style wherever your adventures take you.` var seoInternalsOL = `

Buy Nespresso Coffee Pods for your Original Machine
Whether you prefer your coffee black or with milk, find the perfect coffee pod to suit your taste. You can use our range of milk frothers to turn your coffee into the perfect indulgent Latte, Flat White or Cappuccino to match your mood. Make your coffee moments stress free with a subscription and set up a Nespresso Plus delivery and get a complimentary sleeve every month.

` var faqOLUK = `

What Machine does my Original Coffee Pod fit?

Nespresso Original Coffee Pods Are expertly crafted to be used in our Nespresso Original Line Coffee Machines.

Can I recycle my Nespresso Coffee Pods?

Yes. All Nespresso Coffee Pods are recyclable, as they are made from 100% Aluminium. After collection, the coffee pods are taken to a specialist reprocessing plant in the UK to separate the packaging from the used coffee grounds. The coffee grounds are used to create soil improver and renewable energy. The plastic and aluminium will be transformed into new products such as beverage cans.

How do I recycle my Nespresso Coffee Pods?

Nespresso has partnered with the Royal Mail to offer you two convenient ways to recycle. Arrange a collection from home or drop off at one of the 14,000+ Royal Mail locations. Find out more here.

Does Nespresso offer tea or hot chocolate pods?

Nespresso does not have any plans to add tea or hot chocolate pods to our selection. We offer Limited Edition and flavour-infused Variations throughout the year.
Our foremost priority is sourcing the highest quality coffee beans and providing exquisitely unique Coffee and Espresso to our members worldwide. In addition, Nespresso machines are carefully calibrated to produce the perfect cup of coffee, time after time. They would not be ideal for steeping tea or making hot chocolate.

Why are the coffee blends different for Vertuo Line and the Original Line?

Each blend is specifically created (strict bean selection, expert blending, roasting and grinding) for the best interplay and harmony with the brewing parameters produced by the Vertuo Line machines. As these parameters differ from those of the Original Line, it makes sense that the blends are different as well.

How do I make a Latte or Capuccino with Nespresso Original pods?

You can turn your Nespresso coffee into a Latte, Cappuccino or Flat White using one of our milk frothers and following the recipes in our recipes section.

` var faqOLIE = `

What Machine does my Original Coffee Pod fit?

Nespresso Original Coffee Pods Are expertly crafted to be used in our Nespresso Original Line Coffee Machines.

Can I recycle my Nespresso Coffee Pods?

Yes. All Nespresso Coffee Pods are recyclable, as they are made from 100% Aluminium. After collection, the coffee pods are taken to a specialist reprocessing plant in the UK to separate the packaging from the used coffee grounds. The coffee grounds are used to create soil improver and renewable energy. The plastic and aluminium will be transformed into new products such as beverage cans.

How do I recycle my Nespresso Coffee Pods?

Nespresso has partnered with AnPost to offer you two convenient ways to recycle. Arrange a collection from home or drop off at one of the 950+ locations. Find out more here.

Does Nespresso offer tea or hot chocolate pods?

Nespresso does not have any plans to add tea or hot chocolate pods to our selection. We offer Limited Edition and flavour-infused Variations throughout the year.
Our foremost priority is sourcing the highest quality coffee beans and providing exquisitely unique Coffee and Espresso to our members worldwide. In addition, Nespresso machines are carefully calibrated to produce the perfect cup of coffee, time after time. They would not be ideal for steeping tea or making hot chocolate.

Why are the coffee blends different for Vertuo Line and the Original Line?

Each blend is specifically created (strict bean selection, expert blending, roasting and grinding) for the best interplay and harmony with the brewing parameters produced by the Vertuo Line machines. As these parameters differ from those of the Original Line, it makes sense that the blends are different as well.

How do I make a Latte or Capuccino with Nespresso Original pods?

You can turn your Nespresso coffee into a Latte, Cappuccino or Flat White using one of our milk frothers and following the recipes in our recipes section.

` $(".seoDesc").remove() $(".schema-faq-code").remove() if ($(window).width() < 767) { // $(seoDeskOL).appendTo(".OriginalList") $(".techDetails").html(seoDeskOL); $(seoInternalsOL).appendTo(".OriginalList") if (urlProd.indexOf("/uk/en") > -1) { $(faqOLUK).appendTo(".OriginalList") } else { $(faqOLIE).appendTo(".OriginalList") } $(".seoDesc").css("margin-top", "10px") $(".seoDesc").css("padding-right", "12px") } else { // $(seoDeskOL).prependTo(".OriginalList"); $(".techDetails").html(seoDeskOL); $(seoInternalsOL).appendTo(".OriginalList") if (urlProd.indexOf("/uk/en") > -1) { $(faqOLUK).appendTo(".OriginalList") } else { $(faqOLIE).appendTo(".OriginalList") } $(".seoDesc").css("margin-bottom", "10px") // var fullWidth = $(".categoryWrapper").width() // var desktopCard = 276 // var howMany = Math.floor(fullWidth / desktopCard) // var newWidth = ((howMany * desktopCard) - 10) // $(".seoDesc").width(newWidth); } jQuery('.faq-q').click(function () { if (jQuery(this).siblings().find('.faq-a').is(':visible')) { jQuery(this).removeClass('faq-q-open'); jQuery(this).siblings().find('.faq-a').removeClass('faq-a-open').slideUp(); } else { jQuery(this).addClass('faq-q-open'); jQuery(this).siblings().find('.faq-a').addClass('faq-a-open').slideDown(); } }) } function apiBuilderCardsOL() { var totalOffers = 0 console.log("persList: " + persList) $.each(skuListOL, function (index, value) { totalOffersCheck = skuListOL[index].numberOfOffers if (totalOffersCheck) { var totShowcard = true var totStartCheck = true var totEndCheck = true var totStartDate = skuListOL[index].startDate; var totEndDate = skuListOL[index].endDate; var personalisationLists = skuListOL[index].personalisationLists; if (totStartDate) { var totstodaysDate = new Date().getTime(); TotSeparatedDate = totStartDate.split(', '); var year = Number(TotSeparatedDate[0]) var month = Number(TotSeparatedDate[1]) var day = Number(TotSeparatedDate[2]) var hour = Number(TotSeparatedDate[3]) var minute = Number(TotSeparatedDate[4]) var second = Number(TotSeparatedDate[5]) var millisec = Number(TotSeparatedDate[6]) var totCompStartDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (totstodaysDate > totCompStartDate) { var totStartCheck = true } else { var totStartCheck = false } } else { var totStartCheck = true } if (totEndDate) { // console.log("totEndDate: "+ totEndDate) var totetodaysDate = new Date().getTime(); TotSeparatedDate = totEndDate.split(', '); var year = Number(TotSeparatedDate[0]) var month = Number(TotSeparatedDate[1]) var day = Number(TotSeparatedDate[2]) var hour = Number(TotSeparatedDate[3]) var minute = Number(TotSeparatedDate[4]) var second = Number(TotSeparatedDate[5]) var millisec = Number(TotSeparatedDate[6]) var totCompEndDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (totetodaysDate < totCompEndDate) { var totEndCheck = true } else { var totEndCheck = false } } else { var totEndCheck = true } if (personalisationLists) { if (personalisationLists.includes(persList)) { var totShowcard = true } else { var totShowcard = false } } else { var totShowcard = true } if ((totShowcard) && (totStartCheck) && (totEndCheck)) { totalOffers = skuListOL[index].numberOfOffers } } if (skuListOL[index].mainSKU) { var activeSKU = skuListOL[index].mainSKU; napi.catalog().getProduct(activeSKU) .then(function (result) { intensityProduct = 0; cupSize = ["m"]; machineCups = ""; aromatics = NaN; napiSKU = activeSKU; var intensity = ""; var imageProduct = result.responsiveImages.standard + "?impolicy=product&imwidth=200"; var nameProduct = result.name; var URLProduct = result.pdpURLs.desktop; var priceProduct = result.price; var productType = result.type; if (productType == "capsule") { var intensityProduct = result.capsuleProperties.intensity; var cupSize = result.capsuleCupSizes; } var stock = result.inStock; var category = result.category; var headLine = result.headline; if (headLine) { } else { headLine = ""; } var technologyTemp = result.technologies; var str = technologyTemp[0]; var technology = str.split('/')[2]; var aromatics = result.capsuleProductAromatics; var aromaticsText = result.aromaticProfileDescription; var customCategory = skuListOL[index].category; var label = skuListOL[index].label; var labelColor = skuListOL[index].labelColor; var labelTextColor = skuListOL[index].labelTextColor; var labelExtra = skuListOL[index].labelExtra; var labelExtraColor = skuListOL[index].labelExtraColor; var badge = skuListOL[index].badge; var customIntensity = skuListOL[index].customIntensity; var disableATB = skuListOL[index].disableATB; var disableClick = skuListOL[index].disableClick; var SIDS = skuListOL[index].SIDs; var utm_content = skuListOL[index].utm_content; var personalised_label = skuListOL[index].personalised_label_only var recycling = skuListOL[index].recycling; var decaf = skuListOL[index].decaf; var recipes = skuListOL[index].recipes; var flavoured = skuListOL[index].flavoured; var newArrivals = skuListOL[index].newArrivals; var assortments = skuListOL[index].assortments; var extraCaf = skuListOL[index].extraCaf; var addedVit = skuListOL[index].addedVit; var decimalPrice = parseFloat(priceProduct).toFixed(2); var imageOverride = skuListOL[index].imageOverride; var overrideTitle = skuListOL[index].overrideTitle; var aromaticOverRide = skuListOL[index].aromaticOverRide; var lifeStyleImg = skuListOL[index].lifeStyleImg; var largeOffer = skuListOL[index].mobileOffer; var rollupText = skuListOL[index].rollUpText; var discount = skuListOL[index].discount; if (currencySymbol === "€") { var ieDiscount = skuListOL[index].ieDiscount; if (ieDiscount) { var discount = ieDiscount } } var noClickCursor = ""; if (disableClick) { URLProduct = ""; var noClickCursor = "noClickCursor" } var lifeStyleImgClass = ""; var toggleImgClass = "" var divFlex = "" var divEnd = "" if (lifeStyleImg) { var toggleImgClass = "toggleImgClass"; var toggleTracking = "onmouseover=\"promoClickNew('Coffee Quick View - " + activeSKU + "', 'Coffee Quick View', 'PLP','OL')\"" var toggleTrackingMobile = "ontouchstart=\"promoClickNew('Coffee Quick View - " + activeSKU + "', 'Coffee Quick View', 'PLP','OL')\"" var lifeStyleStyle = ""; if ($(window).width() < 767) { var lifeStyleStyle = 'style="width: 100%!important; height: auto!important;"'; var divFlex = "

" var divEnd = "

" } var lifeStyleImgClass = '' + divFlex + 'Nespresso Pods | Coffee Pods & Capsules (11)' + divEnd + ''; } if (aromaticOverRide) { if ($(window).width() < 767) { var aromaticsText = '

' + aromaticOverRide + '

' } else { aromaticsText = aromaticOverRide } } else if (aromaticsText) { if ($(window).width() < 767) { var aromaticsText = '

' + aromaticsText + '

' } else { aromaticsText = aromaticsText } } else { aromaticsText = "" } var hiddenATB = ""; if (disableATB) { var hiddenATB = "hiddenATB"; } if (imageOverride) { imageProduct = imageOverride; var widthOverride = 'style="width: 100%!important;"'; } if (overrideTitle) { nameProduct = overrideTitle; } if (customCategory) { category = customCategory; } var sleeveAmount = 10 if ((activeSKU == "7120.20") || (activeSKU == "7242.50") || (activeSKU == "7243.50") || (activeSKU == "7228.50") || (activeSKU == "7278.50")) { var sleeveAmount = 7 } if ((activeSKU == "7813.20") || (activeSKU == "7814.20")) { var sleeveAmount = 36 } if (activeSKU == "135144") { var sleeveAmount = 5 } SKUData = [imageProduct, nameProduct, URLProduct, decimalPrice, intensityProduct, napiSKU, category, cupSize, headLine, stock, technology, aromatics, aromaticsText]; var intensityBarChar = '' var intensityBarCharEmpty = '' var intensityNumber = '' + intensityProduct + '' var sleevePriceTemp = decimalPrice * sleeveAmount; var sleevePrice = parseFloat(sleevePriceTemp).toFixed(2); if (((intensityProduct >= 2) && (intensityProduct <= 4)) || customIntensity == "mild") { var intensity = "mild" } else if (((intensityProduct >= 5) && (intensityProduct <= 8)) || customIntensity == "medium") { var intensity = "medium" } else if ((intensityProduct >= 9) || customIntensity == "intense") { var intensity = "intense" } var largeCardClass = ""; if (largeOffer) { if (offerCardMobile != "") { var largeCardClass = offerCardMobile; } } var intensityBar = intensityBarChar.repeat(intensityProduct); var intensityBarRemain = intensityBarCharEmpty.repeat(13 - intensityProduct); if (SKUData[4] == 0) { if ($(window).width() < 767) { product = '

' + '

' + label + '

' + labelExtra + '

' + '

' + '

' + ' ' + ' ' + ' ' + lifeStyleImgClass + ' ' + ' ' + aromaticsText + ' ' + '

' + '

Nespresso Pods | Coffee Pods & Capsules (13)

' + '

' + '

' + '

' + '

' + ' ' + nameProduct + '' + '

' + '

' + '

' + '

' + '

' + '

' + ' ' + currencySymbol + decimalPrice + ' / pod' + '

' + '

' + ' ' + currencySymbol + sleevePrice + ' / ' + sleeveAmount + ' pod sleeve' + '

' + '

' + '

' + '

' + '

' + '

' + '

'; } else { product = '

' + '

' + label + '

' + labelExtra + '

' + '

' + ' ' + ' ' + lifeStyleImgClass + ' ' + ' ' + '

Nespresso Pods | Coffee Pods & Capsules (15)

' + '

' + '

' + '

' + '

' + ' ' + nameProduct + '' + '

' + '

' + aromaticsText + '

' + '

' + '

' + '

' + '

' + '

' + ' ' + currencySymbol + decimalPrice + ' / pod' + '

' + '

' + ' ' + currencySymbol + sleevePrice + ' / ' + sleeveAmount + ' pod sleeve' + '

' + '

' + '

' + '

' + '

' + '

' + '

'; } } else { if ($(window).width() < 767) { product = '

' + '

' + label + '

' + labelExtra + '

' + '

' + '

' + ' ' + ' ' + ' ' + lifeStyleImgClass + ' ' + ' ' + aromaticsText + ' ' + '

' + '

' + '

Intensity: ' + intensityNumber + '

' + '

' + '

' + '

' + '

' + '

' + '

' + ' ' + nameProduct + '' + '

' + '

' + '

' + '

' + '

' + '

' + ' ' + currencySymbol + decimalPrice + ' / pod' + '

' + '

' + ' ' + currencySymbol + sleevePrice + ' / ' + sleeveAmount + ' pod sleeve' + ' ' + '

' + '

' + '

' + '

' + '

' + '

' + '

'; } else { product = '

' + '

' + label + '

' + labelExtra + '

' + '

' + ' ' + ' ' + lifeStyleImgClass + ' ' + ' ' + '

' + '

Intensity: ' + intensityNumber + '

' + '

' + '

' + '

' + '

' + '

' + '

' + ' ' + nameProduct + '' + '

' + '

' + aromaticsText + '

' + '

' + '

' + '

' + '

' + '

' + ' ' + currencySymbol + decimalPrice + ' / pod' + '

' + '

' + ' ' + currencySymbol + sleevePrice + ' / ' + sleeveAmount + ' pod sleeve' + ' ' + '

' + '

' + '

' + '

' + '

' + '

' + '

'; } } if (customOriginalCategories) { categories = customOriginalCategories } for (i = 0; i < categories.length; ++i) { currentCategory = $("div.coffee-category[data-category='" + categories[i] + "']").attr("data-category") currentCupSize = "" if (category == categories[i]) { $(product).appendTo($("div.coffee-category[data-category='" + categories[i] + "'] .categoryWrapper")); currentCupSize = categories[i] } else if (categories.indexOf(category) > -1) { } else if (cupSize.indexOf(currentCategory) > -1) { $(product).appendTo($("div.coffee-category[data-category='" + categories[i] + "'] .categoryWrapper")); currentCupSize = categories[i] } if ((activeSKU == "RECYC BAG") || (activeSKU == "RECYC COLLECT")) { $(".podWrapper[data-product-code='" + activeSKU + "'] .capsPrice").html("FREE"); } if (priceProduct > 4) { $(".podWrapper[data-product-code='" + activeSKU + "'] .sleevePriceA").html(""); $(".podWrapper[data-product-code='" + activeSKU + "'] .sleevePrice").html(""); $(".podWrapper[data-product-code='" + activeSKU + "'] .perPod").hide(); } if (decaf) { decaf = "decaf" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-decaf", decaf).addClass(decaf) } if (recycling) { recycling = "recycling" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-recycling", recycling).addClass(recycling) $(".podWrapper[data-product-code='" + activeSKU + "'] .perPod").hide(); $(".podWrapper[data-product-code='" + activeSKU + "'] .sleevePriceA").hide(); $(".podWrapper[data-product-code='" + activeSKU + "'] .sleevePriceAGrid").hide(); } if (flavoured) { flavoured = "flavoured" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-flavoured", flavoured).addClass(flavoured) } if (newArrivals) { newArrivals = "newArrivals" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-newArrivals", newArrivals).addClass(newArrivals) } if (assortments) { assortments = "assortments" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-assortments", assortments).addClass(assortments) } if (extraCaf) { extraCaf = "extraCaf" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-extraCaf", extraCaf).addClass(extraCaf) } if (addedVit) { addedVit = "addedVit" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-addedVit", addedVit).addClass(addedVit) } if (recipes) { $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-recipes", recipes).addClass(recipes) } var priceFilter = priceProduct if (discount) { originalPrice = priceProduct; newPrice = priceProduct - discount; discountSpan = "" + currencySymbol + originalPrice + "" + currencySymbol + newPrice + ""; $('.podWrapper[data-product-code="' + napiSKU + '"] .priceSpan').html(discountSpan); priceFilter = newPrice } var priceRange = "50-150"; if (priceFilter > 149 && priceFilter < 170) { var priceRange = "150-170"; } else if (priceFilter > 169 && priceFilter < 210) { var priceRange = "170-210"; } else if (priceFilter > 209 && priceFilter < 370) { var priceRange = "210-370"; } else if (priceFilter > 369) { var priceRange = "370-700"; } $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-priceRange", priceRange).addClass(priceRange) if (rollupText) { $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-rollUp", rollupText).addClass("rollUpTrue"); } if (stock == true) { var stockTemp = "inStock"; $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-stock", stockTemp).addClass(stockTemp) } $.each(cupSize, function (index, value) { if ((cupSize.indexOf("Espresso") > -1) && (cupSize.indexOf("Lungo") > -1)) { currentCupSize = "Espresso 40ml | Lungo 110ml" } else if ((cupSize.indexOf("Espresso") > -1) && (cupSize.indexOf("Ristretto") > -1)) { currentCupSize = "Ristretto 25ml | Espresso 40ml" } else if (cupSize.indexOf("Espresso") > -1) { currentCupSize = "Espresso | 40ml" } else if (cupSize.indexOf("Lungo") > -1) { currentCupSize = "Lungo | 110ml" } else if (cupSize.indexOf("Ristretto") > -1) { currentCupSize = "Ristretto | 25ml" } else if (cupSize.indexOf("Double Espresso") > -1) { currentCupSize = "Double Espresso | 80ml" } else if (cupSize.indexOf("Mug") > -1) { currentCupSize = "Mug | 230ml" } else if (cupSize.indexOf("Gran Lungo") > -1) { currentCupSize = "Gran Lungo | 150ml" } else if (cupSize.indexOf("Carafe") > -1) { currentCupSize = "Carafe | 535ml" } else if (cupSize.indexOf("XL") > -1) { currentCupSize = "XL | 355ml" } $(".podWrapper[data-product-code='" + activeSKU + "'] .sizeBox").html(currentCupSize); $(".podWrapper[data-product-code='" + activeSKU + "'] .sub-size").css("display", "inline-block"); $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-cup-size", cupSize) var temp = cupSize[index].replace(/\s/g, ''); $(".podWrapper[data-product-code='" + activeSKU + "']").addClass(temp) $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-cup-size", temp) $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-intensity", intensity) }) if (label) { var textColor = "#ffffff"; if (labelTextColor) { var textColor = labelTextColor; } $(".podWrapper[data-product-code='" + activeSKU + "'] .label").css({ "background-color": labelColor, "display": "inline-block", "color": textColor }); } if (labelExtra) { $(".podWrapper[data-product-code='" + activeSKU + "'] .labelExtra").css({ "background-color": labelExtraColor, "display": "inline-block" }); } if ($(window).width() < 767) { $('.mobileImageSlider').owlCarousel({ center: true, items: 1, margin: 0, loop: false, autoplay: false, nav: true, dots: false, responsive: { 0: { items: 1 } } }); } } personalised = NaN if ((SIDS) || (utm_content)) { var logged = $("#custLoggedIn").attr('data-logged'); if (logged == "true") { const intersection = allSIDs.filter(element => SIDS.includes(element)); if (intersection.length > 0) { personalised = "y" if (typeof personalised_label === 'undefined') { $('.podWrapper[data-product-code="' + napiSKU + '"] .label').remove(); } } else { $('.podWrapper[data-product-code="' + napiSKU + '"]').remove(); } } else { //grabs UTM if UTM in the URL $.urlParam = function (name) { var results = new RegExp('[\?&]' + name + '=([^]*)').exec(window.location.href); if (results == null) { return ""; } else { return results[1] || 0; } } //creates utmID variable with the email UTM utmID = ($.urlParam('utm_content')); if (utmID.indexOf(utm_content) > -1) { personalised = "y" } else { if (personalised_label) { $('.podWrapper[data-product-code="' + napiSKU + '"] .label').remove(); } else { $('.podWrapper[data-product-code="' + napiSKU + '"]').remove(); } } } } if (personalised) { if (napiSKU == "NEDIT_TS_OL16") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 11 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 12 } } else if (napiSKU == "NEDIT_TS_OL24") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 16.2 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 17.7 } } else if (napiSKU == "NEDIT_AOT_OL16") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 10.3 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 11.1 } } else if (napiSKU == "NEDIT_AOT_OL24") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 15.8 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 16.9 } } else if (napiSKU == "NEDIT_CS_OL16") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 10.1 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 11.2 } } else if (napiSKU == "NEDIT_CS_OL24") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 15 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 16.7 } } else if (napiSKU == "NEDIT_EXP_OL24") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 16.2 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 17.4 } } else if (napiSKU == "NEDIT_EXP_OL16") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 11.1 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 12 } } // var sleevePrice = decimalPrice * sleeveAmount; // $('.podWrapper[data-product-code="' + napiSKU + '"] .sleevePriceM').html(currencySymbol + sleevePrice); decPrice = parseFloat(decimalPrice).toFixed(2); $('.podWrapper[data-product-code="' + napiSKU + '"] .capsPrice').html(currencySymbol + decPrice); } }).then(function () { if (napiSKU == "7743.50") { if ($('.coffee-category[data-category="More of what you love"] .categoryWrapper ').is(':empty')) { $('.coffee-category[data-category="More of what you love"]').hide(); } } var SKU = activeSKU //if ($(window).width() < 767) { // var buttonSize = 'small' //} else { // var buttonSize = 'large' //} var buttonSize = 'small'; var button = document.createElement('div') var buttonId = 'myNewButton' + activeSKU; button.id = buttonId $('div.cta-green[data-sku="' + activeSKU + '"]').replaceWith(button); window.napi.getConfig().then(() => { window.ui = window.ui || [] window.ui.push({ id: buttonId, module: 'AddToBagButton', configuration: { props: { productId: activeSKU, buttonSize } }, ecommerceData: { activated: true } }) }).catch(e => console.error(e)) $(".categoryTitle").show() }) } else { var orderSKU = skuListOL[index].insertBeforeSKU; if (orderSKU) { var showcard = true var startCheck = true var endCheck = true var personalisationLists = skuListOL[index].personalisationLists; var startDate = skuListOL[index].startDate; var endDate = skuListOL[index].endDate; if (startDate) { var todaysDate = new Date().getTime(); separatedDate = startDate.split(', '); var year = Number(separatedDate[0]) var month = Number(separatedDate[1]) var day = Number(separatedDate[2]) var hour = Number(separatedDate[3]) var minute = Number(separatedDate[4]) var second = Number(separatedDate[5]) var millisec = Number(separatedDate[6]) var compStartDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (todaysDate > compStartDate) { var startCheck = true } else { var startCheck = false } } else { var startCheck = true } if (endDate) { var todaysDate = new Date().getTime(); separatedDate = endDate.split(', '); var year = Number(separatedDate[0]) var month = Number(separatedDate[1]) var day = Number(separatedDate[2]) var hour = Number(separatedDate[3]) var minute = Number(separatedDate[4]) var second = Number(separatedDate[5]) var millisec = Number(separatedDate[6]) var compEndDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (todaysDate < compEndDate) { var endCheck = true } else { var endCheck = false } } else { var endCheck = true } if (personalisationLists) { if (personalisationLists.includes(persList)) { var showcard = true } else { var showcard = false } } else { var showcard = true } if ((showcard == true) && (startCheck == true) && (endCheck == true)) { var ukOnly = skuListOL[index].ukOnly; var ieOnly = skuListOL[index].ieOnly; var merchImageGrid = skuListOL[index].imageGrid; var merchImageIEGrid = skuListOL[index].imageIEGrid; var merchImageGridMobile = skuListOL[index].imageGridMobile; var merchImageIEGridMobile = skuListOL[index].imageIEGridMobile; var merchImageList = skuListOL[index].imageList; var merchImageIEList = skuListOL[index].imageIEList; var merchImageListMobile = skuListOL[index].imageListMobile; var merchImageIEListMobile = skuListOL[index].imageIEListMobile; var merchTitle = skuListOL[index].title; var onclickEvent = skuListOL[index].dataModalID; var isLifestyle = skuListOL[index].isLifestyle; var isBGOnly = skuListOL[index].isBGOnly; var doubleMerch = skuListOL[index].doubleMerch; var imgGift = skuListOL[index].imgGift; var imgGiftIE = skuListOL[index].imgGiftIE; var offerText = skuListOL[index].offerText; if (window.location.href.indexOf("/ie/") > -1) { var offerText = skuListOL[index].offerTextIE; if (skuListOL[index].dataModalIDIE) { var onclickEvent = skuListOL[index].dataModalIDIE; } } var hideBanner = false; if (ukOnly) { if ((ukOnly === "yes") && (titleMarket === "IE")) { var hideBanner = true; } } if (ieOnly) { if ((ieOnly === "yes") && (titleMarket === "UK")) { var hideBanner = true; } } if (hideBanner == false) { var merchCardBg = skuListOL[index].merchCardBg; var merchCardTxtBg = skuListOL[index].merchCardTxtBg; var ctaTxt = skuListOL[index].ctaTxt; var ctaStyle = skuListOL[index].ctaStyle; if (ctaStyle) { } else { ctaStyle = "cta-clear" } var largeCardClass = ""; if (doubleMerch) { var largeCardClass = "DoubleMerchCard"; } var mobileListExtra = "" if ((merchImageIEGrid) && (currencySymbol === "€")) { if ($(window).width() < 767) { var finalImgGrid = merchImageIEGridMobile; var finalImgList = merchImageIEListMobile; if (viewpref == "list") { var mobileListExtra = " merchListMobile " } } else { var finalImgGrid = merchImageIEGrid; var finalImgList = merchImageIEList; } } else { if ($(window).width() < 767) { var finalImgGrid = merchImageGridMobile; var finalImgList = merchImageListMobile; if (viewpref == "list") { var mobileListExtra = " merchListMobile " } } else { var finalImgGrid = merchImageGrid; var finalImgList = merchImageList; } } if (merchImageGrid) { var merchCard = '

' + offerText + '

'; } var bgOnlyMerch = ""; var bgOnlyImgHide = ""; var bgHeightAdjust = ""; var imgResponseLifeStyle = ""; var lifeStyleClass = ""; if (isLifestyle) { if ((imgGiftIE) && (currencySymbol === "€")) { var imgResponseLifeStyle = "style=\"background: url('" + imgGiftIE + "')\""; } else { var imgResponseLifeStyle = "style=\"background: url('" + imgGift + "')\""; } var lifeStyleClass = "responsiveLifestyle"; } else if (isBGOnly) { if ((imgGiftIE) && (currencySymbol === "€")) { var bgOnlyMerch = ` background: url('${imgGiftIE}')`; imgGift = imgGiftIE } else { var bgOnlyMerch = ` background: url('${imgGift}')`; } var bgOnlyImgHide = "bgOnlyImgHide"; var bgHeightAdjust = "bgHeightAdjust"; } var merchCard = `

Nespresso Pods | Coffee Pods & Capsules (18)

${offerText}

` function waitForElm(selector) { return new Promise(resolve => { if (document.querySelector(selector)) { return resolve(document.querySelector(selector)); } const observer = new MutationObserver(mutations => { if (document.querySelector(selector)) { resolve(document.querySelector(selector)); observer.disconnect(); } }); observer.observe(document.body, { childList: true, subtree: true }); }); } waitForElm("div.podWrapper[data-product-code='" + orderSKU + "']").then((elm) => { $(merchCard).insertBefore($("div.podWrapper[data-product-code='" + orderSKU + "']")); if ((imgGiftIE) && (currencySymbol === "€")) { imgGift = imgGiftIE } if (viewpref == "list") { if (isBGOnly) { $("." + merchTitle).css('background-image', 'url("' + imgGift + '")') // thankYouBanner1 } else { $("." + merchTitle).css('background-image', 'url("' + finalImgList + '")') } $(".merchCard").css('background-size', 'cover') $(".merchCard").css('height', '120px'); $(".merchCard").addClass('listViewCard'); } else { if (isBGOnly) { } else { $("." + merchTitle).css('background-image', 'url("' + finalImgGrid + '")') } } updateOfferValues() }); } } } else { var showcard = true var startCheck = true var endCheck = true var personalisationLists = skuListOL[index].personalisationLists; var startDate = skuListOL[index].startDate; var endDate = skuListOL[index].endDate; if (startDate) { var todaysDate = new Date().getTime(); separatedDate = startDate.split(', '); var year = Number(separatedDate[0]) var month = Number(separatedDate[1]) var day = Number(separatedDate[2]) var hour = Number(separatedDate[3]) var minute = Number(separatedDate[4]) var second = Number(separatedDate[5]) var millisec = Number(separatedDate[6]) var compStartDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (todaysDate > compStartDate) { var startCheck = true } else { var startCheck = false } } else { var startCheck = true } if (endDate) { var todaysDate = new Date().getTime(); separatedDate = endDate.split(', '); var year = Number(separatedDate[0]) var month = Number(separatedDate[1]) var day = Number(separatedDate[2]) var hour = Number(separatedDate[3]) var minute = Number(separatedDate[4]) var second = Number(separatedDate[5]) var millisec = Number(separatedDate[6]) var compEndDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (todaysDate < compEndDate) { var endCheck = true } else { var endCheck = false } } else { var endCheck = true } if (personalisationLists) { if (personalisationLists.includes(persList)) { var showcard = true } else { var showcard = false } } else { var showcard = true } if ((showcard == true) && (startCheck == true) && (endCheck == true)) { var bannerImage = skuListOL[index].bannerImage; var visibleOnLoad = skuListOL[index].visibleOnLoad; if (visibleOnLoad) { var checkCookies = Cookies.get("redeemGift"); if (checkCookies) { } else { var popUpIDIE = skuListOL[index].dataModalIDIE if (popUpIDIE) { var popUpID = popUpIDIE } else { var popUpID = skuListOL[index].dataModalID; } var offerTextPopUpIE = skuListOL[index].offerTextIE if ((offerTextPopUpIE) && (window.location.href.indexOf("/ie/") > -1)) { var offerTextPopUp = offerTextPopUpIE } else { var offerTextPopUp = skuListOL[index].offerText; } var offerImgPopUp = skuListOL[index].imgGift $('.onLoadPopIn[data-modal="' + popUpID + '"]').show(); $('.modalOverlay').show(); $('body').css('overflow', 'hidden'); $('.offerTextPopUp').html(offerTextPopUp) $('.offerImgPopUp').attr('src', offerImgPopUp) } } if (bannerImage) { // console.log("found banner image") var ukOnly = skuListOL[index].ukOnly; var ieOnly = skuListOL[index].ieOnly; var merchBannerBgColour = skuListOL[index].BgColour; var mainTitle = skuListOL[index].mainTitle; var ieMainTitle = skuListOL[index].ieMainTitle; var mainTitleSize = skuListOL[index].mainTitleSize var subTitle = skuListOL[index].subTitle; var ieSubTitle = skuListOL[index].ieSubTitle; var CTATitle = skuListOL[index].CTATitle; var onclickEvent = skuListOL[index].dataModalID; var textColor = skuListOL[index].textColor; var ctaStyle = skuListOL[index].ctaStyle; var textSizeSub = skuListOL[index].textSizeSub; var showImage = skuListOL[index].showImage; var isICA = skuListOL[index].isICA; var mobileFlex = skuListOL[index].mobileFlex; var reverseFlex = skuListOL[index].reverseFlex; var mobileBannerImage = skuListOL[index].mobileBannerImage; var offerEnded = skuListOL[index].offerEnded; if (window.location.href.indexOf("/ie/") > -1) { var offerText = skuListOL[index].offerTextIE; if (skuListOL[index].dataModalIDIE) { var onclickEvent = skuListOL[index].dataModalIDIE; } } var hideBanner = false; if (ukOnly) { if ((ukOnly === "yes") && (titleMarket === "IE")) { var hideBanner = true; } } if (ieOnly) { if ((ieOnly === "yes") && (titleMarket === "UK")) { var hideBanner = true; } } if (hideBanner == false) { var mobileFlexClass = ""; var mobilereverseFlexClass = ""; if (mobileFlex) { var mobileFlexClass = "mobileFlexBanner"; } if (reverseFlex) { var mobilereverseFlexClass = "mobileReverseFlexBanner"; } var hiddenImg = ""; var carouselGridClass = " "; var hiddenImgBg = ""; if (showImage) { var hiddenImg = " display: none;"; var carouselGridClass = "bgBannerStyle"; var hiddenImgBg = "style=\"background: url('" + bannerImage + "')\""; } if ($(window).width() > 767) { if (textSizeSub) { var subtitleSize = "font-size: " + textSizeSub + "; line-height: normal;"; } else { var subtitleSize = ""; } } else { var subtitleSize = ""; if (mobileBannerImage) { bannerImage = mobileBannerImage; } } if ((ieSubTitle) && (currencySymbol === "€")) { subTitle = ieSubTitle } if ((ieMainTitle) && (currencySymbol === "€")) { mainTitle = ieMainTitle } if (isICA) { var icaBanner = "icaBanner"; var icaImgBanner = "icaImgBanner"; var icaContainer = "icaContainer"; var ICAbackgroundImage = " background: url('" + bannerImage + "'), linear-gradient(90deg, rgba(243,238,230,1) 50%, rgba(197,173,158,1) 50%)" // var ICAbackgroundImage = " background: url('" + bannerImage + "'), linear-gradient(90deg, rgba(186,156,137,1) 50%, rgba(158,104,68,1) 50%)" // var ICAbackgroundImage = " background: url('" + bannerImage + "'), #f2efe8" var mainBackGround = ""; } else { var mainBackGround = "background-image: url('" + bannerImage + "');"; var icaBanner = ""; var icaImgBanner = ""; var icaContainer = ""; var ICAbackgroundImage = ""; } var titleSize = "l"; if (mainTitleSize) { var titleSize = "xl"; } var offerEndedContent = ""; if (offerEnded) { var offerEndedContent = '

THIS OFFER HAS NOW ENDED

'; } merchBanner = `

${offerEndedContent}

${mainTitle}

${subTitle}

${CTATitle}

` $(".personalisedBannerOL").show() if (($(".personalisedBannerOL").hasClass("owl-loaded")) || ($(".personalisedBannerOL").hasClass("addedOffer"))) { // console.log("personalised banner on") } else { if (totalOffers < 2) { $(".personalisedBannerOL").addClass("addedOffer") } $(merchBanner).appendTo(".personalisedBannerOL") } } } var recipeCard = skuListOL[index].recipeCard; if (recipeCard) { var recipeBgColor = skuListOL[index].recipeBgColor; var recipeImage = skuListOL[index].recipeImage; var recipeTitle = skuListOL[index].recipeTitle; var recipeIngredients = skuListOL[index].recipeIngredients; var recipeMaterials = skuListOL[index].recipeMaterials; var recipeMake = skuListOL[index].recipeMake; if (podGridList == "podWrapperGrid") { //grid recipe var recipeCardDiv = `

${recipeTitle}

RECIPE

+

INGREDIENTS

    ${recipeIngredients}

MATERIALS

    ${recipeMaterials}

LET'S MAKE IT

${recipeMake}

VIEW ALL RECIPES

` } else { if ($(window).width() > 767) { var recipeCardDiv = `

${recipeTitle}

INGREDIENTS

    ${recipeIngredients}

MATERIALS

    ${recipeMaterials}

RECIPE

+

LET'S MAKE IT

${recipeMake}

VIEW ALL RECIPES

` } else { var recipeCardDiv = `

${recipeTitle}

RECIPE

+

INGREDIENTS

    ${recipeIngredients}

MATERIALS

    ${recipeMaterials}

LET'S MAKE IT

${recipeMake}

VIEW ALL RECIPES

` } } var elements = document.getElementsByClassName('categoryWrapper'); var requiredElement = elements[0]; $(recipeCardDiv).appendTo(requiredElement) $("." + recipeCard + " .expandButton").click(function () { $("." + recipeCard + " .recipeIngredientsWrapper").toggleClass(" hiddenRecipe") $("." + recipeCard + " .recipeMakeWrapper").toggleClass("hiddenRecipe") $("." + recipeCard + " .expandButton").toggleClass("activeButton") $("." + recipeCard + ".recipeCard").toggleClass("activeRecipe") $("." + recipeCard + ".recipeCard").toggleClass("expandedMobile") }); } } } } }) if (totalOffers > 1) { $(".carousel-dotsOL").css("display", "flex") $('.personalisedBannerOL').owlCarousel({ center: true, items: 1, loop: false, margin: 0, loop: true, autoplay: false, nav: true, dots: true, dotsContainer: '.carousel-dotsOL', responsive: { 0: { items: 1 } } }); updateOfferValues() } } buildCategories() // var crmString = "m-test"; if ($(window).width() > 767) { // var fullWidth = $(".categoryWrapper:first").width() // var desktopCard = 276 // var howMany = Math.floor(fullWidth / desktopCard) // var newWidth = ((howMany * desktopCard) - 10) // $(".personalisedBanner").width(newWidth); // $(".carouselContent").width(newWidth); // $(".carousel-dotsOL").width(newWidth); } else { $(".personalisedBanner").css("max-width", "100%") $(".carouselContent").css("max-width", "100%") $(".carousel-dotsOL").css("max-width", "100%") } // $(".personalisedBannerOL").html('

    ').hide(); } function mainBuildFunctionVLCards(changeSkuList) { var capsuleFiltersVL = '

    ' + '

    ' + '

    RESET

    ' + '

    ' + '

    ' + '

    Recipes

    ' + '

    ' + '

    ' + '

    Cappuccino

    ' + '

    ' + '

    ' + '

    Espresso Macchiato

    ' + '

    ' + '

    ' + '

    Espresso

    ' + '

    ' + '

    ' + '

    Flat White

    ' + '

    ' + '

    ' + '

    Latte

    ' + '

    ' + '

    ' + '
    ' + '

    Size of cup

    ' + '

    ' + '

    ' + '

    ' + ' ' + ' Mug | 230 ml' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + ' Gran Lungo | 150 ml' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + ' Double Espresso | 80 ml' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + ' Espresso | 40 ml' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + ' Ristretto | 25 ml ' + '

    ' + '

    ' + '

    Longer Cups

    ' + '

    ' + '

    ' + ' ' + ' Carafe | 535 ml' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + ' XL | 355 ml' + '

    ' + '

    ' + '

    ' + '
    ' + '

    Intensity

    ' + '

    ' + '

    ' + '

    Mild

    ' + '

    ' + '

    ' + '

    Medium

    ' + '

    ' + '

    ' + '

    Intense

    ' + '

    ' + '

    ' + '
    ' + '

    Categories

    ' + '

    ' + '

    ' + '

    Decaf

    ' + '

    ' + '

    ' + '

    Flavoured

    ' + '

    ' + '

    ' + '

    Extra Caffeine

    ' + '

    ' + '

    ' + '

    Added Vitamins

    ' + '

    ' + '

    ' + '

    New Arrivals

    ' + '

    ' + '

    ' + '

    In Stock

    ' + '

    ' + '

    ' + '

    Recycling

    ' + '

    ' + '

    '; selectedCupSizesVL = [] selectedIntensityVL = [] selectedExtrasVL = [] selectedRecipesVL = [] urlProd = window.location.href; if (urlProd.indexOf("/uk/en") > -1) { market = "uk"; currencySymbol = "£" planAmountCurrency = "GBP" marketPrefix = "/uk/en/order/capsules/" titleMarket = "UK" } else if (urlProd.indexOf("/ie/en") > -1) { market = "ie"; currencySymbol = "€" planAmountCurrency = "EUR" marketPrefix = "/ie/en/order/capsules/" titleMarket = "IE" } currentTech = "vertuo"; // $(".OriginalList").html(""); // $(".VertuoList").html(""); $(".podWrapper").remove(); // $(".personalisedBanner").html(""); $(".coffee-category").parent(".row").remove(); // $(".personalisedBanner").html("").hide(); if ($(window).width() < 767) { $(".filterWrapperOL").hide(); $(".filterWrapperVL").hide(); } else { $(".filterWrapperOL").hide(); $(".filterWrapperVL").show(); } urlProd = window.location.href; if (urlProd.indexOf("/original") > -1) { // finalUrl = marketPrefix + "vertuo" var newUrl = urlProd.replace("/order/capsules/original", "/order/capsules/vertuo"); window.history.pushState({}, '', newUrl); } duplCategories = []; categories = []; duplCupSizes = []; cupSizes = []; var arrowSpan = ` `; $(".filter-cardVL").html(capsuleFiltersVL); $("#headingH").html("NESPRESSO VERTUO COFFEE PODS " + arrowSpan) $(".OriginalList").hide(); $(".VertuoList").show(); $(".modalButton").attr("data-modal", "modal-vertuo") $(".full-width-hero-content-image").css("background-image", "url('https://www.nespresso.com/shared_res/agility/next-components/assets/hero/background/vl-01_XL.jpg?impolicy=large&imwidth=2000')") $("#vertuoIcon").addClass("selected") $("#vertuo-capsule").attr('fill', '#000000'); $("#original-capsule").attr('fill', '#A9A9A9'); $("#originalIcon").removeClass("selected") if ((changeSkuList != "mainList") && (changeSkuList != "undefined") && (changeSkuList != undefined)) { var personalCategory = changeSkuList.slice(-2); // console.log("personalCategory: " + personalCategory); if (personalCategory === "VL") { catVar = changeSkuList + "Categories"; if (window[catVar] != undefined) { customVertuoCategories = window[catVar]; } persList = changeSkuList; // skuListVL = window[changeSkuList]; $("#progressBar").addClass("showProgBar"); } else if (changeSkuList.includes("BOTH")) { var BothCapsList = changeSkuList + "VL"; // console.log("BothCapsList: " + BothCapsList); catVar = BothCapsList + "Categories"; if (window[catVar] != undefined) { customVertuoCategories = window[catVar]; } persList = changeSkuList; // skuListVL = window[BothCapsList]; } else { persList = changeSkuList; $("#progressBar").removeClass("showProgBar"); $("#progressBar").hide(); } } else { $("#progressBar").removeClass("showProgBar"); $("#progressBar").hide(); } async function buildCategories() { if (customVertuoCategories) { categories = customVertuoCategories } var i; for (i = 0; i < categories.length; ++i) { await new Promise(next => { // var curURL = window.location.href; // // var substring = "/order/capsules/"; // var substring = "/order/capsules/"; // if (curURL.includes(substring)) { // var categoryTitle = categories[i]; // } else { // var categoryTitle = ''; // } var categoryTitle = categories[i]; capsuleCategory = '

    ' + '

    ' + '

    ' + categoryTitle + '

    ' + '

    ' + '

    ' + '

    ' + '

    '; $(capsuleCategory).appendTo(".VertuoList") next() }) } apiBuilderCardsVL() // var seoDeskVL = `

    Welcome to the world of Nespresso's Vertuo coffee pods, where indulgence meets variety. With up to six sizes to choose from, ranging from espresso to mugs, our Vertuo range has something to suit all tastes. Our carefully crafted capsules offer a diverse array of flavours, tailored to delight coffee connoisseurs who like to mix up their coffee experience.

    ` var seoDeskVL = `Welcome to the world of Nespresso's Vertuo coffee pods, where indulgence meets variety. With up to six sizes to choose from, ranging from espresso to mugs, our Vertuo range has something to suit all tastes. Our carefully crafted capsules offer a diverse array of flavours, tailored to delight coffee connoisseurs who like to mix up their coffee experience.` var seoInternalsVL = `

    Buy Nespresso Coffee Pods for your Vertuo Machine
    Whether you prefer your coffee black or with milk, find the perfect coffee pod to suit your taste. You can use our range of milk frothers to turn your coffee into the perfect indulgent Latte, Flat White or Cappuccino to match your mood. Why not make your coffee moments stress free with a subscription and set up a Nespresso Plus delivery and get a complimentary sleeve every month.

    ` var faqVLUK = `

    What Machine does my Vertuo Coffee Pod fit?

    Nespresso Vertuo Coffee Pods are a patented technology and designed only to fit your Nespresso Vertuo Coffee Machine.

    Can I recycle my Nespresso Coffee Pods?

    Yes. All Nespresso Coffee Pods are recyclable, as they are made from 100% Aluminium. After collection, the coffee pods are taken to a specialist reprocessing plant in the UK to separate the packaging from the used coffee grounds. The coffee grounds are used to create soil improver and renewable energy. The plastic and aluminium will be transformed into new products such as beverage cans.

    How do I recycle my Nespresso Coffee Pods?

    Nespresso has partnered with the Royal Mail to offer you two convenient ways to recycle. Arrange a collection from home or drop off at one of the 14,000+ Royal Mail locations. Find out more here.

    Does Nespresso offer tea or hot chocolate pods?

    Nespresso does not have any plans to add tea or hot chocolate pods to our selection. We offer Limited Edition and flavour-infused Variations throughout the year.
    Our foremost priority is sourcing the highest quality coffee beans and providing exquisitely unique Coffee and Espresso to our members worldwide. In addition, Nespresso machines are carefully calibrated to produce the perfect cup of coffee, time after time. They would not be ideal for steeping tea or making hot chocolate.

    Why are the coffee blends different for Vertuo Line and the Original Line?

    Each blend is specifically created (strict bean selection, expert blending, roasting and grinding) for the best interplay and harmony with the brewing parameters produced by the Vertuo Line machines. As these parameters differ from those of the Original Line, it makes sense that the blends are different as well.

    How do I make a Latte or Capuccino with Nespresso Vertuo pods?

    You can turn your Nespresso coffee into a Latte, Cappuccino or Flat White using one of our milk frothers and following the recipes in our recipes section.

    ` var faqVLIE = `

    What Machine does my Vertuo Coffee Pod fit?

    Nespresso Vertuo Coffee Pods are a patented technology and designed only to fit your Nespresso Vertuo Coffee Machine.

    Can I recycle my Nespresso Coffee Pods?

    Yes. All Nespresso Coffee Pods are recyclable, as they are made from 100% Aluminium. After collection, the coffee pods are taken to a specialist reprocessing plant in the UK to separate the packaging from the used coffee grounds. The coffee grounds are used to create soil improver and renewable energy. The plastic and aluminium will be transformed into new products such as beverage cans.

    How do I recycle my Nespresso Coffee Pods?

    Nespresso has partnered with AnPost to offer you two convenient ways to recycle. Arrange a collection from home or drop off at one of the 950+ locations. Find out more here.

    Does Nespresso offer tea or hot chocolate pods?

    Nespresso does not have any plans to add tea or hot chocolate pods to our selection. We offer Limited Edition and flavour-infused Variations throughout the year.
    Our foremost priority is sourcing the highest quality coffee beans and providing exquisitely unique Coffee and Espresso to our members worldwide. In addition, Nespresso machines are carefully calibrated to produce the perfect cup of coffee, time after time. They would not be ideal for steeping tea or making hot chocolate.

    Why are the coffee blends different for Vertuo Line and the Original Line?

    Each blend is specifically created (strict bean selection, expert blending, roasting and grinding) for the best interplay and harmony with the brewing parameters produced by the Vertuo Line machines. As these parameters differ from those of the Original Line, it makes sense that the blends are different as well.

    How do I make a Latte or Capuccino with Nespresso Vertuo pods?

    You can turn your Nespresso coffee into a Latte, Cappuccino or Flat White using one of our milk frothers and following the recipes in our recipes section.

    ` $(".seoDesc").remove() $(".schema-faq-code").remove() if ($(window).width() < 767) { // $(seoDeskVL).appendTo(".VertuoList") $(".techDetails").html(seoDeskVL); $(seoInternalsVL).appendTo(".VertuoList") if (urlProd.indexOf("/uk/en") > -1) { $(faqVLUK).appendTo(".VertuoList") } else { $(faqVLIE).appendTo(".VertuoList") } $(".seoDesc").css("margin-top", "10px") $(".seoDesc").css("padding-right", "12px") } else { // $(seoDeskVL).prependTo(".VertuoList") $(".techDetails").html(seoDeskVL); $(seoInternalsVL).appendTo(".VertuoList") if (urlProd.indexOf("/uk/en") > -1) { $(faqVLUK).appendTo(".VertuoList") } else { $(faqVLIE).appendTo(".VertuoList") } $(".seoDesc").css("margin-bottom", "10px") // var fullWidth = $(".categoryWrapper").width() // var desktopCard = 276 // var howMany = Math.floor(fullWidth / desktopCard) // var newWidth = ((howMany * desktopCard) - 10) // $(".seoDesc").width(newWidth); } jQuery('.faq-q').click(function () { if (jQuery(this).siblings().find('.faq-a').is(':visible')) { jQuery(this).removeClass('faq-q-open'); jQuery(this).siblings().find('.faq-a').removeClass('faq-a-open').slideUp(); } else { jQuery(this).addClass('faq-q-open'); jQuery(this).siblings().find('.faq-a').addClass('faq-a-open').slideDown(); } }) } function apiBuilderCardsVL() { console.log("persList: " + persList) var totalOffers = 0 $.each(skuListVL, function (index, value) { totalOffersCheck = skuListVL[index].numberOfOffers if (totalOffersCheck) { var totShowcard = true var totStartCheck = true var totEndCheck = true var totStartDate = skuListVL[index].startDate; var totEndDate = skuListVL[index].endDate; var personalisationLists = skuListVL[index].personalisationLists; if (totStartDate) { var totstodaysDate = new Date().getTime(); TotSeparatedDate = totStartDate.split(', '); var year = Number(TotSeparatedDate[0]) var month = Number(TotSeparatedDate[1]) var day = Number(TotSeparatedDate[2]) var hour = Number(TotSeparatedDate[3]) var minute = Number(TotSeparatedDate[4]) var second = Number(TotSeparatedDate[5]) var millisec = Number(TotSeparatedDate[6]) var totCompStartDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (totstodaysDate > totCompStartDate) { var totStartCheck = true } else { var totStartCheck = false } } else { var totStartCheck = true } if (totEndDate) { // console.log("totEndDate: "+ totEndDate) var totetodaysDate = new Date().getTime(); TotSeparatedDate = totEndDate.split(', '); var year = Number(TotSeparatedDate[0]) var month = Number(TotSeparatedDate[1]) var day = Number(TotSeparatedDate[2]) var hour = Number(TotSeparatedDate[3]) var minute = Number(TotSeparatedDate[4]) var second = Number(TotSeparatedDate[5]) var millisec = Number(TotSeparatedDate[6]) var totCompEndDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (totetodaysDate < totCompEndDate) { var totEndCheck = true } else { var totEndCheck = false } } else { var totEndCheck = true } if (personalisationLists) { if (personalisationLists.includes(persList)) { var totShowcard = true } else { var totShowcard = false } } else { var totShowcard = true } if ((totShowcard) && (totStartCheck) && (totEndCheck)) { totalOffers = skuListVL[index].numberOfOffers } } if (skuListVL[index].mainSKU) { var activeSKU = skuListVL[index].mainSKU; napi.catalog().getProduct(activeSKU) .then(function (result) { // console.log(result) intensityProduct = 0; cupSize = ["m"]; aromatics = NaN; machineCups = ""; napiSKU = activeSKU; var intensity = ""; var imageProduct = result.responsiveImages.standard + "?impolicy=product&imwidth=200"; var nameProduct = result.name; var URLProduct = result.pdpURLs.desktop; var priceProduct = result.price; var productType = result.type; if (productType == "capsule") { var intensityProduct = result.capsuleProperties.intensity; var cupSize = result.capsuleCupSizes; } var stock = result.inStock; var category = result.category; var headLine = result.headline; if (headLine) { } else { headLine = ""; } var technologyTemp = result.technologies; var str = technologyTemp[0]; var technology = str.split('/')[2]; var aromatics = result.capsuleProductAromatics; var aromaticsText = result.aromaticProfileDescription; var customCategory = skuListVL[index].category; var label = skuListVL[index].label; var labelColor = skuListVL[index].labelColor; var labelTextColor = skuListVL[index].labelTextColor; var labelExtra = skuListVL[index].labelExtra; var labelExtraColor = skuListVL[index].labelExtraColor; var badge = skuListVL[index].badge; var customIntensity = skuListVL[index].customIntensity; var disableATB = skuListVL[index].disableATB; var disableClick = skuListVL[index].disableClick; var SIDS = skuListVL[index].SIDs; var utm_content = skuListVL[index].utm_content; var personalised_label = skuListVL[index].personalised_label_only var recycling = skuListVL[index].recycling; var decaf = skuListVL[index].decaf; var flavoured = skuListVL[index].flavoured; var newArrivals = skuListVL[index].newArrivals; var assortments = skuListVL[index].assortments; var extraCaf = skuListVL[index].extraCaf; var addedVit = skuListVL[index].addedVit; var imageOverride = skuListVL[index].imageOverride; var overrideTitle = skuListVL[index].overrideTitle; var aromaticOverRide = skuListVL[index].aromaticOverRide; var lifeStyleImg = skuListVL[index].lifeStyleImg; var recipes = skuListVL[index].recipes; var largeOffer = skuListVL[index].mobileOffer; var rollupText = skuListVL[index].rollUpText; var discount = skuListVL[index].discount; if (currencySymbol === "€") { var ieDiscount = skuListVL[index].ieDiscount; if (ieDiscount) { var discount = ieDiscount } } var noClickCursor = ""; if (disableClick) { URLProduct = ""; var noClickCursor = "noClickCursor" } var lifeStyleImgClass = ""; var toggleImgClass = "" var divFlex = "" var divEnd = "" if (lifeStyleImg) { var toggleImgClass = "toggleImgClass"; var toggleTracking = "onmouseover=\"promoClickNew('Coffee Quick View - " + activeSKU + "', 'Coffee Quick View', 'PLP','VL')\"" var toggleTrackingMobile = "ontouchstart=\"promoClickNew('Coffee Quick View - " + activeSKU + "', 'Coffee Quick View', 'PLP','VL')\"" var lifeStyleStyle = ""; if ($(window).width() < 767) { var lifeStyleStyle = 'style="width: 100%!important; height: auto!important;"'; var divFlex = "

    " var divEnd = "

    " } var lifeStyleImgClass = '' + divFlex + 'Nespresso Pods | Coffee Pods & Capsules (19)' + divEnd + ''; } if (aromaticOverRide) { if ($(window).width() < 767) { var aromaticsText = '

    ' + aromaticOverRide + '

    ' } else { var aromaticsText = aromaticOverRide } } else if (aromaticsText) { if ($(window).width() < 767) { var aromaticsText = '

    ' + aromaticsText + '

    ' } else { var aromaticsText = aromaticsText } } else { aromaticsText = "" } var hiddenATB = ""; if (disableATB) { var hiddenATB = "hiddenATB"; } if (imageOverride) { imageProduct = imageOverride; var widthOverride = 'style="width: 100%!important;"'; } if (overrideTitle) { nameProduct = overrideTitle; } var decimalPrice = parseFloat(priceProduct).toFixed(2); if (customCategory) { category = customCategory; } var sleeveAmount = 10 if ((activeSKU == "7120.20") || (activeSKU == "7242.50") || (activeSKU == "7243.50") || (activeSKU == "7228.50") || (activeSKU == "7278.50")) { var sleeveAmount = 7 } if (activeSKU == "7284.50") { nameProduct = "Nespresso | Starbucks Reserve Remix Blend "; } SKUData = [imageProduct, nameProduct, URLProduct, decimalPrice, intensityProduct, napiSKU, category, cupSize, headLine, stock, technology, aromatics]; var intensityBarChar = '' var intensityBarCharEmpty = '' var intensityNumber = '' + intensityProduct + '' var sleevePriceTemp = decimalPrice * sleeveAmount; var sleevePrice = parseFloat(sleevePriceTemp).toFixed(2); if (productType == "capsule") { var sleeveDiv = `

    ${currencySymbol}${sleevePrice} / ${sleeveAmount} pod sleeve

    `; } else { var sleeveDiv = ""; } if (((intensityProduct >= 2) && (intensityProduct <= 4)) || customIntensity == "mild") { var intensity = "mild" } else if (((intensityProduct >= 5) && (intensityProduct <= 8)) || customIntensity == "medium") { var intensity = "medium" } else if ((intensityProduct >= 9) || customIntensity == "intense") { var intensity = "intense" } var intensityBar = intensityBarChar.repeat(intensityProduct); var intensityBarRemain = intensityBarCharEmpty.repeat(13 - intensityProduct); var largeCardClass = ""; if (largeOffer) { if (offerCardMobile != "") { var largeCardClass = offerCardMobile; } } // console.log("URLProduct: "+URLProduct) if (SKUData[4] == 0) { if ($(window).width() < 767) { product = '

    ' + '

    ' + label + '

    ' + labelExtra + '

    ' + '

    ' + '

    ' + ' ' + ' ' + ' ' + lifeStyleImgClass + ' ' + ' ' + aromaticsText + ' ' + '

    ' + '

    Nespresso Pods | Coffee Pods & Capsules (21)

    ' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + nameProduct + '' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + currencySymbol + decimalPrice + ' / pod' + '

    ' + ' ' + sleeveDiv + ' ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    '; } else { product = '

    ' + '

    ' + label + '

    ' + labelExtra + '

    ' + '

    ' + ' ' + ' ' + lifeStyleImgClass + ' ' + ' ' + '

    Nespresso Pods | Coffee Pods & Capsules (23)

    ' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + nameProduct + '' + '

    ' + '

    ' + aromaticsText + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + currencySymbol + decimalPrice + ' / pod' + '

    ' + ' ' + sleeveDiv + ' ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    '; } } else { if ($(window).width() < 767) { product = '

    ' + '

    ' + label + '

    ' + labelExtra + '

    ' + '

    ' + '

    ' + ' ' + ' ' + ' ' + lifeStyleImgClass + ' ' + ' ' + aromaticsText + ' ' + '

    ' + '

    ' + '

    Intensity: ' + intensityNumber + '

    ' + '

    Nespresso Pods | Coffee Pods & Capsules (25)

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + nameProduct + '' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + currencySymbol + decimalPrice + ' / pod' + '

    ' + '

    ' + ' ' + currencySymbol + sleevePrice + ' / ' + sleeveAmount + ' pod sleeve' + ' ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    '; } else { product = '

    ' + '

    ' + label + '

    ' + labelExtra + '

    ' + '

    ' + ' ' + ' ' + lifeStyleImgClass + ' ' + ' ' + '

    ' + '

    Intensity: ' + intensityNumber + '

    ' + '

    Nespresso Pods | Coffee Pods & Capsules (27)

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + nameProduct + '' + '

    ' + '

    ' + aromaticsText + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + ' ' + currencySymbol + decimalPrice + ' / pod' + '

    ' + '

    ' + ' ' + currencySymbol + sleevePrice + ' / ' + sleeveAmount + ' pod sleeve' + ' ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    ' + '

    '; } } if (customVertuoCategories) { categories = customVertuoCategories } for (i = 0; i < categories.length; ++i) { currentCategory = $("div.coffee-category[data-category='" + categories[i] + "']").attr("data-category") currentCupSize = "" if (category == categories[i]) { $(product).appendTo($("div.coffee-category[data-category='" + categories[i] + "'] .categoryWrapper")); currentCupSize = categories[i] } else if (categories.indexOf(category) > -1) { } else if (cupSize.indexOf(currentCategory) > -1) { $(product).appendTo($("div.coffee-category[data-category='" + categories[i] + "'] .categoryWrapper")); currentCupSize = categories[i] } if ((priceProduct > 4)) { $(".podWrapper[data-product-code='" + activeSKU + "'] .sleevePriceA").html(""); $(".podWrapper[data-product-code='" + activeSKU + "'] .sleevePrice").html(""); $(".podWrapper[data-product-code='" + activeSKU + "'] .perPod").hide(); } if ((activeSKU == "RECYC BAG") || (activeSKU == "RECYC COLLECT")) { $(".podWrapper[data-product-code='" + activeSKU + "'] .capsPrice").html("FREE"); } if (decaf) { decaf = "decaf" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-decaf", decaf).addClass(decaf) } if (recycling) { recycling = "recycling" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-recycling", recycling).addClass(recycling) $(".podWrapper[data-product-code='" + activeSKU + "'] .perPod").hide(); $(".podWrapper[data-product-code='" + activeSKU + "'] .sleevePriceA").hide(); $(".podWrapper[data-product-code='" + activeSKU + "'] .sleevePriceAGrid").hide(); } if (flavoured) { flavoured = "flavoured" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-flavoured", flavoured).addClass(flavoured) } if (newArrivals) { newArrivals = "newArrivals" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-newArrivals", newArrivals).addClass(newArrivals) } if (assortments) { assortments = "assortments" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-assortments", assortments).addClass(assortments) } if (extraCaf) { extraCaf = "extraCaf" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-extraCaf", extraCaf).addClass(extraCaf) } if (addedVit) { addedVit = "addedVit" $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-addedVit", addedVit).addClass(addedVit) } if (recipes) { $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-recipes", recipes).addClass(recipes) } var priceFilter = priceProduct if (discount) { originalPrice = priceProduct; newPrice = priceProduct - discount; discountSpan = "" + currencySymbol + originalPrice + "" + currencySymbol + newPrice + ""; $('.podWrapper[data-product-code="' + napiSKU + '"] .priceSpan').html(discountSpan); priceFilter = newPrice } var priceRange = "50-150"; if (priceFilter > 149 && priceFilter < 170) { var priceRange = "150-170"; } else if (priceFilter > 169 && priceFilter < 210) { var priceRange = "170-210"; } else if (priceFilter > 209 && priceFilter < 370) { var priceRange = "210-370"; } else if (priceFilter > 369) { var priceRange = "370-700"; } $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-priceRange", priceRange).addClass(priceRange) if (rollupText) { $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-rollUp", rollupText).addClass("rollUpTrue"); } if (stock == true) { var stockTemp = "inStock"; $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-stock", stockTemp).addClass(stockTemp) } $.each(cupSize, function (index, value) { currentCupSizeImage = ""; if ((cupSize.indexOf("Espresso") > -1) && (cupSize.indexOf("Lungo") > -1)) { currentCupSize = "Espresso 40ml | Lungo 110ml" currentCupSizeImage = ""; } else if ((cupSize.indexOf("Espresso") > -1) && (cupSize.indexOf("Ristretto") > -1)) { currentCupSize = "Ristretto 25ml | Espresso 40ml" currentCupSizeImage = ""; } else if (cupSize.indexOf("Espresso") > -1) { currentCupSize = "Espresso | 40ml" currentCupSizeImage = "https://www.nespresso.com/ecom/medias/sys_master/public/26851767156766/espresso.png"; } else if (cupSize.indexOf("Lungo") > -1) { currentCupSize = "Lungo | 110ml" currentCupSizeImage = ""; } else if (cupSize.indexOf("Ristretto") > -1) { currentCupSize = "Ristretto | 25ml" currentCupSizeImage = ""; } else if (cupSize.indexOf("Double Espresso") > -1) { currentCupSize = "Double Espresso | 80ml" currentCupSizeImage = "https://www.nespresso.com/ecom/medias/sys_master/public/26851898818590/doubleespresso.png"; } else if (cupSize.indexOf("Mug") > -1) { currentCupSize = "Mug | 230ml" currentCupSizeImage = "https://www.nespresso.com/ecom/medias/sys_master/public/26851900031006/mug.png"; } else if (cupSize.indexOf("Gran Lungo") > -1) { currentCupSize = "Gran Lungo | 150ml" currentCupSizeImage = "https://www.nespresso.com/ecom/medias/sys_master/public/26851899342878/granlungo.png"; } else if (cupSize.indexOf("Carafe") > -1) { currentCupSize = "Carafe | 535ml" currentCupSizeImage = "https://www.nespresso.com/ecom/medias/sys_master/public/26851900456990/carrafe.png"; } else if (cupSize.indexOf("XL") > -1) { currentCupSize = "XL | 355ml" currentCupSizeImage = ""; } else if (cupSize.indexOf("Cold Brew") > -1) { currentCupSize = "Cold Brew | 355ml" currentCupSizeImage = ""; } $(".podWrapper[data-product-code='" + activeSKU + "'] .sizeBox").html(currentCupSize); $(".podWrapper[data-product-code='" + activeSKU + "'] .sizeBoxImage").attr('src', currentCupSizeImage); $(".podWrapper[data-product-code='" + activeSKU + "'] .sub-size").css("display", "inline-block"); $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-cup-size", cupSize) var temp = cupSize[index].replace(/\s/g, ''); $(".podWrapper[data-product-code='" + activeSKU + "']").addClass(temp) $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-cup-size", temp) $(".podWrapper[data-product-code='" + activeSKU + "']").attr("data-intensity", intensity) }) if (label) { var textColor = "#ffffff"; if (labelTextColor) { var textColor = labelTextColor; } $(".podWrapper[data-product-code='" + activeSKU + "'] .label").css({ "background-color": labelColor, "display": "inline-block", "color": textColor }); } if (labelExtra) { $(".podWrapper[data-product-code='" + activeSKU + "'] .labelExtra").css({ "background-color": labelExtraColor, "display": "inline-block" }); } if ($(window).width() < 767) { $('.mobileImageSlider').owlCarousel({ center: true, items: 1, margin: 0, loop: false, autoplay: false, nav: true, dots: false, responsive: { 0: { items: 1 } } }); } } personalised = NaN if ((SIDS) || (utm_content)) { var logged = $("#custLoggedIn").attr('data-logged'); if (logged == "true") { const intersection = allSIDs.filter(element => SIDS.includes(element)); if (intersection.length > 0) { personalised = "y" if (typeof personalised_label === 'undefined') { $('.podWrapper[data-product-code="' + napiSKU + '"] .label').remove(); } } else { $('.podWrapper[data-product-code="' + napiSKU + '"]').remove(); } } else { //grabs UTM if UTM in the URL $.urlParam = function (name) { var results = new RegExp('[\?&]' + name + '=([^]*)').exec(window.location.href); if (results == null) { return ""; } else { return results[1] || 0; } } //creates utmID variable with the email UTM utmID = ($.urlParam('utm_content')); if (utmID.indexOf(utm_content) > -1) { personalised = "y" } else { if (personalised_label) { $('.podWrapper[data-product-code="' + napiSKU + '"] .label').remove(); } else { $('.podWrapper[data-product-code="' + napiSKU + '"]').remove(); } } } } if (personalised) { if (napiSKU == "NEDIT_TS_OL16") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 11 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 12 } } else if (napiSKU == "NEDIT_TS_OL24") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 16.2 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 17.7 } } else if (napiSKU == "NEDIT_AOT_OL16") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 10.3 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 11.1 } } else if (napiSKU == "NEDIT_AOT_OL24") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 15.8 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 16.9 } } else if (napiSKU == "NEDIT_CS_OL16") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 10.1 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 11.2 } } else if (napiSKU == "NEDIT_CS_OL24") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 15 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 16.7 } } else if (napiSKU == "NEDIT_EXP_OL24") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 16.2 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 17.4 } } else if (napiSKU == "NEDIT_EXP_OL16") { if (urlProd.indexOf("/uk/en") > -1) { var decimalPrice = decimalPrice - 11.1 } else if (urlProd.indexOf("/ie/en") > -1) { var decimalPrice = decimalPrice - 12 } } // var sleevePrice = decimalPrice * sleeveAmount; // $('.podWrapper[data-product-code="' + napiSKU + '"] .sleevePriceM').html(currencySymbol + sleevePrice); decPrice = parseFloat(decimalPrice).toFixed(2); $('.podWrapper[data-product-code="' + napiSKU + '"] .capsPrice').html(currencySymbol + decPrice); } }).then(function () { var SKU = activeSKU var buttonSize = 'small'; var button = document.createElement('div') var buttonId = 'myNewButton' + activeSKU; button.id = buttonId $('div.cta-green[data-sku="' + activeSKU + '"]').replaceWith(button); window.napi.getConfig().then(() => { window.ui = window.ui || [] window.ui.push({ id: buttonId, module: 'AddToBagButton', configuration: { props: { productId: activeSKU, buttonSize } }, ecommerceData: { activated: true } }) }).catch(e => console.error(e)) $(".categoryTitle").show() }) } else { var orderSKU = skuListVL[index].insertBeforeSKU; if (orderSKU) { var showcard = true var startCheck = true var endCheck = true var personalisationLists = skuListVL[index].personalisationLists; var startDate = skuListVL[index].startDate; var endDate = skuListVL[index].endDate; if (startDate) { var todaysDate = new Date().getTime(); separatedDate = startDate.split(', '); var year = Number(separatedDate[0]) var month = Number(separatedDate[1]) var day = Number(separatedDate[2]) var hour = Number(separatedDate[3]) var minute = Number(separatedDate[4]) var second = Number(separatedDate[5]) var millisec = Number(separatedDate[6]) var compStartDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (todaysDate > compStartDate) { var startCheck = true } else { var startCheck = false } } else { var startCheck = true } if (endDate) { var todaysDate = new Date().getTime(); separatedDate = endDate.split(', '); var year = Number(separatedDate[0]) var month = Number(separatedDate[1]) var day = Number(separatedDate[2]) var hour = Number(separatedDate[3]) var minute = Number(separatedDate[4]) var second = Number(separatedDate[5]) var millisec = Number(separatedDate[6]) var compEndDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (todaysDate < compEndDate) { var endCheck = true } else { var endCheck = false } } else { var endCheck = true } if (personalisationLists) { if (personalisationLists.includes(persList)) { var showcard = true } else { var showcard = false } } else { var showcard = true } if ((showcard == true) && (startCheck == true) && (endCheck == true)) { var ukOnly = skuListVL[index].ukOnly; var ieOnly = skuListVL[index].ieOnly; var orderSKU = skuListVL[index].insertBeforeSKU; var merchImageGrid = skuListVL[index].imageGrid; var merchImageIEGrid = skuListVL[index].imageIEGrid; var merchImageGridMobile = skuListVL[index].imageGridMobile; var merchImageIEGridMobile = skuListVL[index].imageIEGridMobile; var merchImageList = skuListVL[index].imageList; var merchImageIEList = skuListVL[index].imageIEList; var merchImageListMobile = skuListVL[index].imageListMobile; var merchImageIEListMobile = skuListVL[index].imageIEListMobile; var merchTitle = skuListVL[index].title; var onclickEvent = skuListVL[index].dataModalID; var isLifestyle = skuListVL[index].isLifestyle; var isBGOnly = skuListVL[index].isBGOnly; var imgGift = skuListVL[index].imgGift; var imgGiftIE = skuListVL[index].imgGiftIE; var offerText = skuListVL[index].offerText; var merchCardBg = skuListVL[index].merchCardBg; var merchCardTxtBg = skuListVL[index].merchCardTxtBg; var ctaTxt = skuListVL[index].ctaTxt; var ctaStyle = skuListVL[index].ctaStyle; var doubleMerch = skuListVL[index].doubleMerch; if (ctaStyle) { } else { ctaStyle = "cta-clear" } if (window.location.href.indexOf("/ie/") > -1) { var offerText = skuListVL[index].offerTextIE; if (skuListVL[index].dataModalIDIE) { var onclickEvent = skuListVL[index].dataModalIDIE; } } var hideBanner = false; if (ukOnly) { if ((ukOnly === "yes") && (titleMarket === "IE")) { var hideBanner = true; } } if (ieOnly) { if ((ieOnly === "yes") && (titleMarket === "UK")) { var hideBanner = true; } } if (hideBanner == false) { var mobileListExtra = ""; if ((merchImageIEGrid) && (currencySymbol === "€")) { if ($(window).width() < 767) { var finalImgGrid = merchImageIEGridMobile; var finalImgList = merchImageIEListMobile; if (viewpref == "list") { var mobileListExtra = " merchListMobile " } } else { var finalImgGrid = merchImageIEGrid; var finalImgList = merchImageIEList; } } else { if ($(window).width() < 767) { var finalImgGrid = merchImageGridMobile; var finalImgList = merchImageListMobile; if (viewpref == "list") { var mobileListExtra = " merchListMobile " } } else { var finalImgGrid = merchImageGrid; var finalImgList = merchImageList; } } var largeCardClass = ""; if (doubleMerch) { var largeCardClass = "DoubleMerchCard"; } var bgOnlyMerch = ""; var bgOnlyImgHide = ""; var bgHeightAdjust = ""; var imgResponseLifeStyle = ""; var lifeStyleClass = ""; if (isLifestyle) { if ((imgGiftIE) && (currencySymbol === "€")) { var imgResponseLifeStyle = "style=\"background: url('" + imgGiftIE + "')\""; } else { var imgResponseLifeStyle = "style=\"background: url('" + imgGift + "')\""; } var lifeStyleClass = "responsiveLifestyle"; } else if (isBGOnly) { if ((imgGiftIE) && (currencySymbol === "€")) { var bgOnlyMerch = ` background: url('${imgGiftIE}')`; } else { var bgOnlyMerch = ` background: url('${imgGift}')`; } var bgOnlyImgHide = "bgOnlyImgHide"; var bgHeightAdjust = "bgHeightAdjust"; } if (merchImageGrid) { var merchCard = '

    ' + offerText + '

    '; } else { if ((imgGiftIE) && (currencySymbol === "€")) { imgGift = imgGiftIE } var merchCard = `

    Nespresso Pods | Coffee Pods & Capsules (28)

    ${offerText}

    ` } function waitForElm(selector) { return new Promise(resolve => { if (document.querySelector(selector)) { return resolve(document.querySelector(selector)); } const observer = new MutationObserver(mutations => { if (document.querySelector(selector)) { resolve(document.querySelector(selector)); observer.disconnect(); } }); observer.observe(document.body, { childList: true, subtree: true }); }); } waitForElm("div.podWrapper[data-product-code='" + orderSKU + "']").then((elm) => { $(merchCard).insertBefore($("div.podWrapper[data-product-code='" + orderSKU + "']")); if (viewpref == "list") { if (isBGOnly) { if ((imgGiftIE) && (currencySymbol === "€")) { $("." + merchTitle).css('background-image', 'url("' + imgGiftIE + '")') } else { $("." + merchTitle).css('background-image', 'url("' + imgGift + '")') } // thankYouBanner1 } else { $("." + merchTitle).css('background-image', 'url("' + finalImgList + '")') } $(".merchCard").css('background-size', 'cover') $(".merchCard").css('height', '120px'); $(".merchCard").addClass('listViewCard'); } else { if (isBGOnly) { } else { $("." + merchTitle).css('background-image', 'url("' + finalImgGrid + '")') } } updateOfferValues() }); } } } else { var showcard = true var startCheck = true var endCheck = true var personalisationLists = skuListVL[index].personalisationLists; var startDate = skuListVL[index].startDate; var endDate = skuListVL[index].endDate; if (startDate) { var todaysDate = new Date().getTime(); separatedDate = startDate.split(', '); var year = Number(separatedDate[0]) var month = Number(separatedDate[1]) var day = Number(separatedDate[2]) var hour = Number(separatedDate[3]) var minute = Number(separatedDate[4]) var second = Number(separatedDate[5]) var millisec = Number(separatedDate[6]) var compStartDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (todaysDate > compStartDate) { var startCheck = true } else { var startCheck = false } } else { var startCheck = true } if (endDate) { var todaysDate = new Date().getTime(); separatedDate = endDate.split(', '); var year = Number(separatedDate[0]) var month = Number(separatedDate[1]) var day = Number(separatedDate[2]) var hour = Number(separatedDate[3]) var minute = Number(separatedDate[4]) var second = Number(separatedDate[5]) var millisec = Number(separatedDate[6]) var compEndDate = new Date(year, month, day, hour, minute, second, millisec).getTime(); if (todaysDate < compEndDate) { var endCheck = true } else { var endCheck = false } } else { var endCheck = true } if (personalisationLists) { console.log("personalisationLists: " + personalisationLists) console.log("persList: " + persList) if (personalisationLists.includes(persList)) { var showcard = true } else { var showcard = false } } else { var showcard = true } if ((showcard == true) && (startCheck == true) && (endCheck == true)) { var bannerImage = skuListVL[index].bannerImage; var visibleOnLoad = skuListVL[index].visibleOnLoad; if (visibleOnLoad) { var checkCookies = Cookies.get("redeemGift"); if (checkCookies) { } else { var popUpIDIE = skuListVL[index].dataModalIDIE if (popUpIDIE) { var popUpID = popUpIDIE } else { var popUpID = skuListVL[index].dataModalID; } var offerTextPopUpIE = skuListVL[index].offerTextIE if ((offerTextPopUpIE) && (window.location.href.indexOf("/ie/") > -1)) { var offerTextPopUp = offerTextPopUpIE } else { var offerTextPopUp = skuListVL[index].offerText; } var offerImgPopUp = skuListVL[index].imgGift $('.onLoadPopIn[data-modal="' + popUpID + '"]').show(); $('.modalOverlay').show(); $('body').css('overflow', 'hidden'); $('.offerTextPopUp').html(offerTextPopUp) $('.offerImgPopUp').attr('src', offerImgPopUp) } } if (bannerImage) { var ukOnly = skuListVL[index].ukOnly; var ieOnly = skuListVL[index].ieOnly; var merchBannerBgColour = skuListVL[index].BgColour; var mainTitle = skuListVL[index].mainTitle; var ieMainTitle = skuListVL[index].ieMainTitle; var mainTitleSize = skuListVL[index].mainTitleSize var subTitle = skuListVL[index].subTitle; var ieSubTitle = skuListVL[index].ieSubTitle; var CTATitle = skuListVL[index].CTATitle; var onclickEvent = skuListVL[index].dataModalID; var textColor = skuListVL[index].textColor; var ctaStyle = skuListVL[index].ctaStyle; var textSizeSub = skuListVL[index].textSizeSub; var showImage = skuListVL[index].showImage; var isICA = skuListVL[index].isICA; var mobileFlex = skuListVL[index].mobileFlex; var reverseFlex = skuListVL[index].reverseFlex; var mobileBannerImage = skuListVL[index].mobileBannerImage; var offerEnded = skuListVL[index].offerEnded; // console.log("mainTitle: "+ mainTitle) if (window.location.href.indexOf("/ie/") > -1) { var offerText = skuListVL[index].offerTextIE; if (skuListVL[index].dataModalIDIE) { var onclickEvent = skuListVL[index].dataModalIDIE; } } var hideBanner = false; if (ukOnly) { if ((ukOnly === "yes") && (titleMarket === "IE")) { var hideBanner = true; } } if (ieOnly) { if ((ieOnly === "yes") && (titleMarket === "UK")) { var hideBanner = true; } } if (hideBanner == false) { var mobileFlexClass = ""; var mobilereverseFlexClass = ""; if (mobileFlex) { var mobileFlexClass = "mobileFlexBanner"; } if (reverseFlex) { var mobilereverseFlexClass = "mobileReverseFlexBanner"; } var hiddenImg = ""; var carouselGridClass = " "; var hiddenImgBg = ""; if (showImage) { var hiddenImg = " display: none;"; var carouselGridClass = "bgBannerStyle"; var hiddenImgBg = "style=\"background: url('" + bannerImage + "')\""; } if ($(window).width() > 767) { if (textSizeSub) { var subtitleSize = "font-size: " + textSizeSub + "; line-height: normal;"; } else { var subtitleSize = ""; } } else { var subtitleSize = ""; if (mobileBannerImage) { bannerImage = mobileBannerImage; } } if ((ieSubTitle) && (currencySymbol === "€")) { subTitle = ieSubTitle } if ((ieMainTitle) && (currencySymbol === "€")) { mainTitle = ieMainTitle } var offerEndedContent = ""; if (offerEnded) { var offerEndedContent = '

    THIS OFFER HAS NOW ENDED

    '; } if (isICA) { var icaBanner = "icaBanner"; var icaImgBanner = "icaImgBanner"; var icaContainer = "icaContainer"; var ICAbackgroundImage = " background: url('" + bannerImage + "'), linear-gradient(90deg, rgba(243,238,230,1) 50%, rgba(197,173,158,1) 50%)" // var ICAbackgroundImage = " background: url('" + bannerImage + "'), linear-gradient(90deg, rgba(186,156,137,1) 50%, rgba(158,104,68,1) 50%)" // var ICAbackgroundImage = " background: url('" + bannerImage + "'), #f2efe8" var mainBackGround = ""; } else { var mainBackGround = "background-image: url('" + bannerImage + "');"; var icaBanner = ""; var icaImgBanner = ""; var icaContainer = ""; var ICAbackgroundImage = ""; } var titleSize = "l"; if (mainTitleSize) { var titleSize = "xl"; } merchBanner = `

    ${offerEndedContent}

    ${mainTitle}

    ${subTitle}

    ${CTATitle}

    ` $(".personalisedBannerVL").show() if (($(".personalisedBannerVL").hasClass("owl-loaded")) || ($(".personalisedBannerVL").hasClass("addedOffer"))) { } else { $(merchBanner).appendTo(".personalisedBannerVL") if (totalOffers < 2) { $(".personalisedBannerVL").addClass("addedOffer") } } } } var recipeCard = skuListVL[index].recipeCard; var expandableCard = skuListVL[index].expandableCard; if (recipeCard) { var recipeBgColor = skuListVL[index].recipeBgColor; var recipeImage = skuListVL[index].recipeImage; var recipeTitle = skuListVL[index].recipeTitle; var recipeIngredients = skuListVL[index].recipeIngredients; var recipeMaterials = skuListVL[index].recipeMaterials; var recipeMake = skuListVL[index].recipeMake; var insertCategory = skuListVL[index].insertCategory; var tierBadge = skuListVL[index].tierBadge; if (podGridList == "podWrapperGrid") { //grid recipe if (expandableCard) { if (tierBadge == "ambassador") { logoAmbassador = `` var recipeCardDiv = `

    Nespresso Pods | Coffee Pods & Capsules (29)

    ${logoAmbassador}

    Access to exclusive products… ​

    FIND OUT MORE

    +

    ${recipeMake}

    ` } else { var recipeCardDiv = `

    Nespresso Pods | Coffee Pods & Capsules (30)

    Exclusive access
    as a subscriber…​

    FIND OUT MORE

    +

    ${recipeMake}

    ` } } else { var recipeCardDiv = `

    ${recipeTitle}

    RECIPE

    +

    INGREDIENTS

      ${recipeIngredients}

    MATERIALS

      ${recipeMaterials}

    LET'S MAKE IT

    ${recipeMake}

    VIEW ALL RECIPES

    ` } } else { if ($(window).width() > 767) { var recipeCardDiv = `

    ${recipeTitle}

    INGREDIENTS

      ${recipeIngredients}

    MATERIALS

      ${recipeMaterials}

    RECIPE

    +

    LET'S MAKE IT

    ${recipeMake}

    VIEW ALL RECIPES

    ` } else { var recipeCardDiv = `

    ${recipeTitle}

    RECIPE

    +

    INGREDIENTS

      ${recipeIngredients}

    MATERIALS

      ${recipeMaterials}

    LET'S MAKE IT

    ${recipeMake}

    VIEW ALL RECIPES

    ` } } var elements = document.getElementsByClassName('categoryWrapper'); var requiredElement = elements[0]; var visibleRecipe = skuListVL[index].visibleRecipe; if (insertCategory) { function waitForElm(selector) { return new Promise(resolve => { if (document.querySelector(selector)) { return resolve(document.querySelector(selector)); } const observer = new MutationObserver(mutations => { if (document.querySelector(selector)) { resolve(document.querySelector(selector)); observer.disconnect(); } }); observer.observe(document.body, { childList: true, subtree: true }); }); } waitForElm("div.coffee-category[data-category='" + insertCategory + "']").then((elm) => { var selectedCategory = "div.coffee-category[data-category='" + insertCategory + "'] div.categoryWrapper" $(recipeCardDiv).appendTo(selectedCategory); if (visibleRecipe) { // $("." + recipeCard + ".recipeCard").toggleClass("show") $("." + recipeCard + ".recipeCard").addClass("recipeAlwaysVisible") } $("." + recipeCard + " .expandButton").click(function () { $("." + recipeCard + " .recipeIngredientsWrapper").toggleClass(" hiddenRecipe") $("." + recipeCard + " .recipeMakeWrapper").toggleClass("hiddenRecipe") $("." + recipeCard + " .expandButton").toggleClass("activeButton") $("." + recipeCard + " .findMore").toggle() $("." + recipeCard + ".recipeCard").toggleClass("activeRecipe") $("." + recipeCard + ".recipeCard").toggleClass("expandedMobile") }); }); } else { $(recipeCardDiv).appendTo(requiredElement) $("." + recipeCard + " .expandButton").click(function () { $("." + recipeCard + " .recipeIngredientsWrapper").toggleClass(" hiddenRecipe") $("." + recipeCard + " .recipeMakeWrapper").toggleClass("hiddenRecipe") $("." + recipeCard + " .expandButton").toggleClass("activeButton") $("." + recipeCard + ".recipeCard").toggleClass("activeRecipe") $("." + recipeCard + ".recipeCard").toggleClass("expandedMobile") }); } } } } } }) if (totalOffers > 1) { $(".carousel-dotsVL").css("display", "flex") $('.personalisedBannerVL').owlCarousel({ center: true, items: 2, loop: false, margin: 10, loop: true, autoplay: false, autoplayHoverPause: false, autoplaySpeed: 1000, nav: true, dots: true, dotsContainer: '.carousel-dotsVL', responsive: { 0: { items: 1 } } }); updateOfferValues() } } buildCategories() // var crmString = "m-test"; if (viewpref == "grid" || viewpref == null) { if ($(window).width() > 767) { // var fullWidth = $(".categoryWrapper:first").width() // var desktopCard = 276 // var howMany = Math.floor(fullWidth / desktopCard) // var newWidth = ((howMany * desktopCard) - 10) // $(".personalisedBanner").width(newWidth); // $(".carouselContent").width(newWidth); // $(".carousel-dotsVL").width(newWidth); } } else { $(".personalisedBanner").css("max-width", "100%") $(".carouselContent").css("max-width", "100%") $(".carousel-dotsVL").css("max-width", "100%") } }

    X

    Only for use with Vertuo Next Machine

    ';var $org_productPDPid = $('[id^="ProductDetail__erp"]');//create label or badgevar createIconPLP = function (icon) {jQuery.each(carafeProducts, function (i, val) {$('[data-product-item-id="' + val + '"]').find('.ProductListElement__add-to-basket').append(icon);});};createIconPLP(carafeDisclaimer);//PDPif ($org_productPDPid.length > 0) {var actualPDP = $org_productPDPid.attr('id').slice(31, 100); //get SKU on the PDP page from the ID's valuevar createIconPDP = function (icon) {jQuery.each(carafeProducts, function (i, val) {if (actualPDP == val) {$('.ProductDetails__add-to-basket').append(icon);}});};createIconPDP(carafeDisclaimer);}})(jQuery);}, 2000); ' urlmarket = window.location.href; if (urlmarket.indexOf("/uk/en") > -1) { market = "/uk"; } else if (urlmarket.indexOf("/ie/en") > -1) { market = "/ie"; } $(".checkoutButton").attr("href", market + "/en/checkout"); console.log("progressSum: "+ progressSum) console.log("icaMinCapsOne: "+ icaMinCapsOne) console.log("icaPayForOne: "+ icaPayForOne) console.log("icaMinCapsTwo: "+ icaMinCapsTwo) console.log("icaPayForTwo: "+ icaPayForTwo) console.log("icaMinCapsThree: "+ icaMinCapsThree) console.log("icaPayForThree: "+ icaPayForThree) var verProgText = ""; console.log("foundTierName: "+ foundTierName) if (foundTierName.includes("VL")) { var verProgText = " Vertuo"; } if ((icaMinCapsThree != 0) && (progressSum >= icaMinCapsThree)) { $("#progressCopy").html("You now qualify for " + (icaMinCapsThree - icaPayForThree) + ""+ verProgText +" free capsules.*"); $(".checkoutButton").css("display", "block"); $(".landing-cta").hide(); } else if ((progressSum >= icaMinCapsTwo)) { if (icaMinCapsThree != 0) { $("#progressCopy").html("You now qualify for " + (icaMinCapsTwo - icaPayForTwo) + " free"+ verProgText +" capsules."); $(".checkoutButton").css("display", "block"); $(".landing-cta").hide(); } else { $("#progressCopy").html("You now qualify for " + (icaMinCapsTwo - icaPayForTwo) + " free"+ verProgText +" capsules."); $(".checkoutButton").css("display", "block"); $(".landing-cta").hide(); } } else if ((progressSum >= icaMinCapsOne) && (progressSum < icaMinCapsTwo)) { $("#progressCopy").html("You now qualify for " + (icaMinCapsOne - icaPayForOne) + " free"+ verProgText +" capsules"); $(".checkoutButton").css("display", "block"); $(".landing-cta").hide(); } else if (icaMinCapsOne > progressSum) { $("#progressCopy").html(giftIcon + "Add " + icaMinCapsOne + ""+ verProgText +" capsules, pay for only " + icaPayForOne + "*"); $(".checkoutButton").fadeOut(); $(".landing-cta").show(); } else { $("#progressBar").hide(); } } $(".checkoutButton").click(function () { Cookies.set("alreadyPurchasedICA", "y", { expires: endDate }); promoClickNew("Checkout", "ICA", "Progress-Bar-Checkout-button", "PLP"); })

    OL TEST

    VL TEST

    Nespresso Pods | Coffee Pods & Capsules (31)

    Nespresso Pods | Coffee Pods & Capsules (2024)
    Top Articles
    Latest Posts
    Article information

    Author: Otha Schamberger

    Last Updated:

    Views: 6022

    Rating: 4.4 / 5 (55 voted)

    Reviews: 86% of readers found this page helpful

    Author information

    Name: Otha Schamberger

    Birthday: 1999-08-15

    Address: Suite 490 606 Hammes Ferry, Carterhaven, IL 62290

    Phone: +8557035444877

    Job: Forward IT Agent

    Hobby: Fishing, Flying, Jewelry making, Digital arts, Sand art, Parkour, tabletop games

    Introduction: My name is Otha Schamberger, I am a vast, good, healthy, cheerful, energetic, gorgeous, magnificent person who loves writing and wants to share my knowledge and understanding with you.