if (checkoutInput != null) _ltk.SCA.CaptureEmail(checkoutInput); } The art of reclining motion and power meets affordability and modern features like cup holders, storage and USB charging ports. let imgUrl = $("meta[property='og:image']")?.attr("content") ?? let currentPrice = $(".product-details__price-holder > div")[0]?.innerText ?? qty = parseInt(qty.replace(/[^0-9. }) _ltk.SCA.Persistent.changeQty(lastClickedSku, newQty); }; headers: myHeaders, let specs = []; }); getProductInfo(); There is a UV protective coating over the entire image, and it is ready to hang on your wall with no hardware required. function sendProductInfo() { await new Promise(r => setTimeout(r, 1000)); var sku = $(this).find('.cart-item__attribute-wrapper > div:contains("SKU") > span').text(); var price = $(this).find('.cart-item__price-wrapper > .cart-item__price-sku').last().text(); imgUrl = host + imgUrl; if (i % 2 == 0 && i + 1 <= specs.length) { _ltk.SCA.Persistent.removeItem(lastClickedSku, amountToRemove); $(document).on('click', 'a.cart-item__remove', function () { // Get all bullets under features var lastClickedSku = ''; 2021-05-21 20:29:11. // plus button on cart _ltk.SCA.Persistent.removeItem(lastClickedSku, amountToRemove); } /**** Cart abandonment ****/ _ltk.SCA.Persistent.removeItem(lastClickedSku, amountToRemove); Jessica Jacobs In Motion Furniture. $('button[class^="box-selector"').on("click", async function () { _ltk.Order.ItemTotal = itemTotal; }); ]/g, "")); window.onload = function captureProduct() { _ltk.Order.SetCustomer(emailAddress, firstName, lastName); _ltk.Activity.AddProductBrowse(sku); Help Financing Find a Store Shop Our Deals, Monday - Thursday: 11am - 7pmFriday - Saturday: 10am - 8pmSunday: 11am - 7pm, Pick-Up Hours (Scheduled Only)Monday - Thursday: 11am - 6pmFriday - Saturday: 10am - 6pmSunday: 11am - 6pm. _ltk.SCA.Persistent.removeItem(lastClickedSku, amountToRemove); myHeaders.append("Content-Type", "application/json"); }*/ Never miss the best stories . }); }*/ The colors are great!. "Specifications": JSON.stringify(properSpecs) price = price.replace(/[^0-9. properSpecs.push(specs[i] + ":" + specs[i + 1]); for (let i = 0; i < specs.length; i++) { "Name": productName, let productId = $(".product-details__sku > span")[0].innerText; let specs = []; (function(d){if(typeof _ltk=="undefined"){if(document.addEventListener)document.addEventListener("ltkAsyncListener",function(){_ltk_util.ready(d)});else{e=document.documentElement;e.ltkAsyncProperty=0;e.attachEvent("onpropertychange",function(e){if(e.propertyName=="ltkAsyncProperty"){_ltk_util.ready(d)}})}}else{_ltk_util.ready(d)}})(function(){ // Get all product images from page }) }); var loginInput = document.getElementById('signupEmail')?.id; var img = $("meta[property='og:image']").attr("content"); getProductInfo(); } var addrBlockTrimmed = addrBlock.filter(function(x) { return x.trim() !== ''}); let featureBullets = []; "Specifications": JSON.stringify(properSpecs) Whether you're looking for a sophisticated handmade sofa with goose down. var img = $("meta[property='og:image']").attr("content"); "PrimaryImageUrl": imgUrl, }); "FeatureBullets": JSON.stringify(featureBullets), let currentPrice = $(".product-details__price-holder > div")[0]?.innerText ?? var amountToRemove = _ltk.SCA.Persistent.getItem(lastClickedSku).qty; }); qty = parseInt(qty.replace(/[^0-9. productJson = JSON.stringify({ let pageUrl = window.location.href; var fullName = addrBlockTrimmed[0].trim(); let myHeaders = new Headers(); if (skuSpan.length > 0) { var isProductPage = document.getElementsByClassName('product-details__sku').length > 0; }); "FeatureBullets": JSON.stringify(featureBullets), var productJson = ""; Worldwide shipping available. ]/g, ""); let productId = $(".product-details__sku > span")[0].innerText; ]/g, ""); await new Promise(r => setTimeout(r, 500)); $('button[class^="box-selector"').on("click", async function () { _ltk.Order.ShippingTotal = shippingTotal; "ImageUrls": JSON.stringify(allImgs), Jacobs Custom Living delivery team does all the work while you relax! console.log('added ' + sku); "Specifications": JSON.stringify(properSpecs) High quality vintage art reproduction by Buyenlarge. var productJson = ""; Monday - Thursday: 11am - 7pm Friday - Saturday: 10am - 8pm Sunday: 11am - 7pm var alertShown = $('.alert').is(":visible"); for (let i = 0; i < specs.length; i++) { var skuSpan = document.getElementsByClassName('product-details__sku'); "CurrentPrice": currentPrice, var subTotal = $('div[class*="order-summary__total"] > span:contains("Total")').next().text() sendProductInfo(); /**** E-mail capture abandonment ****/ _ltk.Order.OrderNumber = orderId; sendProductInfo(); var loginInput = document.getElementById('signupEmail')?.id; }) d.querySelector('head').appendChild(js); Invest in quality and you invest only once. await new Promise(r => setTimeout(r, 1000)); // Get all product images from page } let msrpPrice = $(".product-details__price-other > span")[0]?.innerText ?? featureBullets.push($(this).text()); $(document).on('click', 'button:contains(\'Add to Cart\')', function () { await new Promise(r => setTimeout(r, 1000)); if (!alertShown) { // 'remove' link on cart await new Promise(r => setTimeout(r, 1000)); .catch(error => console.log('error', error)); ]/g, ""); } }); let properSpecs = []; /**** Order Conversions ****/ 536 Cottage Street, Littleton, NH, USA. var skuSpan = document.getElementsByClassName('product-details__sku'); let featureBullets = []; $(".product-features > ol > li").each(function () { if (isProductPage) { var sku = $(this).find('.cart-item__attribute-wrapper > div:contains("SKU") > span').text(); "0"; var addrBlock = $('address').last().text().split(/\n/) /**** Checkout page cart modifications ****/ _ltk.Order.SetCustomer(emailAddress, firstName, lastName); productJson = JSON.stringify({ var qty = $(this).find('.cart-item__price-wrapper > .cart-item__price-sku.quantity__holder').first().text(); d.querySelector('head').appendChild(js); ]/g, ""); var productName = $("meta[property='og:title']").attr("content"); $('.cart-item').each(function () { var newQty = _ltk.SCA.Persistent.getItem(lastClickedSku).qty + 1; } }); let sku = skuSpan[0].textContent.replace('SKU:', '').trim(); }. // Get all product images from page The art of reclining motion and power meets affordability and modern features like cup holders, storage and USB charging . "0"; ]/g, "")); if (footerInput != null) _ltk.SCA.CaptureEmail(footerInput); if (checkoutInput != null) _ltk.SCA.CaptureEmail(checkoutInput); }); "PrimaryImageUrl": imgUrl, var lastClickedSku = ''; productJson = JSON.stringify({ method: 'POST', $(".product-specifications__list-item > div").each(function (index) { var productName = $("meta[property='og:title']").attr("content"); getProductInfo(); } var isProductPage = document.getElementsByClassName('product-details__sku').length > 0; price = price.replace(/[^0-9. "MSRPPrice": msrpPrice, await new Promise(r => setTimeout(r, 1000)); var checkoutInput = document.getElementById('emailAddress')?.id; /**** Checkout page cart modifications ****/ if (signUpInput != null) _ltk.SCA.CaptureEmail(signUpInput); _ltk.SCA.Persistent.addItem(sku, qty, price, productName, img, url); featureBullets.push($(this).text()); let sku = skuSpan[0].textContent.replace('SKU:', '').trim(); msrpPrice = msrpPrice.replace(/[^0-9. Monday - Thursday: 11am - 7pmFriday - Saturday: 10am - 8pmSunday: 11am - 7pm, Pick-Up Hours (Scheduled Only)Monday - Thursday: 11am - 6pmFriday - Saturday: 10am - 7pmSunday: 11am - 6pm. } Thats on us. }); }); }*/ _ltk.Order.OrderNumber = orderId; let productName = $("meta[property='og:title']")?.attr("content") ?? .then(response => response.text()) _ltk.Order.TaxTotal = taxTotal; _ltk.Order.AddItem(sku, qty, price); "MSRPPrice": msrpPrice, if (i % 2 == 0 && i + 1 <= specs.length) { for (let i = 0; i < specs.length; i++) { But after Sarah and Abraham died, the Jewish people remained.". Shop Haynes Furniture for a great selection of sofas and couches in various shapes, sizes and colors--all at affordable prices! // plus button on cart // minus button on cart /**** Browse abandonment ****/ "0"; let specs = []; fetch("https://cat.haynesfurniture.com/api/products", requestOptions) var sku = $(".product-details__sku > span")[0].innerText; The super luxe collection of Jessica Jacobs living room sofas, loveseats and recliners in contemporary silhouettes, is available in a range of eco-friendly upholstery fabrics and leathers. Homeschooling, Essential Oils, Gardening, RV travel, crafting, and other random things too.