Roobis Tea - Henry’s House Of Coffee (2024)

Skip to product information

Roobis Tea - Henry’s House Of Coffee (1)

$6.00

$6.00 Save 0%

  • 1 bag = 5% OFF
  • 2+ bags = 5% OFF and FREE shipping
  • For Canadian Customers, the discount will be 5% for any quantity and option.
  • Mix & match any coffee. Discount applied in cart.
When Will I Get My First Order?

Your first order will be charged when you checkout and will be shipped within two days.

When Will I Get My Subsequent Orders?

All subsequent subscriptions are charged on the same day you signed up. If your initial purchase was on the 25th, your subsequent order will be charged on the 25th. We will also email you three days before to remind you, and you'll be able to make changes then.

  • 1+ bag = 5% OFF and FREE shipping
  • For Canadian Customers, the discount will be 5% for any quantity and option.
  • Mix & match any coffee. Discount applied in cart.
When Will I Get My First Order?

Your first order will be charged when you checkout and will be shipped within two days.

When Will I Get My Subsequent Orders?

All subsequent subscriptions are charged on the same day you signed up. If your initial purchase was on the 25th, your subsequent order will be charged on the 25th. We will also email you three days before to remind you, and you'll be able to make changes then.

  • 1+ bag = 5% OFF
When Will I Get My First Order?

Your first order will be charged when you checkout and will be shipped within two days.

When Will I Get My Subsequent Orders?

All subsequent subscriptions are charged on the same day you signed up. If your initial purchase was on the 25th, your subsequent order will be charged on the 25th. We will also email you three days before to remind you, and you'll be able to make changes then.

  • For Canadian Customers, the discount will be 5% for any quantity and option.
  • Mix & match any coffee. Discount applied in cart.
When Will I Get My First Order?

Your first order will be charged when you checkout and will be shipped within two days.

When Will I Get My Subsequent Orders?

All subsequent subscriptions are charged on the same day you signed up. If your initial purchase was on the 25th, your subsequent order will be charged on the 25th. We will also email you three days before to remind you, and you'll be able to make changes then.

  • Details

Rooibos Origin and History

Rooibos tea, also known as red bush tea, originates from South Africa and is renowned for its deep red color and sweet, nutty flavor. This herbal tea is made from the leaves of the Aspalathus linearis shrub, unique to the Cederberg region.

Ingredients and Flavor

Unlike traditional teas from the Camellia sinensis plant, pure Rooibos tea is naturally caffeine-free and low in tannins. It offers a rich, slightly sweet, and earthy taste, often with hints of vanilla and honey.

Appearance and Brewing

Rooibos leaves are needle-like, fine, and have a deep maroon hue. When brewed, they yield a vibrant red infusion, known for its soothing properties and warm, comforting aroma.

Serving and Pairing

Rooibos tea is versatile; it can be enjoyed hot or cold, with or without milk, sweeteners, or lemon. It pairs well with a variety of foods and is a popular choice for evening relaxation due to its caffeine-free nature.

Health Benefits of Rooibos

Pure Rooibos tea is appreciated for its antioxidant properties and has been linked to health benefits such as improved digestion and allergy relief.

Packaging and Quantity

Each 4oz bag of Rooibos tea provides enough leaves to brew about 30 cups. This packaging ensures a steady supply of this soothing, herbal tea for regular consumption.

Roobis Tea - Henry’s House Of Coffee (2)

') gkt.$("body").append(skeletonDOM); // gkt.elements.productPageWrapperV2.append(skeletonDOM); // gkt.elements.cartPageWrapperV2.append(skeletonDOM); //attach a link to the body gkt.$("body").append(''); }, getSettings: async function () { //promise console.log("GET setting of giftkart fired") return new Promise(function (resolve, reject) { console.log("fetching from s3") gkt.f.getSettingsFromS3().then( success => { resolve(success); } ).catch(error => { fetch("/apps/gkt/getTmpCartSettings",{ method: 'GET', }).then( response => response.json() // if the response is a JSON object ).then( success => { if(success.responseCode == 200){ console.log("success-data", success.data); } resolve(success.data); } ).catch(error => { console.log(error) // Handle the error response object reject(error) }); }); }); }, setSelectors: function(){ let settings = gkt.settings gkt.selectors = { addToCart: settings.app.addToCartBtnSelectors, checkoutBtn: settings.app.checkoutBtnSelectors, sideCartSelectors: settings.app.sideCartSelectors, buyNowBtn: settings.app.buyNowBtn, cartForm: settings.app.cartForm, productPageWrapperV2: '.gktProductPageWrapperV2', cartPageWrapperV2: '.gktCartPageWrapperV2', quantityBtnSelectors : settings.app.quantityBtnSelectors, } }, getSettingsFromS3: async function () { //promise let shopName = window.Shopify.shop console.log("GET setting of giftlab pro fired") return new Promise(function (resolve, reject) { fetch("https://giftkart-staging.s3.us-east-2.amazonaws.com/tempCartSettings/"+shopName+`.json?nocache=${(new Date()).getTime()}`,{ method: 'GET', }).then( response => response.json() // if the response is a JSON object ).then( success => { if(success.responseCode == 200){ console.log("success-data", success); } resolve(success); } ).catch(error => { console.log(error) // Handle the error response object reject(error) }) }) }, getLoggedInCustomer: async function () { try{ if(shopifyLiquidValues && shopifyLiquidValues.customer && shopifyLiquidValues.customer.id){ let customerData = await fetch(`/apps/gkt/getLoggedInCustomer?email=${shopifyLiquidValues.customer.email}`); // await new Promise(resolve => setTimeout(resolve, 10000)); //sleep to check loading state let customerDataJson = await customerData.json(); customerDataJson = customerDataJson.data; gkt.settings.customer = customerDataJson; return customerDataJson; } }catch(e){ console.log("error in getLoggedIncustomer=",e) console.log("Have you setup /apps/gkt proxy properly?") return false; } }, addGiftCardToRewardCodeAPI: async function (_id) { try{ if(shopifyLiquidValues && shopifyLiquidValues.customer && shopifyLiquidValues.customer.id){ let addToGiftCardAPI = await fetch(`/apps/gkt/addGiftcardToRewardCode?gktGiftcardId=${_id}`,{ method: 'POST', }); let addToGiftCardAPIJson = await addToGiftCardAPI.json(); addToGiftCardAPIJson = addToGiftCardAPIJson.data; gkt.settings.customer = addToGiftCardAPIJson; return addToGiftCardAPIJson; } }catch(e){ console.log("error in addGiftCardToRewardCodeAPI=",e) console.log("Have you setup /apps/gkt proxy properly?") return false; } }, setSettings: function(tmpCartSettings){ var cart_settings = { giftWrapProduct: { productId: tmpCartSettings.productId, productVairantID: tmpCartSettings.productVariantId, giftWrapPrice: tmpCartSettings.giftWrapPrice, giftWrapProductImage: tmpCartSettings.giftWrapImgUrl, giftWrapShopifyImgUrl: tmpCartSettings.giftWrapShopifyImgUrl, giftWrapHandle: tmpCartSettings.giftWrapHandle, isGiftWrapEnabled: tmpCartSettings.isGiftWrap, isVisibleOnCart: tmpCartSettings.isVisibleOnCart, isVisibleOnAllProductPages: tmpCartSettings.isVisibleOnAllProductPages, isVisibleOnSpecificProductPages: tmpCartSettings.isVisibleOnSpecificProductPages, visibleOnSpecificProductPages: tmpCartSettings.visibleOnSpecificProductPages }, giftMessage: tmpCartSettings.giftMessage || {}, popup: { popupHeadingText: tmpCartSettings.popupHeadingText, messageCheckboxHeading: tmpCartSettings.messageCheckboxHeading, giftWrapCheckboxHeading: tmpCartSettings.giftWrapCheckboxHeading, messageBoxplaceholder: tmpCartSettings.messageBoxplaceholder, saveButtonBackgroundColor: tmpCartSettings.saveButtonBackgroundColor, saveButtonTextColor: tmpCartSettings.saveButtonTextColor, saveButtonText: tmpCartSettings.saveButtonText, cartPopupBackgroundColor: tmpCartSettings.cartPopupBackgroundColor, reloadOnCancelClick: tmpCartSettings.reloadOnCancelClick }, giftingOptions: { isGiftWrapEnabled: tmpCartSettings.isGiftWrap, isGiftMessageEnabled: tmpCartSettings.isGiftField, enabledGifiting: tmpCartSettings.enabledGifiting, shopifyPageinnerHTML: tmpCartSettings.cartPageText }, videoMessage: tmpCartSettings.videoMessageData, pageWrapper: { cartPageText: tmpCartSettings.cartPageText }, combos: tmpCartSettings.combos || [], oneClickUpsells: tmpCartSettings.oneClickUpsells || [], giftCards: tmpCartSettings.giftCards || [], greetingCards : tmpCartSettings.greetingCardData, rewardCampaigns: tmpCartSettings.rewardCampaignData, urlCampaignDataList: tmpCartSettings.urlCampaignDataList, app: { disableApp: tmpCartSettings.userData.customSettings.disableApp || false, disableSideCart: tmpCartSettings.userData.customSettings.disableSideCart || false, refreshProductPageOnGiftWrap: tmpCartSettings.userData.customSettings.refreshProductPageOnGiftWrap || false, addToCartBtnSelectors: tmpCartSettings.userData.customSettings.addToCartBtnSelectors || DEFAULT_addToCartBtnSelectors, checkoutBtnSelectors: tmpCartSettings.userData.customSettings.checkoutBtnSelectors || DEFAULT_checkoutBtnSelectors, quantityBtnSelectors: tmpCartSettings.userData.customSettings.quantityBtnSelectors || DEFAULT_quantityBtnSelectors, sideCartSelectors: tmpCartSettings.userData.customSettings.sideCartSelectors || DEFAULT_sideCartSelectors, // cartDrawerSelectors: tmpCartSettings.userData.customSettings.cartDrawerSelectors || DEFAULT_cartDrawerSelectors, // sideCartDrawerOverlay: tmpCartSettings.userData.customSettings.sideCartDrawerOverlay || DEFAULT_sideCartDrawerOverlay, themeBackgroundColor : tmpCartSettings.userData.customSettings.themeBackgroundColor || "", themeFontFamily: tmpCartSettings.userData.customSettings.themeFontFamily || "", themeFontColor: tmpCartSettings.userData.customSettings.themeFontColor || "", themeButtonBackgroundColor: tmpCartSettings.userData.customSettings.themeButtonBackgroundColor || "", themButtonTextColor: tmpCartSettings.userData.customSettings.themButtonTextColor || "", themeButtonBorderColor: tmpCartSettings.userData.customSettings.themeButtonBorderColor || "", themeButtonBoxShadow: tmpCartSettings.userData.customSettings.themeButtonBoxShadow || "", //button font family themeButtonFontFamily: tmpCartSettings.userData.customSettings.themeButtonFontFamily || "", themeHeaderFontFamily: tmpCartSettings.userData.customSettings.themeHeaderFontFamily || "", themeHeaderFontColor: tmpCartSettings.userData.customSettings.themeHeaderFontColor || "", themeLabelFontColor: tmpCartSettings.userData.customSettings.themeLabelFontColor || "", themeLabelFontFamily: tmpCartSettings.userData.customSettings.themeLabelFontFamily || "", hidePoweredByBanner: tmpCartSettings.userData.customSettings.hidePoweredByBanner || false, useGiftCardAddToCartButtonOverwrite2: tmpCartSettings.userData?.customSettings?.useGiftCardAddToCartButtonOverwrite2 || false, buyNowBtn: tmpCartSettings.userData.customSettings.buyNowBtn || DEFAULT_buyNowBtn, cartForm: tmpCartSettings.userData.customSettings.cartForm || DEFAULT_cartForm, addAfterAddTocartBtn:tmpCartSettings.userData.customSettings.addAfterAddTocartBtn || false, addAftercheckoutBtn: tmpCartSettings.userData.customSettings.addAftercheckoutBtn || false, activeVariantCodes: tmpCartSettings.userData.customSettings.activeVariantCodes || "123456789", customStyleForGiftcard: tmpCartSettings.userData.customSettings.customStyleForGiftcard || null, redirectUrlForSendGiftcardBtn: tmpCartSettings.userData.customSettings.redirectUrlForSendGiftcardBtn ? window.location.origin + tmpCartSettings.userData.customSettings.redirectUrlForSendGiftcardBtn : window.location.origin + "/cart/checkout" , }, accountWidget: tmpCartSettings.userData.accountWidget, merchantInfo: tmpCartSettings.userData, languageData: tmpCartSettings.languageData, SERVER_URL: tmpCartSettings.SERVER_URL, urlSearchString: window.location.search ? window.location.search : "" } gkt.settings = cart_settings; console.log("settings assigned") }, preparePoweredByBannerUI: function () { try{ let brandingToBeShown = ['basic', 'plus', 'basic-alpha', 'plus-alpha', 'basic-beta', 'plus-beta', 'basic-gamma', 'premium-gamma', 'basic-sept8', 'pro-nov7', 'pro-jan16-free', 'pro-jan16-19'] let showPoweredByBanner = false; if(gkt.settings.app.hidePoweredByBanner == true){ showPoweredByBanner = false; }else{ for(let i=0;i").addClass("gktPoweredByBanner"); let gktPoweredByBannerPreImageText = gkt.$("

").addClass("gktPoweredByBannerPreImageText").html("Powered by "); let gktPoweredByBannerPostImageText = gkt.$("

").addClass("gktPoweredByBannerPostImageText").html(" GiftKart"); let gktPoweredByBannerLogo = gkt.$("Roobis Tea - Henry’s House Of Coffee (3)").addClass("gkt-branding-banner-logo"); gktPoweredByBannerLogo.attr("src","https://d3ks0ngva6go34.cloudfront.net/public/giftkart_logo.jpg"); gktPoweredByBannerLogo.attr("alt","GiftKart"); //very smol gktPoweredByBannerLogo.attr("width","22"); gktPoweredByBannerLogo.attr("height","22"); gktPoweredByBannerHTML.append(gktPoweredByBannerPreImageText); gktPoweredByBannerHTML.append(gktPoweredByBannerLogo); gktPoweredByBannerHTML.append(gktPoweredByBannerPostImageText); gktPoweredByBannerHTML.on("click",function(){ window.open("https://apps.shopify.com/giftkart","_blank"); }) return gktPoweredByBannerHTML; }else{ gkt.$(".gktPoweredByBanner").remove(); } return; }catch(err){ console.log("error in preparePoweredByBannerUI",err); return; } }, initThemeCSS: function (){ console.log("initThemeCSS?",gkt.selectors.addToCart); let addToCartBtnEle = gkt.$(document).find(gkt.selectors.addToCart) let checkoutBtnEle = gkt.$(document).find(gkt.selectors.checkoutBtn) let buttonToOverRide = gkt.$(addToCartBtnEle).length > 0 ? addToCartBtnEle : checkoutBtnEle; if(gkt.settings.app.themeFontFamily == "" && gkt.$("body").length>0){ gkt.settings.app.themeFontFamily = gkt.$("body").css("font-family"); } //find the font color of the theme if(gkt.settings.app.themeFontColor == "" && gkt.$("p").length > 0){ gkt.settings.app.themeFontColor = gkt.$("p").css("color"); } //theme background color if(gkt.settings.app.themeBackgroundColor == "" && gkt.$("body").length > 0){ gkt.settings.app.themeBackgroundColor = gkt.$("body").css("background-color"); } if(gkt.settings.app.themeLabelFontColor == "" && gkt.$("label").length > 0){ gkt.settings.app.themeLabelFontColor = gkt.$("label").css("color"); } // themeLabelFontFamily if(gkt.settings.app.themeLabelFontFamily == "" && gkt.$("label").length > 0){ gkt.settings.app.themeLabelFontFamily = gkt.$("label").css("font-family"); } if(gkt.settings.app.themeButtonBackgroundColor == "" && gkt.$(buttonToOverRide).length > 0 ){ gkt.settings.app.themeButtonBackgroundColor = gkt.$(buttonToOverRide).css("background-color"); } if(gkt.settings.app.themButtonTextColor == "" && gkt.$(buttonToOverRide).length > 0){ gkt.settings.app.themButtonTextColor = gkt.$(buttonToOverRide).css("color"); } if(gkt.settings.app.themeButtonBorderColor == "" && gkt.$(buttonToOverRide).length > 0){ gkt.settings.app.themeButtonBorderColor = gkt.$(buttonToOverRide).css("border-color"); } //box shadow if(gkt.settings.app.themeButtonBoxShadow == "" && gkt.$(buttonToOverRide).length > 0){ gkt.settings.app.themeButtonBoxShadow = gkt.$(buttonToOverRide).css("box-shadow"); } // button font family if(gkt.settings.app.themeButtonFontFamily == "" && gkt.$(buttonToOverRide).length > 0){ gkt.settings.app.themeButtonFontFamily = gkt.$(buttonToOverRide).css("font-family"); } if(gkt.settings.app.themeHeaderFontFamily == "" && gkt.$("h1").length > 0){ gkt.settings.app.themeHeaderFontFamily = gkt.$("h1").css("font-family"); } if(gkt.settings.app.themeHeaderFontColor == "" && gkt.$("h1").length > 0){ gkt.settings.app.themeHeaderFontColor = gkt.$("h1").css("color"); } }, getPageType: function () { var pageType = ""; if (window.location.pathname.includes("/cart") && !window.location.pathname.includes("/products")) { pageType = "cart"; } else if (window.location.pathname.includes("/products")) { pageType = "product"; } else if (window.location.pathname.includes("/collections")) { pageType = "COLLECTION"; } else if (window.location.pathname.includes("/")) { pageType = "HOME"; } else if ("undefined" != typeof Shopify && "undefined" != typeof Shopify.Checkout) { pageType = "CHECKOUT"; } else { pageType = "PAGE_NOT_FOUND"; } return pageType; }, getProductPageHandle: function () { if ("product" === gkt.state.page_type && shopifyLiquidValues.product.handle) { // let pattern = /(?<=\\/products\\/)((?!\\?|\\$).)+/g // if(window && window.location && window.location.href){ // return window.location.href.match(pattern)[0] // } return shopifyLiquidValues.product.handle } return "undefined" }, applyPopupCSS: function (element) { //gktGiftCardModal background-color // gktGiftCardInputFieldsDiv color of the font gkt.$(element).css("background-color", gkt.settings.app.themeBackgroundColor); }, applyButtonCSS : function(element){ //apply gkt.settings.app.themButtonTextColor themeButtonBackgroundColor themeButtonBorderColor to the button if(gkt.settings.app.themButtonTextColor != ""){ element.css("color", gkt.settings.app.themButtonTextColor); } if(gkt.settings.app.themeButtonBackgroundColor != ""){ element.css("background-color", gkt.settings.app.themeButtonBackgroundColor); } if(gkt.settings.app.themeButtonBorderColor != ""){ element.css("border","1px solid") element.css("border-color", gkt.settings.app.themeButtonBorderColor); } // box shadow if(gkt.settings.app.themeButtonBoxShadow != ""){ element.css("box-shadow", gkt.settings.app.themeButtonBoxShadow); } //themeButtonFontFamily if(gkt.settings.app.themeButtonFontFamily != ""){ element.css("font-family", gkt.settings.app.themeButtonFontFamily); } }, resetButtonCSS: function (element){ //reset the button css element.css("color",""); element.css("background-color",""); element.css("border",""); element.css("border-color",""); element.css("box-shadow",""); }, applyHeaderCSS: function (element){ //apply gkt.settings.app.themeFontFamily themeFontColor to the header if(gkt.settings.app.themeHeaderFontFamily != ""){ element.css("font-family", gkt.settings.app.themeHeaderFontFamily); } if(gkt.settings.app.themeHeaderFontColor != ""){ element.css("color", gkt.settings.app.themeHeaderFontColor); } }, applyLabelCSS: function (element){ //apply gkt.settings.app.themeLabelFontColor to the label if(gkt.settings.app.themeLabelFontColor != ""){ element.css("color", gkt.settings.app.themeLabelFontColor); } element.css("font-family","inherit"); if(gkt.settings.app.themeLabelFontFamily != ""){ element.css("font-family", gkt.settings.app.themeLabelFontFamily); } }, getSelectedVariant: function () { if ("product" === gkt.state.page_type) { let activeCodes = gkt.settings.app.activeVariantCodes; if(activeCodes.indexOf("1") >= 0){ const params = Object.fromEntries(new URLSearchParams(location.search)) if(params && params.variant){ return params.variant } } if(activeCodes.indexOf("2") >= 0){ if (ShopifyAnalytics && ShopifyAnalytics.meta && ShopifyAnalytics.meta.selectedVariantId) { for(let i = 0; i

= 0){ if (document.querySelector('[name="id"]') && document.querySelector('[name="id"]').value) { return document.querySelector('[name="id"]').value } } if(activeCodes.indexOf("4") >= 0){ if (shopifyLiquidValues.selected_or_first_available_variant) { return shopifyLiquidValues.selected_or_first_available_variant.id } } return undefined } }, getProductQuantity: function () { if (document.querySelector('[name="quantity"]') && document.querySelector('[name="quantity"]').value) { if(Number(document.querySelector('[name="quantity"]').value) && Number(document.querySelector('[name="quantity"]').value) <= 10){ return Number(document.querySelector('[name="quantity"]').value) }else{ return 1 } }else { return 1 } }, getElements: function (settings) { return { gktGiftMsgAndWrapWrapperParent: gkt.$(gkt.$.parseHTML('')), gktCartGiftMsgAndWrapWrapperParent: gkt.$(gkt.$.parseHTML('')), addToCartBtn: gkt.$(document).find(gkt.selectors.addToCart), addToCartButtonCloned: undefined, checkoutBtn: gkt.$(document).find(gkt.selectors.checkoutBtn), cartForm: gkt.$(document).find(gkt.selectors.cartForm), productPageWrapperV2: gkt.$(gkt.$.parseHTML('')), cartPageWrapperV2: gkt.$(gkt.$.parseHTML('')), buyNowBtn: gkt.$(document).find(gkt.selectors.buyNowBtn) } }, initialize: async function (jQuery) { // gkt.$.ajaxSetup({global: true}); let tmpCartSettings = await gkt.f.getSettings(); gkt.f.setSettings(tmpCartSettings) gkt.f.setSelectors(); gkt.state.page_type = gkt.f.getPageType(); gkt.elements = gkt.f.getElements(gkt.settings); if ("" === gkt.state.page_type) return false; gkt.utility.setLanguageLocale(); return gkt.f.bootstrap(gkt.settings); }, globalListener: function (settings) { let isIntervalActive = false //if app is disabled reurn if (settings.app.disableApp) { return } else { if ("product" === gkt.state.page_type) { gkt.productPage.init(settings) } if (settings.app.disableSideCart) { if ("cart" === gkt.state.page_type) { gkt.cartPage.init(settings) } } else { gkt.cartPage.init(settings) } } if(gkt.state && gkt.state.activeCampaignName == "EMPTY"){ gkt.utility.getUrlRewardCampaignName() } setInterval(async () => { if (!isIntervalActive) { // console.log("globalListener-active") isIntervalActive = true // insert productpage wrapper if productPage is initialized if ("product" === gkt.state.page_type && gkt.elements.addToCartBtn.length > 0 && gkt.$(document).find(gkt.selectors.productPageWrapperV2).length == 0) { console.log("productPage-insertWrapperIntoPage1") gkt.productPage.f.insertWrapperIntoPage(settings) } let checkoutBtnEle = gkt.$(document).find(gkt.selectors.checkoutBtn) // insert cartPage wrapper if cartPage is initialized if (checkoutBtnEle.length > 0 && gkt.$(document).find(gkt.selectors.cartPageWrapperV2).length == 0) { console.log("cartPage-insertWrapperIntoPage") await gkt.cartPage.f.insertWrapperIntoPage(settings) } // check if comboproduct overwrite buyNowButton if (false && gkt.gktCombo.state.comboHandle != "") { gkt.gktCombo.f.comboBuyNowButtonOverwrite() } // check if giftCard overwrite buyNowButton if (gkt.gktGiftCard.state.giftCardData) { if(!gkt.elements.addToCartBtn.is(':visible') || gkt.settings.app.useGiftCardAddToCartButtonOverwrite2 == true){ gkt.elements.addToCartBtn = gkt.$(document).find(gkt.selectors.addToCart) if(gkt.settings.app.useGiftCardAddToCartButtonOverwrite2 == true){ gkt.gktGiftCard.f.giftCardAddToCartButtonOverwrite2(gkt.gktGiftCard.state.giftCardData.isEmbededOnPage) }else{ gkt.gktGiftCard.f.giftCardAddToCartButtonOverwrite(gkt.gktGiftCard.state.giftCardData.isEmbededOnPage) } } gkt.gktGiftCard.f.giftCardBuyNowButtonOverwrite() if(!gkt.state.sendGiftcardOnPageBtnClicked){ gkt.gktGiftCard.f.changeGiftCardAddToCartButtonText(gkt.utility.renderLanguageValue(gkt.settings.languageData.giftcardV2.purchasePageFields.addToCartButtonText)) } } // check if giftwrap, message or oneclick upsell overwrite buyNowButton if(gkt.state.isOverWriteBuyNowBtnTriggered && gkt.$(document).find(".gkt-overwrite-buy-now-btn").length == 0){ gkt.utility.overWriteBuyNowBtn() } if(gkt.state.activeCampaignName != "" && gkt.settings.urlCampaignDataList && gkt.settings.urlCampaignDataList.length && gkt.settings.urlCampaignDataList.length > 0 ){ let urlRewardCampaignName = gkt.state.activeCampaignName let rewardCampaign = gkt.settings.urlCampaignDataList.find((campaign) => { let campaignData = campaign.campaignData return campaignData.urlBasedCampaign && campaignData.urlBasedCampaign.value && campaignData.urlBasedCampaign.value == urlRewardCampaignName }) gkt.settings.rewardCampaigns = rewardCampaign if(!gkt.state.setCampaignUrlattribute ){ gkt.state.setCampaignUrlattribute = true await gkt.utility.updateCart({attributes:{"cb_campaign":gkt.state.activeCampaignName}}) } } if( (gkt.state.page_type == "cart" || "product" === gkt.state.page_type) && gkt.settings.rewardCampaigns && gkt.settings.rewardCampaigns.status == "ACTIVE" && gkt.settings.rewardCampaigns.campaignData && gkt.settings.rewardCampaigns.campaignData.freeGiftcardProduct && gkt.settings.rewardCampaigns.campaignData.freeGiftcardProduct.length && gkt.settings.rewardCampaigns.campaignData.freeGiftcardProduct.length > 0 ){ await gkt.gktFreeGiftCardPopup.f.addFreeGiftcardProduct() } isIntervalActive = false } }, 1000) } }, utility: { getActiveCurrencyRate : function(){ let currencyRate = 1; if(window.Shopify && window.Shopify.currency && window.Shopify.currency.rate){ currencyRate = window.Shopify.currency.rate; } return currencyRate; }, getCookie: function (cookieName) { let name = cookieName + "="; let decodedCookie = decodeURIComponent(document.cookie); let ca = decodedCookie.split(";"); for (let i = 0; i { gkt.$.getJSON("/products/" + productName + ".js", function (product) { console.log("success-productName: ", productName) res(product) }).fail(function () { console.log("fail-productName: ", productName); res(false) }) }) return result; } catch (error) { console.error("gkt-utility-getProductDataV2"); console.error(error); return false } }, addToCartV2: function (data) { try { return new Promise((res, rej) => { gkt.$.post('/cart/add.js', data) .done(function () { console.log("success-/cart/add.js': "); res(true) }) .fail(function (e) { console.log("fail-/cart/add.js", e); res(false) }) }) return result; } catch (error) { console.error("gkt-utility-addToCartV2"); console.error(error); return false } }, clearCart: function (data) { try { return new Promise((res, rej) => { gkt.$.post('/cart/clear.js', data) .done(function () { console.log("success-/cart/clear.js': "); res(true) }) .fail(function () { console.log("fail-/cart/clear.js"); res(false) }) }) return result; } catch (error) { console.error("gkt-utility-clearCart"); console.error(error); return false } }, getCart: async function (data) { try { let result = await gkt.$.ajax({ type: "GET", url: "/cart.js", dataType: "json", }); return result } catch (error) { console.error("gkt-utility-getCart"); console.error(error); return false } }, getCartTotalQuantity: async function () { try { let total = 0 let cartData = await gkt.$.ajax({ type: "GET", url: "/cart.js", dataType: "json", }); for (var item of cartData['items']) { total += item["quantity"] } return total } catch (error) { console.error("gkt-utility-getCart"); console.error(error); return false } }, checkIfItemPresentInCart: function (searchedVariantId) { if (gkt.state.cartData && gkt.state.cartData.items && gkt.state.cartData.items.length && gkt.state.cartData.items.length > 0) { for (let i = 0; i = parseFloat(value))){ return true }else{ return false } }, cloneAddToCartBtn: function () { }, overWriteBuyNowBtn: function (){ let buyNowBtnEle = gkt.$(document).find(gkt.selectors.buyNowBtn) if(buyNowBtnEle && buyNowBtnEle.length > 0 && gkt.$(document).find(".gkt-overwrite-buy-now-btn").length == 0){ // buyNowBtnEle.show() buyNowBtnEle.unbind().unbind("click").off().off("click"); newBuyNowBtnEle = buyNowBtnEle.clone() buyNowBtnEle.before(newBuyNowBtnEle) // buyNowBtnEle.hide() newBuyNowBtnEle.addClass("gkt-overwrite-buy-now-btn") buyNowBtnEle.css("visibility", "hidden") buyNowBtnEle.css("height", "0") buyNowBtnEle.css("width", "0") buyNowBtnEle.css("padding", "0") buyNowBtnEle.css("margin", "0") buyNowBtnEle.css("line-height", "0"); buyNowBtnEle.css("min-height", "0"); // clone add to cart behavior // newBuyNowBtnEle.on("click", async function (event) { // gkt.$(this).attr("disabled", true); // setTimeout(() => { gkt.$(this).attr("disabled", false); }, 1000) // event.preventDefault(); // event.stopPropagation(); // let selectedVariantId = gkt.f.getSelectedVariant() // let resAddToCart = await gkt.utility.addToCartV2({ "items": [ // { // "id": selectedVariantId, // "quantity": 1 // } // ]}) // window.location.href = window.location.origin + "/cart/checkout" // return // }) newBuyNowBtnEle.on("click", function (event) { event.preventDefault(); event.stopPropagation(); gkt.$(this).attr("disabled", true); newBuyNowBtnEle.text("loading checkout..."); setTimeout(() => { gkt.$(this).attr("disabled", false)}, 3000) addToCartBtnEle = gkt.$(document).find(gkt.selectors.addToCart) sideCartEle = gkt.$(document).find(gkt.selectors.sideCartSelectors) // gkt.$(document).find("body").addClass("loadingCheckoutPage") // gkt.$(document).find("body").text("loading checkout...") if(sideCartEle && sideCartEle.length > 0){ sideCartEle.css("display", "none") } if(addToCartBtnEle && addToCartBtnEle.length > 0){ addToCartBtnEle.trigger("click") } setTimeout(()=>{ window.location.href = gkt.settings.app.redirectUrlForSendGiftcardBtn },1000) }) } }, emailValidation: function (emailString) { var atSymbol = emailString.indexOf("@"); if (atSymbol <1) return false; var dot = emailString.lastIndexOf("."); if (dot <= atSymbol + 2) return false; // check that the dot is not at the end if (dot === emailString.length - 1) return false; return true; }, renderLanguageValue: function (parent) { if (parent){ return parent.value; } return; }, slider: { state: { slideIndex: 0, }, plusSlides: function (selector, n) { this.showSlides(selector, this.state.slideIndex += n); }, //minusSlides minusSlides: function (selector, n) { this.showSlides(selector, this.state.slideIndex -= n); }, showSlides: function (selector, n) { var i; var slides = selector.find(".gktComboItemContainerItem1Img"); if (slides && slides.length) { // slides = JSON.parse(slides); // } if (n > slides.length) { this.state.slideIndex = 1 } if (n <1) { this.state.slideIndex = slides.length } for (i = 0; i ").addClass("gktLoading"); let loadingSpinner = gkt.$("

").addClass("gktLoadingSpinner"); loadingContainer.append(loadingSpinner); return loadingContainer; }, dynamicStylesForBranding: function () { let brandingColor = { mainTextColor: gkt.settings.accountWidget.customization.mainTextColor, subTextColor : gkt.settings.accountWidget.customization.subTextColor, } let style = `

` gkt.$('html > head').append(style); return style; }, getLocalDateIn_YYYY_MM_DD: function (date=new Date()) { const year = date.getFullYear(); const month = ('0' + (date.getMonth() + 1)).slice(-2); const day = ('0' + date.getDate()).slice(-2) const dateInLocalTimeZone = `${year}-${month}-${day}`; return dateInLocalTimeZone; }, getUrlRewardCampaignName: function () { let activeCampaignName = ""; if(gkt.state.activeCampaignName != "EMPTY"){ return gkt.state.activeCampaignName; } if(sessionStorage.getItem("cb_campaign")){ activeCampaignName = sessionStorage.getItem("cb_campaign") gkt.state.activeCampaignName = activeCampaignName; return activeCampaignName; } let campaginString = gkt.settings.urlSearchString.split("cb_campaign=") if(campaginString && campaginString.length > 1){ let campaignName = campaginString[1].split("&")[0] if(campaignName){ gkt.state.activeCampaignName = campaignName; sessionStorage.setItem("cb_campaign", campaignName) return campaignName }else{ return "" } }else { return "" } } }, storage: { loadValuesFromStorage: function (settings) { var gktGiftMessageCheckbox = sessionStorage.getItem("gktGiftMessageCheckbox"); var gktMessageTextarea = sessionStorage.getItem("gktMessageTextarea"); var gktGiftWrapCheckbox = sessionStorage.getItem("gktGiftWrapCheckbox"); var gktGiftOptionsCheckbox = sessionStorage.getItem("gktGiftOptionsCheckbox"); gkt.$('.gktMessageTextarea').val(gktMessageTextarea); if (gktGiftMessageCheckbox === null) { gkt.$('.gktGiftMessageCheckbox').prop('checked', true); } else { gkt.$('.gktGiftMessageCheckbox').prop('checked', gktGiftMessageCheckbox === "true"); } if (gktGiftWrapCheckbox === null) { gkt.$('.gktGiftWrapCheckbox').prop('checked', true); } else { gkt.$('.gktGiftWrapCheckbox').prop('checked', gktGiftWrapCheckbox === "true"); } if (gktGiftOptionsCheckbox === null) { gkt.elements.cartPageWrapperV2.find(".gktGiftOptionsCheckbox").prop('checked', false) gkt.elements.productPageWrapperV2.find(".gktGiftOptionsCheckbox").prop('checked', false) gkt.$(document).find(".gktGiftOptionsCheckbox").prop('checked', false) } else { gkt.elements.cartPageWrapperV2.find(".gktGiftOptionsCheckbox").prop('checked', gktGiftOptionsCheckbox === "true") gkt.elements.productPageWrapperV2.find(".gktGiftOptionsCheckbox").prop('checked', gktGiftOptionsCheckbox === "true") gkt.$(document).find(".gktGiftOptionsCheckbox").prop('checked', gktGiftOptionsCheckbox === "true") } }, setItem: function (field, value) { sessionStorage.setItem(field, value) }, getItem: function (field) { return sessionStorage.getItem(field) } }, drawerCart: { init: function (settings) { gkt.cartPage.init(settings) } }, themeSpecificCode: { init: function (settings) { gkt.themeSpecificCode.f.ventureTheme(settings) gkt.themeSpecificCode.f.expressTheme(settings) gkt.themeSpecificCode.f.craveTheme(settings) gkt.themeSpecificCode.f.craftTheme(settings) gkt.themeSpecificCode.f.senseTheme(settings) }, f: { ventureTheme: function () { if (window.Shopify && window.Shopify.theme && window.Shopify.theme.theme_store_id && window.Shopify.theme.theme_store_id == gkt.constants.themesIds.VENTURE_THEME) { // reload on save gkt.selectors.sideCartDrawerOverlay = "" } }, expressTheme: function () { if (window.Shopify && window.Shopify.theme && window.Shopify.theme.theme_store_id && window.Shopify.theme.theme_store_id == gkt.constants.themesIds.EXPRESS_THEME) { // addd a css property of jusyify-items:cetner to cartpagewrapper gkt.elements.cartPageWrapperV2.css("justify-items", "center") if (window.location.pathname.includes("/cart")) { gkt.selectors.checkoutBtn = ".cart__actions" } } }, craveTheme: function () { if (window.Shopify && window.Shopify.theme && window.Shopify.theme.theme_store_id && window.Shopify.theme.theme_store_id == gkt.constants.themesIds.CRAVE_THEME) { // change css of cart__ctas in the document to block gkt.$(document).find(".cart__ctas").css("display", "block") } }, craftTheme: function () { if (window.Shopify && window.Shopify.theme && window.Shopify.theme.theme_store_id && window.Shopify.theme.theme_store_id == gkt.constants.themesIds.CRAFT_THEME) { // change css of cart__ctas in the document to block gkt.$(document).find(".cart__ctas").css("display", "block") } }, senseTheme: function () { if (window.Shopify && window.Shopify.theme && window.Shopify.theme.theme_store_id && window.Shopify.theme.theme_store_id == gkt.constants.themesIds.SENSE_THEME) { // change css of cart__ctas in the document to block gkt.$(document).find(".cart__ctas").css("display", "block") } }, } }, productPage: { init: async function (settings) { console.log("productPage-init") gkt.state.cartData = await gkt.utility.getCart() // gkt.state.insertWrapperOnPage.push("PRODUCT_PAGE") gkt.gktMessage.init(settings, "PRODUCT_PAGE") // gkt.gktCombo.init(settings) // gkt.gktGiftMsgAndWrap.init(settings, "PRODUCT_PAGE") gkt.gktOneClickUpsell.init(settings, "PRODUCT_PAGE") gkt.gktGiftCard.init(settings, "PRODUCT_PAGE") gkt.gktAccountWidget.init(settings,"CART_PAGE") gkt.gktNotification.init(settings, "CART_PAGE") }, f: { insertWrapperIntoPage: function (settings) { if ("undefined" != typeof gkt.elements.addToCartBtn) { let addToCartBtnEle = gkt.$(document).find(gkt.elements.addToCartBtn) addToCartBtnEle.each(function (index) { if (gkt.$(this).is(":visible")) { if(gkt.settings.app.addAfterAddTocartBtn){ gkt.$(this).after(gkt.elements.productPageWrapperV2); }else{ gkt.$(this).before(gkt.elements.productPageWrapperV2); } } }); } }, }, actions: { insertUpsellModal: function () { // Gs.$("body").append(Gs.settings._modalHtml); alert("popModal for upsell action") }, }, }, cartPage: { init: async function (settings) { gkt.state.cartData = await gkt.utility.getCart() gkt.gktMessage.init(settings, "CART_PAGE") // gkt.gktGiftMsgAndWrap.init(settings, "CART_PAGE") gkt.gktOneClickUpsell.init(settings, "CART_PAGE") gkt.gktFreeGiftCardPopup.init(settings, "CART_PAGE") gkt.gktAccountWidget.init(settings,"CART_PAGE") gkt.gktNotification.init(settings, "CART_PAGE") }, f: { insertWrapperIntoPage: function (settings) { return new Promise((res, rej) => { if ("undefined" != typeof gkt.elements.checkoutBtn) { let checkoutBtnEle = gkt.$(document).find(gkt.selectors.checkoutBtn) checkoutBtnEle.each(function (index) { // console.log("index", index) if (gkt.$(this).is(":visible")) { // check if theme ids matches otherwise add element to default position if (window.Shopify && window.Shopify.theme && window.Shopify.theme.theme_store_id && window.Shopify.theme.theme_store_id == gkt.constants.themesIds.DAWN_THEME) { gkt.$(this).parent().before(gkt.elements.cartPageWrapperV2); } else if(gkt.settings.app.addAftercheckoutBtn) { gkt.$(this).after(gkt.elements.cartPageWrapperV2); }else{ gkt.$(this).before(gkt.elements.cartPageWrapperV2); } } }); } res() }) }, }, events: { ajaxSuccess: function (cartSettings) { console.log("register ajax success event") gkt.$(document).ajaxSuccess(function (event, xhr, settings) { console.log("ajaxSuccess", settings.url) if (settings.url == "/change.js?line=1&quantity=0" || settings.url == "change.js?line=1&quantity=0" || settings.url == "change.js" || settings.url == "/change.js" || settings.url == "/cart.js" || settings.url == "cart.js" || settings.url == "cart" || settings.url == "/cart") { setTimeout(function () { console.log("ajaxSuccess") }, 2000); } }); } } }, gktOneClickUpsell: { init: async function (settings, parent) { await gkt.gktOneClickUpsell.initialize(settings, parent) gkt.gktOneClickUpsell.f.registerEvents() }, initialize: async function (settings, parent) { let productHandle = gkt.f.getProductPageHandle(settings) // write function which return two list // oneClickUpsell products that need to be shown on this product page // get the list of oneClickUpsellProducts that need to be shown on cart page let { oneClickUpsellListForCartPage, oneClickUpsellListForProductPage } = gkt.gktOneClickUpsell.f.segregateOneClickUpsells(settings.oneClickUpsells, productHandle) if (parent == "PRODUCT_PAGE" && oneClickUpsellListForProductPage && oneClickUpsellListForProductPage.length && oneClickUpsellListForProductPage.length > 0) { let variantListToBeShownOnProductPage = await gkt.gktOneClickUpsell.f.findVariantListToBeShown(oneClickUpsellListForProductPage) let oneClickUpsellProductPageHTML = gkt.gktOneClickUpsell.f.prepareUI(settings, variantListToBeShownOnProductPage, parent) gkt.gktOneClickUpsell.f.insertIntoProductPageWrapper(settings, oneClickUpsellProductPageHTML) console.log("variantListToBeShownOnProductPage", variantListToBeShownOnProductPage) gkt.utility.overWriteBuyNowBtn() gkt.state.isOverWriteBuyNowBtnTriggered = true console.log("PRODUCT_PAGE") } if (parent == "CART_PAGE" && oneClickUpsellListForCartPage && oneClickUpsellListForCartPage.length && oneClickUpsellListForCartPage.length > 0) { let variantListToBeShownOnCartPage = await gkt.gktOneClickUpsell.f.findVariantListToBeShown(oneClickUpsellListForCartPage) let oneClickUpsellCartPageHTML = gkt.gktOneClickUpsell.f.prepareUI(settings, variantListToBeShownOnCartPage, parent) gkt.gktOneClickUpsell.f.insertIntoCartPageWrapper(settings, oneClickUpsellCartPageHTML) console.log("variantListToBeShownOnCartPage", variantListToBeShownOnCartPage) console.log("CART_PAGE") } }, f: { segregateOneClickUpsells: function (oneClickUpsells, currProductHandle) { let oneClickUpsellListForCartPage = [] let oneClickUpsellListForProductPage = [] for (let i = 0; i

x.handle === currProductHandle)) { oneClickUpsellListForProductPage.push(oneClickUpsell) } } return { oneClickUpsellListForCartPage: oneClickUpsellListForCartPage, oneClickUpsellListForProductPage: oneClickUpsellListForProductPage } }, findVariantListToBeShown: async function (oneClickUpsellList) { let responseData = [] let variantListSelectedByUser = [] let apiCalls = [] for (let i = 0; i ").addClass('gktOneClickUpsellContainer') for (let i = 0; i ").addClass('gktOneClickUpsellItemContainer') let gktOneClickUpsellItemContainerCheckboxLable = gkt.$("
Roobis Tea - Henry’s House Of Coffee (2024)

References

Top Articles
BMX Racen Olympische Spelen 2024 Parijs | Programma en data
How To Calculate Cryptocurrency Taxes? // ESI
No Hard Feelings (2023) Tickets & Showtimes
123Movies Encanto
Chris Provost Daughter Addie
Wordscapes Level 5130 Answers
Research Tome Neltharus
Devotion Showtimes Near Mjr Universal Grand Cinema 16
Samsung 9C8
Hardly Antonyms
Myql Loan Login
Aces Fmc Charting
Saw X | Rotten Tomatoes
All Buttons In Blox Fruits
Restaurants Near Paramount Theater Cedar Rapids
Carolina Aguilar Facebook
Craighead County Sheriff's Department
97226 Zip Code
Christina Steele And Nathaniel Hadley Novel
Rufus Benton "Bent" Moulds Jr. Obituary 2024 - Webb & Stephens Funeral Homes
Never Give Up Quotes to Keep You Going
Winco Employee Handbook 2022
What Equals 16
Mta Bus Forums
4.231 Rounded To The Nearest Hundred
Remnants of Filth: Yuwu (Novel) Vol. 4
Ups Drop Off Newton Ks
Acuity Eye Group - La Quinta Photos
Bee And Willow Bar Cart
Robot or human?
Autozone Locations Near Me
Tds Wifi Outage
Hannibal Mo Craigslist Pets
Rochester Ny Missed Connections
Sc Pick 4 Evening Archives
Hometown Pizza Sheridan Menu
Final Fantasy 7 Remake Nexus
Jasgotgass2
Rush Copley Swim Lessons
Love Words Starting with P (With Definition)
Mcoc Black Panther
Joy Taylor Nip Slip
Meee Ruh
Www.homedepot .Com
Marine Forecast Sandy Hook To Manasquan Inlet
Maurices Thanks Crossword Clue
Bones And All Showtimes Near Emagine Canton
Subdomain Finer
Nfhs Network On Direct Tv
Inloggen bij AH Sam - E-Overheid
The Love Life Of Kelsey Asbille: A Comprehensive Guide To Her Relationships
Pauline Frommer's Paris 2007 (Pauline Frommer Guides) - SILO.PUB
Latest Posts
Article information

Author: Saturnina Altenwerth DVM

Last Updated:

Views: 5910

Rating: 4.3 / 5 (44 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Saturnina Altenwerth DVM

Birthday: 1992-08-21

Address: Apt. 237 662 Haag Mills, East Verenaport, MO 57071-5493

Phone: +331850833384

Job: District Real-Estate Architect

Hobby: Skateboarding, Taxidermy, Air sports, Painting, Knife making, Letterboxing, Inline skating

Introduction: My name is Saturnina Altenwerth DVM, I am a witty, perfect, combative, beautiful, determined, fancy, determined person who loves writing and wants to share my knowledge and understanding with you.