• DELETE FROM KEYWORDS WHERE ID_DOMAINE=35908339
  • DoneDoneDone

    URL:www.mcdaidpharmacy.ie

    Connection: keep-alive
    Date: Fri, 01 Nov 2024 14:33:14 GMT
    Content-Length: 0
    Content-Type: text/html; charset=utf-8
    Location: https://www.mcdaidpharmacy.ie/
    Server: cloudflare
    Vary: Accept
    x-sorting-hat-podid: 337
    x-sorting-hat-shopid: 53000470702
    x-storefront-renderer-rendered: 1
    x-redirect-reason: https_required
    x-frame-options: DENY
    content-security-policy: frame-ancestors 'none';
    x-shopid: 53000470702
    x-shardid: 337
    powered-by: Shopify
    server-timing: processing;dur=9, db;dur=2, asn;desc="12322", edge;desc="CDG", country;desc="FR", pageType;desc="index", servedBy;desc="8kp2", requestID;desc="b5bb462b-cc39-4292-997d-4035cb5615c6-1730471594"
    x-dc: gcp-europe-west1,gcp-europe-west4,gcp-europe-west4
    x-request-id: b5bb462b-cc39-4292-997d-4035cb5615c6-1730471594
    Alt-Svc: h3=":443"; ma=86400
    CF-Cache-Status: DYNAMIC
    Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=dCv8p9FbAmk68a7QNLYo%2BDEf0AvzKkPDcL%2FWw2wyqDtrY3HNcgY4X8HAj8OaEYVQqdhGZQTQc0XNZiN4CUS5ovowymEiOPG3Z89EDQ1OG622bZZNRof5NxXFhKwZv0qeIloPoHxHTw%3D%3D"}],"group":"cf-nel","max_age":604800}
    NEL: {"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
    Server-Timing: cfRequestDuration;dur=82.999945
    X-XSS-Protection: 1; mode=block
    X-Content-Type-Options: nosniff
    X-Permitted-Cross-Domain-Policies: none
    X-Download-Options: noopen
    CF-RAY: 8dbc994bde422a59-CDG
    
    
    Location => https://www.mcdaidpharmacy.ie/
    Status => 301

    (vide) Tentative en https

    https://www.mcdaidpharmacy.ie/

    <!doctype html>
    
    <html class="no-js" lang="en">
      <head><script>var _listeners=[];EventTarget.prototype.addEventListenerBase=EventTarget.prototype.addEventListener,EventTarget.prototype.addEventListener=function(e,t,p){_listeners.push({target:this,type:e,listener:t}),this.addEventListenerBase(e,t,p)},EventTarget.prototype.removeEventListeners=function(e){for(var t=0;t!=_listeners.length;t++){var r=_listeners[t],n=r.target,s=r.type,i=r.listener;n==this&&s==e&&this.removeEventListener(s,i)}};</script><script type="text/worker" id="spdnworker">onmessage=function(e){var t=new Request("https://api.speedien.com/optimize/51fbf94259daac03e0f36943398893fd",{redirect:"follow"});fetch(t).then(e=>e.text()).then(e=>{postMessage(e)})};</script>
    <script type="text/javascript">var spdnx=new Worker("data:text/javascript;base64,"+btoa(document.getElementById("spdnworker").textContent));spdnx.onmessage=function(t){var e=document.createElement("script");e.type="text/javascript",e.textContent=t.data,document.head.appendChild(e)};</script>
    <script type="text/javascript" data-spdn="1">
    const observer=new MutationObserver(mutations=>{mutations.forEach(({addedNodes})=>{addedNodes.forEach(node=>{
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('asyncLoad')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.innerHTML.includes('hotjar')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.innerHTML.includes('xklaviyo')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.innerHTML.includes('recaptcha')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('klaviyo')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.innerHTML.includes('gorgias')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.innerHTML.includes('facebook.net')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('gorgias')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('stripe')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('mem')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('privy')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('incart')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('webui')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('font')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('fontawesome')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('custom')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('herokuapp')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('heroku')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('datastore')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('RegisterForm')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('Handlebars')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('exports')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('ShopifyXR')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('hextom')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('myModal')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('bsscommerce')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('Zoorix')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('ShopifyAnalytics')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('Shopify')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('privy')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('sendBeacon')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.innerHTML.includes('shopify.content_for_header.start')){node.type='text/spdnscript'}
     if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.innerHTML.includes('gtag')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.innerHTML.includes('tagmanager')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.innerHTML.includes('gtm')){node.type='text/spdnscript'}
    if(node.nodeType===1&&node.tagName==='SCRIPT'&&node.src.includes('googlet')){node.type='text/spdnscript'}
    if(node.tagName==='SCRIPT'&&node.className=='analytics'){node.type='text/spdnscript'}  if(node.tagName==='SCRIPT'&&node.src!==""&&node.type!=='text/spdnscript'){node.type='text/2spdnscript'}
    if(node.tagName==='SCRIPT'&&!node.type.includes('json')&&!node.type.includes('template')&&node.src===""&&node.type!=='text/spdnscript'&&!node.innerHTML.includes('spdnscript')){node.type='text/2spdnscript'}})})})
    var ua = navigator.userAgent.toLowerCase();if ((ua.indexOf('chrome') > -1 || ua.indexOf('firefox') > -1) && window.location.href.indexOf("no-optimization") === -1 && window.location.href.indexOf("cart") === -1) {observer.observe(document.documentElement,{childList:true,subtree:true})}</script> 
    <!-- PROGRESSIFY-ME:START -->
    <link rel="manifest" href="/a/progressify/mcdaids-pharmacy/manifest.json">
    <!-- PROGRESSIFY-ME:END -->
    <meta name="ahrefs-site-verification" content="5ea756ab6629d51a497292b4a078798646efdc4d669c639feaf550500e999438">
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, height=device-height, minimum-scale=1.0, maximum-scale=1.0">
        <meta name="theme-color" content="#008a00">
    
    
    
    <meta name="google-site-verification" content="ThLBlw8SCUp_gVRSehOdCvVSOcIsXr8oxUlFQS_p9MM" /><title>Pharmacy &amp; Chemists - Health, Beauty, Vitamins,
    Ireland, UK, Europe</title><meta name="description" content="Shop Medicines, Health, Skincare, Beauty, Makeup, Vitamins, Perfumes, Aftershave Toiletries. Free delivery €40+ Family-owned serving UK, NI, Ireland. Online pharmacy for medicine, health &amp; beauty in Ireland"><link rel="canonical" href="https://www.mcdaidpharmacy.ie/"><link rel="shortcut icon" href="//www.mcdaidpharmacy.ie/cdn/shop/files/McDaids_FAvicon_1_96x96.png?v=1679311446" type="image/png"><link rel="preload" as="style" href="//www.mcdaidpharmacy.ie/cdn/shop/t/17/assets/theme.css?v=160246074297039731331704901097">
        <link rel="preload" as="script" href="//www.mcdaidpharmacy.ie/cdn/shop/t/17/assets/theme.js?v=5440707833215902241676451933">
        <link rel="preconnect" href="https://cdn.shopify.com">
        <link rel="preconnect" href="https://fonts.shopifycdn.com">
        <link rel="dns-prefetch" href="https://productreviews.shopifycdn.com">
        <link rel="dns-prefetch" href="https://ajax.googleapis.com">
        <link rel="dns-prefetch" href="https://maps.googleapis.com">
        <link rel="dns-prefetch" href="https://maps.gstatic.com">
    
        <meta property="og:type" content="website">
      <meta property="og:title" content="Pharmacy &amp; Chemists - Health, Beauty, Vitamins,"><meta property="og:description" content="Shop Medicines, Health, Skincare, Beauty, Makeup, Vitamins, Perfumes, Aftershave Toiletries. Free delivery €40+ Family-owned serving UK, NI, Ireland. Online pharmacy for medicine, health &amp; beauty in Ireland"><meta property="og:url" content="https://www.mcdaidpharmacy.ie/">
    <meta property="og:site_name" content="McDaid Pharmacy "><meta name="twitter:card" content="summary"><meta name="twitter:title" content="Pharmacy &amp; Chemists - Health, Beauty, Vitamins,">
      <meta name="twitter:description" content="Shop Medicines, Health, Skincare, Beauty, Makeup, Vitamins, Perfumes, Aftershave Toiletries. Free delivery €40+ Family-owned serving UK, NI, Ireland. Online pharmacy for medicine, health &amp; beauty in Ireland">
        <link rel="preload" href="//www.mcdaidpharmacy.ie/cdn/fonts/raleway/raleway_n3.6af2bf6ae89d795fe706cb1dd85571cc2decf7bc.woff2?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=9fc0941651c69f899888361b7f3b7cddbf40992b55e2dcb2ec93472db5f54eee" as="font" type="font/woff2" crossorigin><link rel="preload" href="//www.mcdaidpharmacy.ie/cdn/fonts/twentieth_century/twentiethcentury_n3.86e59a220b99538e6d65d71e24ce660a8ee4d965.woff2?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=f5a556cdbcc658ce1e4cc7d2396216b95fd039a75307928ca19e9b7f92236f59" as="font" type="font/woff2" crossorigin><style>
      @font-face {
      font-family: Raleway;
      font-weight: 300;
      font-style: normal;
      font-display: swap;
      src: url("//www.mcdaidpharmacy.ie/cdn/fonts/raleway/raleway_n3.6af2bf6ae89d795fe706cb1dd85571cc2decf7bc.woff2?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=9fc0941651c69f899888361b7f3b7cddbf40992b55e2dcb2ec93472db5f54eee") format("woff2"),
           url("//www.mcdaidpharmacy.ie/cdn/fonts/raleway/raleway_n3.41c8b774129b7887abbfb6832362cbf04d3d00f1.woff?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=0e78c48f91f0fa0481ebf130a315868da73cdc646a555e498ff8944f20e97069") format("woff");
    }
    
      @font-face {
      font-family: "Twentieth Century";
      font-weight: 300;
      font-style: normal;
      font-display: swap;
      src: url("//www.mcdaidpharmacy.ie/cdn/fonts/twentieth_century/twentiethcentury_n3.86e59a220b99538e6d65d71e24ce660a8ee4d965.woff2?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=f5a556cdbcc658ce1e4cc7d2396216b95fd039a75307928ca19e9b7f92236f59") format("woff2"),
           url("//www.mcdaidpharmacy.ie/cdn/fonts/twentieth_century/twentiethcentury_n3.34ec1fd22f3f6492e06c8e9cbb979146e410af63.woff?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=bc04a9af99d9075145e41fb98c41bee45cc88078560bb9270beef5775b46c3d3") format("woff");
    }
    
    @font-face {
      font-family: "Twentieth Century";
      font-weight: 600;
      font-style: normal;
      font-display: swap;
      src: url("//www.mcdaidpharmacy.ie/cdn/fonts/twentieth_century/twentiethcentury_n6.0d3b76303d4b4a3612edbc69654ac2a8ca6886a4.woff2?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=441fe20526bbc27b003edb799c2811bd575afba638a623d5550d3413d280e62d") format("woff2"),
           url("//www.mcdaidpharmacy.ie/cdn/fonts/twentieth_century/twentiethcentury_n6.c396df293741c34c7c780d8677bc681d3c3ecd42.woff?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=332e1b5aff84617822d7b28cf0af3ad1e566c3104c59e701e5e56b0a00caab04") format("woff");
    }
    
    @font-face {
      font-family: Raleway;
      font-weight: 300;
      font-style: italic;
      font-display: swap;
      src: url("//www.mcdaidpharmacy.ie/cdn/fonts/raleway/raleway_i3.f798b4e374a4d30c9bd3483c76ea744eb60c6af7.woff2?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=43b8e0745be246c1e040737bf31e37fee6717ca1ccc87161bfbd3d7bfc1649cc") format("woff2"),
           url("//www.mcdaidpharmacy.ie/cdn/fonts/raleway/raleway_i3.e8506af22f1bedd39a4647a375136469b37d46ac.woff?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=929936770294eebf99234776e0a244651d3950c75b7fc61c7e66a529481b3196") format("woff");
    }
    
    
      @font-face {
      font-family: "Twentieth Century";
      font-weight: 400;
      font-style: normal;
      font-display: swap;
      src: url("//www.mcdaidpharmacy.ie/cdn/fonts/twentieth_century/twentiethcentury_n4.1a7b2b68023505e1927302cc60a155187098ca59.woff2?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=7e91b74fd502c277d6aa3f5a568096697fe84981f4b12094ad08416dac7bfe70") format("woff2"),
           url("//www.mcdaidpharmacy.ie/cdn/fonts/twentieth_century/twentiethcentury_n4.2bd9ba3193feaaeabefe6059cf0ba7e11c41e810.woff?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=713b37d006378a60e3249fd59666b7eeb555299a02cb76285e84496585086165") format("woff");
    }
    
      @font-face {
      font-family: "Twentieth Century";
      font-weight: 300;
      font-style: italic;
      font-display: swap;
      src: url("//www.mcdaidpharmacy.ie/cdn/fonts/twentieth_century/twentiethcentury_i3.0053f3718225e27d210d71fce1d5b9595680817b.woff2?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=a1e41b91a39174f494edd0e8cebc09c84699c2aeb14fdb108dea95ab778e3f37") format("woff2"),
           url("//www.mcdaidpharmacy.ie/cdn/fonts/twentieth_century/twentiethcentury_i3.142ba5c619df6baab691aeab9e711ed220935706.woff?h1=bWNkYWlkcGhhcm1hY3kuaWU&h2=bWNkYWlkcy1waGFybWFjeS5hY2NvdW50Lm15c2hvcGlmeS5jb20&hmac=888b88673c66bbe962bef5a11547c2a564ff9fd04210bb6427b5d0e35657d075") format("woff");
    }
    
      
    
      :root {
        --default-text-font-size : 15px;
        --base-text-font-size    : 16px;
        --heading-font-family    : Raleway, sans-serif;
        --heading-font-weight    : 300;
        --heading-font-style     : normal;
        --text-font-family       : "Twentieth Century", sans-serif;
        --text-font-weight       : 300;
        --text-font-style        : normal;
        --text-font-bolder-weight: 600;
        --text-link-decoration   : underline;
    
        --text-color               : #6a6a6a;
        --text-color-rgb           : 106, 106, 106;
        --heading-color            : #494949;
        --border-color             : #dddddd;
        --border-color-rgb         : 221, 221, 221;
        --form-border-color        : #d0d0d0;
        --accent-color             : #008a00;
        --accent-color-rgb         : 0, 138, 0;
        --link-color               : #008a00;
        --link-color-hover         : #003e00;
        --background               : #ffffff;
        --secondary-background     : #ffffff;
        --secondary-background-rgb : 255, 255, 255;
        --accent-background        : rgba(0, 138, 0, 0.08);
    
        --input-background: #ffffff;
    
        --error-color       : #ff0000;
        --error-background  : rgba(255, 0, 0, 0.07);
        --success-color     : #00aa00;
        --success-background: rgba(0, 170, 0, 0.11);
    
        --primary-button-background      : #008a00;
        --primary-button-background-rgb  : 0, 138, 0;
        --primary-button-text-color      : #ffffff;
        --secondary-button-background    : #008a00;
        --secondary-button-background-rgb: 0, 138, 0;
        --secondary-button-text-color    : #ffffff;
    
        --header-background      : #fafafa;
        --header-text-color      : #6a6a6a;
        --header-light-text-color: #a3afef;
        --header-border-color    : rgba(163, 175, 239, 0.3);
        --header-accent-color    : #008a00;
    
        --footer-background-color:    #fafafa;
        --footer-heading-text-color:  #6a6a6a;
        --footer-body-text-color:     #6a6a6a;
        --footer-body-text-color-rgb: 106, 106, 106;
        --footer-accent-color:        #008a00;
        --footer-accent-color-rgb:    0, 138, 0;
        --footer-border:              none;
        
        --flickity-arrow-color: #aaaaaa;--product-on-sale-accent           : #008a00;
        --product-on-sale-accent-rgb       : 0, 138, 0;
        --product-on-sale-color            : #ffffff;
        --product-in-stock-color           : #008a00;
        --product-low-stock-color          : #ee0000;
        --product-sold-out-color           : #8a9297;
        --product-custom-label-1-background: #008a00;
        --product-custom-label-1-color     : #ffffff;
        --product-custom-label-2-background: #00a500;
        --product-custom-label-2-color     : #ffffff;
        --product-review-star-color        : #ffbd00;
    
        --mobile-container-gutter : 20px;
        --desktop-container-gutter: 40px;
    
        /* Shopify related variables */
        --payment-terms-background-color: #ffffff;
      }
    </style>
    
    <script>
      // IE11 does not have support for CSS variables, so we have to polyfill them
      if (!(((window || {}).CSS || {}).supports && window.CSS.supports('(--a: 0)'))) {
        const script = document.createElement('script');
        script.type = 'text/javascript';
        script.src = 'https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2';
        script.onload = function() {
          cssVars({});
        };
    
        document.getElementsByTagName('head')[0].appendChild(script);
      }
    </script>
    
    
        <script>window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.start');</script><meta name="google-site-verification" content="aRvIoyVnLCAm2h-0fJyU4zzEz69qqZ0l9ZWpyGBajMU">
    <meta name="facebook-domain-verification" content="vybejv3rcfgjyvf2xgbxw0v9fyp23x">
    <meta name="google-site-verification" content="BJ_dOzH3-3dD5fQeo1E-uCQbBimCHbRMVhqTD2ub6GY">
    <meta id="shopify-digital-wallet" name="shopify-digital-wallet" content="/53000470702/digital_wallets/dialog">
    <meta name="shopify-checkout-api-token" content="064cc6e2f0c7e1fa8d9053c1e0af4012">
    <meta id="in-context-paypal-metadata" data-shop-id="53000470702" data-venmo-supported="false" data-environment="production" data-locale="en_US" data-paypal-v4="true" data-currency="EUR">
    <script async="async" src="/checkouts/internal/preloads.js?locale=en-IE"></script>
    <script id="shopify-features" type="application/json">{"accessToken":"064cc6e2f0c7e1fa8d9053c1e0af4012","betas":["rich-media-storefront-analytics"],"domain":"www.mcdaidpharmacy.ie","predictiveSearch":true,"shopId":53000470702,"smart_payment_buttons_url":"https:\/\/www.mcdaidpharmacy.ie\/cdn\/shopifycloud\/payment-sheet\/assets\/latest\/spb.en.js","dynamic_checkout_cart_url":"https:\/\/www.mcdaidpharmacy.ie\/cdn\/shopifycloud\/payment-sheet\/assets\/latest\/dynamic-checkout-cart.en.js","locale":"en"}</script>
    <script>var Shopify = Shopify || {};
    Shopify.shop = "mcdaids-pharmacy.myshopify.com";
    Shopify.locale = "en";
    Shopify.currency = {"active":"EUR","rate":"1.0"};
    Shopify.country = "IE";
    Shopify.theme = {"name":"Warehouse_New","id":137530540281,"schema_name":"Warehouse","schema_version":"4.0.0","theme_store_id":871,"role":"main"};
    Shopify.theme.handle = "null";
    Shopify.theme.style = {"id":null,"handle":null};
    Shopify.cdnHost = "www.mcdaidpharmacy.ie/cdn";
    Shopify.routes = Shopify.routes || {};
    Shopify.routes.root = "/";</script>
    <script type="module">!function(o){(o.Shopify=o.Shopify||{}).modules=!0}(window);</script>
    <script>!function(o){function n(){var o=[];function n(){o.push(Array.prototype.slice.apply(arguments))}return n.q=o,n}var t=o.Shopify=o.Shopify||{};t.loadFeatures=n(),t.autoloadFeatures=n()}(window);</script>
    <script id="shop-js-analytics" type="application/json">{"pageType":"index"}</script>
    <script>(function() {
      function asyncLoad() {
        var urls = ["https:\/\/badgeview.triconinfotech.net\/LiquidWidgets-V1.js?shop=mcdaids-pharmacy.myshopify.com","https:\/\/image-optimizer.salessquad.co.uk\/scripts\/tiny_img_not_found_notifier_a40de13714dabade3454d3f7dc5c9755.js?shop=mcdaids-pharmacy.myshopify.com","https:\/\/app.popt.in\/pixel.js?id=f3d166bb01062\u0026shop=mcdaids-pharmacy.myshopify.com","\/\/cdn.shopify.com\/proxy\/2d65335d0d4d28dbf59bdafaa093452fde810138c9ed8275bdcc81543ef92d3b\/storage.googleapis.com\/adnabu-shopify\/online-store\/1611d65e6cad42c0b08acce31715146332.min.js?shop=mcdaids-pharmacy.myshopify.com\u0026sp-cache-control=cHVibGljLCBtYXgtYWdlPTkwMA","https:\/\/cdn.hextom.com\/js\/quickannouncementbar.js?shop=mcdaids-pharmacy.myshopify.com","https:\/\/cdn.hextom.com\/js\/freeshippingbar.js?shop=mcdaids-pharmacy.myshopify.com"];
        for (var i = 0; i < urls.length; i++) {
          var s = document.createElement('script');
          s.type = 'text/javascript';
          s.async = true;
          s.src = urls[i];
          var x = document.getElementsByTagName('script')[0];
          x.parentNode.insertBefore(s, x);
        }
      };
      if(window.attachEvent) {
        window.attachEvent('onload', asyncLoad);
      } else {
        window.addEventListener('load', asyncLoad, false);
      }
    })();</script>
    <script id="__st">var __st={"a":53000470702,"offset":0,"reqid":"78e4c8da-eb87-4dd7-93ec-4857448ee7f2-1730471595","pageurl":"www.mcdaidpharmacy.ie\/","u":"0220e2bf2a79","p":"home"};</script>
    <script>window.ShopifyPaypalV4VisibilityTracking = true;</script>
    <script id="captcha-bootstrap">!function(){'use strict';const t='contact',e='account',n='new_comment',o=[[t,t],['blogs',n],['comments',n],[t,'customer']],c=[[e,'customer_login'],[e,'guest_login'],[e,'recover_customer_password'],[e,'create_customer']],r=t=>t.map((([t,e])=>`form[action*='/${t}']:not([data-nocaptcha='true']) input[name='form_type'][value='${e}']`)).join(',');function s(t,e,n=!1){try{const o=window.sessionStorage;for(const[n,c]of Object.entries(JSON.parse(o.getItem(e))))t.elements[n]&&(t.elements[n].value=c);n&&o.removeItem(e)}catch{}}const a='form_key',i=['recaptcha-v3-token','g-recaptcha-response','h-captcha-response','password'],u=()=>{try{return window.sessionStorage}catch{return}},m=t=>t.elements[a],f='form_type',d='cptcha';function p(t){t.dataset[d]=!0}const l=window,h=l.document,_='Shopify',y='ce_forms',E='captcha';let v=!1;((t,e)=>{const n=(g='f06e6c50-85a8-45c8-87d0-21a2b65856fe','https://cdn.shopify.com/shopifycloud/storefront-forms-hcaptcha/ce_storefront_forms_captcha_hcaptcha.v1.4.0.iife.js',T={infoText:'Protected by hCaptcha',privacyText:'Privacy',termsText:'Terms'},(t,e,n)=>{const o=l[_][y],c=o.bindForm;if(c)return c(t,g,e,T).then(n);o.q.push([[t,g,e,T],n]),v||(h.body.append(Object.assign(h.createElement('script'),{id:'captcha-provider',async:!0,src:'https://cdn.shopify.com/shopifycloud/storefront-forms-hcaptcha/ce_storefront_forms_captcha_hcaptcha.v1.4.0.iife.js'})),v=!0)});var g,T;l[_]=l[_]||{},l[_][y]=l[_][y]||{},l[_][y].q=[],l[_][E]=l[_][E]||{},l[_][E].protect=function(t,e){n(t,void 0,e),p(t)},Object.freeze(l[_][E]),function(t,e,n,l,h,_){const[y,E,v,g]=function(t,e,n){const s=e?o:[],a=t?c:[],i=[...s,...a],u=[...o],m=r(i),f=r(s),d=n&&r(i.filter((([t,e])=>n.includes(e)))),p=r(u),l=t=>()=>t?[...document.querySelectorAll(t)].map((t=>t.form)):[];return[l(m),l(f),l(d),l(p)]}(l,h,_),T=t=>{const e=t.target;return e instanceof HTMLFormElement?e:e&&e.form},S=t=>y().includes(t);t.addEventListener('submit',(t=>{const e=T(t);if(!e)return;const n=S(e)&&!e.dataset.hcaptchaBound&&!e.dataset.recaptchaBound,o=m(e),c=g().includes(e)&&(!o||!o.value);(n||c)&&t.preventDefault(),c&&!n&&(function(t){try{if(!u())return;!function(t){const e=u();if(!e)return;const n=m(t);if(!n)return;const o=n.value;o&&e.removeItem(o)}(t);const e=Array.from(Array(32),(()=>Math.random().toString(36)[2])).join('');!function(t,e){m(t)||t.append(Object.assign(document.createElement('input'),{type:'hidden',name:a})),t.elements[a].value=e}(t,e),function(t,e){const n=u();if(!n)return;const o=[...t.querySelectorAll('input[type="password"]')].map((({name:t})=>t)),c=[...i,...o],r={};for(const[s,a]of new FormData(t).entries())c.includes(s)||(r[s]=a);n.setItem(e,JSON.stringify(r))}(t,e)}catch(e){console.error('failed to persist form',e)}}(e),e.submit())}));const w=(t,e)=>{t&&!t.dataset[d]&&(n(t,e.some((e=>e===t))),p(t))};for(const o of['focusin','change'])t.addEventListener(o,(t=>{const e=T(t);S(e)&&w(e,E())}));const A=e.get('form_key'),b=e.get(f),I=A&&b;t.addEventListener('DOMContentLoaded',(()=>{const t=E();if(I)for(const e of t)e.elements[f].value===b&&s(e,A);[...new Set([...v(),...y().filter((t=>'true'===t.dataset.shopifyCaptcha))])].forEach((e=>w(e,t)))}))}(h,new URLSearchParams(l.location.search),n,!1,!0,['guest_login'])})()}();</script>
    <script integrity="sha256-EGCDRYTvIEOXsReXgqGwkAR+5Dl8tickSrieA/ZcQwc=" data-source-attribution="shopify.loadfeatures" defer="defer" src="//www.mcdaidpharmacy.ie/cdn/shopifycloud/shopify/assets/storefront/load_feature-1060834584ef204397b1179782a1b090047ee4397cb627244ab89e03f65c4307.js" crossorigin="anonymous"></script>
    <script data-source-attribution="shopify.dynamic_checkout.dynamic.init">var Shopify=Shopify||{};Shopify.PaymentButton=Shopify.PaymentButton||{isStorefrontPortableWallets:!0,init:function(){window.Shopify.PaymentButton.init=function(){};var t=document.createElement("script");t.src="https://www.mcdaidpharmacy.ie/cdn/shopifycloud/portable-wallets/latest/portable-wallets.en.js",t.type="module",document.head.appendChild(t)}};
    </script>
    <script data-source-attribution="shopify.dynamic_checkout.buyer_consent">
      function portableWalletsHideBuyerConsent(e){var t=document.getElementById("shopify-buyer-consent"),n=document.getElementById("shopify-subscription-policy-button");t&&n&&(t.classList.add("hidden"),t.setAttribute("aria-hidden","true"),n.removeEventListener("click",e))}function portableWalletsShowBuyerConsent(e){var t=document.getElementById("shopify-buyer-consent"),n=document.getElementById("shopify-subscription-policy-button");t&&n&&(t.classList.remove("hidden"),t.removeAttribute("aria-hidden"),n.addEventListener("click",e))}window.Shopify?.PaymentButton&&(window.Shopify.PaymentButton.hideBuyerConsent=portableWalletsHideBuyerConsent,window.Shopify.PaymentButton.showBuyerConsent=portableWalletsShowBuyerConsent);
    </script>
    <script>
      function portableWalletsCleanup(e){e&&e.src&&console.error("Failed to load portable wallets script "+e.src);var t=document.querySelectorAll("shopify-accelerated-checkout .shopify-payment-button__skeleton, shopify-accelerated-checkout-cart .wallet-cart-button__skeleton"),e=document.getElementById("shopify-buyer-consent");for(let e=0;e<t.length;e++)t[e].remove();e&&e.remove()}function portableWalletsNotLoadedAsModule(e){e instanceof ErrorEvent&&"string"==typeof e.message&&e.message.includes("import.meta")&&"string"==typeof e.filename&&e.filename.includes("portable-wallets")&&(window.removeEventListener("error",portableWalletsNotLoadedAsModule),window.Shopify.PaymentButton.failedToLoad=e,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.Shopify.PaymentButton.init):window.Shopify.PaymentButton.init())}window.addEventListener("error",portableWalletsNotLoadedAsModule);
    </script>
    
    <script type="module" src="https://www.mcdaidpharmacy.ie/cdn/shopifycloud/portable-wallets/latest/portable-wallets.en.js" onError="portableWalletsCleanup(this)" crossorigin="anonymous"></script>
    <script nomodule>
      document.addEventListener("DOMContentLoaded", portableWalletsCleanup);
    </script>
    
    <script id='scb4127' type='text/javascript' async='' src='https://www.mcdaidpharmacy.ie/cdn/shopifycloud/privacy-banner/storefront-banner.js'></script>
    <style id="shopify-accelerated-checkout">
      .shopify-payment-button__button--hidden {
      visibility: hidden;
    }
    
    .shopify-payment-button__button {
      height: clamp(
        25px,
        var(--shopify-accelerated-checkout-button-block-size, 44px),
        55px
      );
      min-height: clamp(
        25px,
        var(--shopify-accelerated-checkout-button-block-size, 44px),
        55px
      );
      border-radius: var(--shopify-accelerated-checkout-button-border-radius, 0px);
      width: 100%;
      border: none;
      box-shadow: 0 0 0 0 transparent;
      color: white;
      cursor: pointer;
      display: block;
      font-size: 1em;
      font-weight: 500;
      line-height: 1;
      text-align: center;
      transition: background 0.2s ease-in-out;
    }
    
    .shopify-payment-button__button[disabled] {
      opacity: 0.6;
      cursor: default;
    }
    
    .shopify-payment-button__button--unbranded {
      background-color: #1990c6;
      padding: 1em 2em;
    }
    
    .shopify-payment-button__button--unbranded:hover:not([disabled]) {
      background-color: #136f99;
    }
    
    .shopify-payment-button__more-options {
      background: transparent;
      border: 0 none;
      cursor: pointer;
      display: block;
      font-size: 1em;
      margin-top: 1em;
      text-align: center;
      text-decoration: underline;
      width: 100%;
    }
    
    .shopify-payment-button__more-options.shopify-payment-button__skeleton {
      height: auto !important;
      min-height: 0 !important;
      border-radius: 4px !important;
      width: 50%;
      margin-left: 25%;
      margin-right: 25%;
    }
    
    .shopify-payment-button__more-options[disabled] {
      opacity: 0.6;
      cursor: default !important;
    }
    
    .shopify-payment-button__button.shopify-payment-button__button--branded {
      display: flex;
      flex-direction: column;
      position: relative;
      z-index: 1;
    }
    
    .shopify-payment-button__button.shopify-payment-button__button--branded .shopify-cleanslate {
      flex: 1 !important;
      display: flex !important;
      flex-direction: column !important;
    }
    
    .shopify-payment-button__button.button.loading {
      position: relative;
      color: transparent;
    }
    
    .shopify-payment-button__button.button.loading > .loading-overlay__spinner {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      position: absolute;
      height: 100%;
      display: flex;
      align-items: center;
    }
    
    .shopify-payment-button__button.button.loading > .loading-overlay__spinner .spinner {
      width: -moz-fit-content;
      width: -webkit-fit-content;
      width: fit-content;
    }
    
    .button.loading > .loading-overlay__spinner .path {
      stroke: white;
    }
    
    .shopify-payment-button__button .loading-overlay__spinner {
      width: 1.8rem;
      display: inline-block;
    }
    
    .shopify-payment-button__button .spinner {
      animation: shopify-rotator 1.4s linear infinite;
    }
    
    @keyframes shopify-rotator {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(270deg);
      }
    }
    
    .shopify-payment-button__button .path {
      stroke-dasharray: 280;
      stroke-dashoffset: 0;
      transform-origin: center;
      stroke: rgb(18,18,18);
      animation: shopify-dash 1.4s ease-in-out infinite;
    }
    
    @media screen and (forced-colors: active) {
      .shopify-payment-button__button .path {
        stroke: CanvasText;
      }
    }
    
    @keyframes shopify-dash {
      0% {
        stroke-dashoffset: 280;
      }
      50% {
        stroke-dashoffset: 75;
        transform: rotate(135deg);
      }
      100% {
        stroke-dashoffset: 280;
        transform: rotate(450deg);
      }
    }
    
    @keyframes acceleratedCheckoutLoadingSkeleton {
      50% {opacity: var(--shopify-accelerated-checkout-skeleton-animation-opacity-start, 1);}
      75% {opacity: var(--shopify-accelerated-checkout-skeleton-animation-opacity-end, 0.5);}
      100% {opacity: var(--shopify-accelerated-checkout-skeleton-animation-opacity-start, 1);}
    }
    
    .shopify-payment-button__skeleton {
      animation: acceleratedCheckoutLoadingSkeleton var(--shopify-accelerated-checkout-skeleton-animation-duration, 4s) var(--shopify-accelerated-checkout-skeleton-animation-timing-function, ease) infinite;
      animation-delay: -0.168s;
      background-color: var(--shopify-accelerated-checkout-skeleton-background-color, #dedede);
      box-sizing: border-box;
      text-decoration: none !important;
      height: var(--shopify-accelerated-checkout-button-block-size, inherit);
      min-height: 25px;
      max-height: 55px;
      border-radius: var(--shopify-accelerated-checkout-button-border-radius, inherit);
    }
    
    .shopify-payment-button__button {
      border-radius: 0px;
    }
    
      #shopify-buyer-consent {
      margin-top: 1em;
      display: inline-block;
      width: 100%;
    }
    
    #shopify-buyer-consent.hidden {
      display: none;
    }
    
    #shopify-subscription-policy-button {
      background: none;
      border: none;
      padding: 0;
      text-decoration: underline;
      font-size: inherit;
      cursor: pointer;
    }
    
    #shopify-subscription-policy-button::before {
      box-shadow: none;
    }
    
    </style>
    
    <style id="shopify-accelerated-checkout-cart">
            #dynamic-checkout-cart {
      container-type: inline-size;
      container-name: dcc;
      width: 100%;
    }
    
    .wallet-cart-grid {
      --wallet-button-height-horizontal: clamp(
        25px,
        var(
          --shopify-accelerated-checkout-button-inline-size,
          42px
        ),
        55px
      );
      --wallet-button-height-vertical: clamp(
        25px,
        var(
          --shopify-accelerated-checkout-button-block-size,
          54px
        ),
        55px
      );
      --wallet-button-width-horizontal: 150px;
      --wallet-button-width-vertical: 100%;
      --wallet-button-border-radius: var(
        --shopify-accelerated-checkout-button-border-radius,
        4px
      );
      --wallet-grid-margin-horizontal: 0 -5px -5px -5px;
      --wallet-button-container-margin-horizontal: 0 5px 5px;
      --wallet-button-container-margin-vertical: var(--shopify-accelerated-checkout-row-gap, 8px) 0 0;
    }
    
    @keyframes acceleratedCheckoutLoadingSkeleton {
      50% {opacity: var(--shopify-accelerated-checkout-skeleton-animation-opacity-start, 1);}
      75% {opacity: var(--shopify-accelerated-checkout-skeleton-animation-opacity-end, 0.5);}
      100% {opacity: var(--shopify-accelerated-checkout-skeleton-animation-opacity-start, 1);}
    }
    
    .wallet-cart-button__skeleton {
      animation: acceleratedCheckoutLoadingSkeleton var(--shopify-accelerated-checkout-skeleton-animation-duration, 4s) var(--shopify-accelerated-checkout-skeleton-animation-timing-function, ease) infinite;
      animation-delay: -0.168s;
      background-color: var(--shopify-accelerated-checkout-skeleton-background-color, #dedede);
      box-sizing: border-box;
      text-decoration: none !important;
    }
    
    .wallet-cart-grid {
      margin: var(--wallet-grid-margin-horizontal);
      padding: 0;
      display: flex;
      flex-direction: row;
      justify-content: var(--shopify-accelerated-checkout-inline-alignment, start);
      gap: 0 !important;
    }
    
    .wallet-cart-grid--skeleton {
      justify-content: var(--shopify-accelerated-checkout-inline-alignment, inherit);
    }
    
    .wallet-cart-button-container {
      position: relative;
      margin: var(--wallet-button-container-margin-horizontal);
    }
    
    .wallet-cart-button-container,
    .wallet-cart-button {
      width: var(--wallet-button-width-horizontal);
      height: var(--wallet-button-height-horizontal);
      border-radius: var(--wallet-button-border-radius);
      list-style-type: none !important;
      text-align: center;
      flex-shrink: 0;
      flex-grow: 0;
    }
    
    .additional-checkout-buttons--vertical .wallet-cart-grid {
      justify-content: start;
      flex-direction: column;
      margin: 0;
    }
    .additional-checkout-buttons--vertical .wallet-cart-grid .wallet-cart-button-container {
      width: var(--wallet-button-width-vertical);
      height: var(--wallet-button-height-vertical);
      margin: var(--wallet-button-container-margin-vertical);
    }
    .additional-checkout-buttons--vertical .wallet-cart-grid .wallet-cart-button-container:first-child {
      margin-top: 0;
    }
    .additional-checkout-buttons--vertical .wallet-cart-grid .wallet-cart-button {
      width: var(--wallet-button-width-vertical);
      height: var(--wallet-button-height-vertical);
    }
    
    .additional-checkout-buttons--horizontal .wallet-cart-grid .wallet-cart-button-container,
    .additional-checkout-buttons--horizontal .wallet-cart-grid .wallet-cart-button {
      width: var(--wallet-button-width-horizontal) !important;
      height: var(--wallet-button-height-horizontal) !important;
      border-radius: var(--wallet-button-border-radius) !important;
    }
    
    @container dcc (width >= 150px) and (width <= 500px) {
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(1)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(2))) {
        justify-content: start;
        flex-direction: column;
        margin: 0;
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(1)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(2))) .wallet-cart-button-container {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
        margin: var(--wallet-button-container-margin-vertical);
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(1)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(2))) .wallet-cart-button-container:first-child {
        margin-top: 0;
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(1)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(2))) .wallet-cart-button {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
      }
    }
    
    @container dcc (width <= 310px) {
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(2)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(3))) {
        justify-content: start;
        flex-direction: column;
        margin: 0;
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(2)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(3))) .wallet-cart-button-container {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
        margin: var(--wallet-button-container-margin-vertical);
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(2)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(3))) .wallet-cart-button-container:first-child {
        margin-top: 0;
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(2)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(3))) .wallet-cart-button {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
      }
    }
    
    @container dcc (width <= 470px) {
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(3)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(4))) {
        justify-content: start;
        flex-direction: column;
        margin: 0;
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(3)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(4))) .wallet-cart-button-container {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
        margin: var(--wallet-button-container-margin-vertical);
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(3)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(4))) .wallet-cart-button-container:first-child {
        margin-top: 0;
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(3)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(4))) .wallet-cart-button {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
      }
    }
    
    @container dcc (width <= 630px) {
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(4)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(5))) {
        justify-content: start;
        flex-direction: column;
        margin: 0;
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(4)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(5))) .wallet-cart-button-container {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
        margin: var(--wallet-button-container-margin-vertical);
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(4)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(5))) .wallet-cart-button-container:first-child {
        margin-top: 0;
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(4)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(5))) .wallet-cart-button {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
      }
    }
    
    @container dcc (width <= 790px) {
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(5)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(6))) {
        justify-content: start;
        flex-direction: column;
        margin: 0;
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(5)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(6))) .wallet-cart-button-container {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
        margin: var(--wallet-button-container-margin-vertical);
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(5)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(6))) .wallet-cart-button-container:first-child {
        margin-top: 0;
      }
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(5)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(6))) .wallet-cart-button {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
      }
    }
    
    .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(6)) {
      justify-content: start;
      flex-direction: column;
      margin: 0;
    }
    .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(6)) .wallet-cart-button-container {
      width: var(--wallet-button-width-vertical);
      height: var(--wallet-button-height-vertical);
      margin: var(--wallet-button-container-margin-vertical);
    }
    .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(6)) .wallet-cart-button-container:first-child {
      margin-top: 0;
    }
    .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(6)) .wallet-cart-button {
      width: var(--wallet-button-width-vertical);
      height: var(--wallet-button-height-vertical);
    }
    
    @media screen and (max-width: 750px) {
      .wallet-cart-grid {
        justify-content: start;
        flex-direction: column;
        max-width: none;
        margin: 0;
      }
      .wallet-cart-grid .wallet-cart-button-container {
        max-width: none;
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
        margin: var(--wallet-button-container-margin-vertical);
      }
      .wallet-cart-grid .wallet-cart-button-container:first-child {
        margin-top: 0;
      }
      .wallet-cart-grid .wallet-cart-button {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
      }
    }
    
    @supports (not (container-type: inline-size)) or (not (selector(:has(*)))) {
      .wallet-cart-grid {
        justify-content: start;
        flex-direction: column;
        margin: 0;
      }
      .wallet-cart-button-container {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
        margin: var(--wallet-button-container-margin-vertical);
      }
      .wallet-cart-button-container:first-child {
        margin-top: 0;
      }
      .wallet-cart-grid .wallet-cart-button {
        width: var(--wallet-button-width-vertical);
        height: var(--wallet-button-height-vertical);
      }
    }
    
            #shopify-buyer-consent {
      margin-top: 1em;
      display: inline-block;
      width: 100%;
    }
    
    #shopify-buyer-consent.hidden {
      display: none;
    }
    
    #shopify-subscription-policy-button {
      background: none;
      border: none;
      padding: 0;
      text-decoration: underline;
      font-size: inherit;
      cursor: pointer;
    }
    
    #shopify-subscription-policy-button::before {
      box-shadow: none;
    }
    
          </style>
    
    <style id="shopify-accelerated-checkout-cart-grid-with-margin-top">.additional-checkout-buttons--vertical .wallet-cart-grid .wallet-cart-button-container:first-child {
      margin-top: 8px;
    }
    
    
    @container dcc (width >= 150px) and (width <= 500px) {
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(1)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(2))) .wallet-cart-button-container:first-child {
        margin-top: 8px;
      }
    }
    
    @container dcc (width <= 310px) {
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(2)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(3))) .wallet-cart-button-container:first-child {
        margin-top: 8px;
      }
    }
    
    @container dcc (width <= 470px) {
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(3)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(4))) .wallet-cart-button-container:first-child {
        margin-top: 8px;
      }
    }
    
    @container dcc (width <= 630px) {
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(4)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(5))) .wallet-cart-button-container:first-child {
        margin-top: 8px;
      }
    }
    
    @container dcc (width <= 790px) {
      .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(5)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(6))) .wallet-cart-button-container:first-child {
        margin-top: 8px;
      }
    }
    
    .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(6)) .wallet-cart-button-container:first-child {
      margin-top: 8px;
    }
    
    @media screen and (max-width: 750px) {
      .wallet-cart-grid .wallet-cart-button-container:first-child {
        margin-top: 8px;
      }
    }
    
    @supports (not (container-type: inline-size)) or (not (selector(:has(*)))) {
      .wallet-cart-button-container:first-child {
        margin-top: 8px;
      }
    }
    </style>
    <script>window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.end');</script>
    
        <link rel="stylesheet" href="//www.mcdaidpharmacy.ie/cdn/shop/t/17/assets/theme.css?v=160246074297039731331704901097">
    
        
    
    
      <script type="application/ld+json">
      {
        "@context": "https://schema.org",
        "@type": "BreadcrumbList",
      "itemListElement": [{
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://www.mcdaidpharmacy.ie"
        }]
      }
      </script>
    
    <script type="application/ld+json">
        {
          "@context": "https://schema.org",
          "@type": "WebSite",
          "name": "McDaid Pharmacy ",
          "url": "https:\/\/www.mcdaidpharmacy.ie",
          "potentialAction": {
            "@type": "SearchAction",
            "target": "https:\/\/www.mcdaidpharmacy.ie\/search?q={search_term_string}",
            "query-input": "required name=search_term_string"
          }
        }
      </script>
    
        <script>
          // This allows to expose several variables to the global scope, to be used in scripts
          window.theme = {
            pageType: "index",
            cartCount: 0,
            moneyFormat: "€{{amount_with_comma_separator}}",
            moneyWithCurrencyFormat: "€{{amount_with_comma_separator}} EUR",
            currencyCodeEnabled: false,
            showDiscount: true,
            discountMode: "saving",
            cartType: "drawer"
          };
    
          window.routes = {
            rootUrl: "\/",
            rootUrlWithoutSlash: '',
            cartUrl: "\/cart",
            cartAddUrl: "\/cart\/add",
            cartChangeUrl: "\/cart\/change",
            searchUrl: "\/search",
            productRecommendationsUrl: "\/recommendations\/products"
          };
    
          window.languages = {
            productRegularPrice: "Regular price",
            productSalePrice: "Sale price",
            collectionOnSaleLabel: "Save {{savings}}",
            productFormUnavailable: "Unavailable",
            productFormAddToCart: "Add to cart",
            productFormPreOrder: "Pre-order",
            productFormSoldOut: "Sold out",
            productAdded: "Product has been added to your cart",
            productAddedShort: "Added!",
            shippingEstimatorNoResults: "No shipping could be found for your address.",
            shippingEstimatorOneResult: "There is one shipping rate for your address:",
            shippingEstimatorMultipleResults: "There are {{count}} shipping rates for your address:",
            shippingEstimatorErrors: "There are some errors:"
          };
    
          document.documentElement.className = document.documentElement.className.replace('no-js', 'js');
        </script><script src="//www.mcdaidpharmacy.ie/cdn/shop/t/17/assets/theme.js?v=5440707833215902241676451933" defer></script>
        <script src="//www.mcdaidpharmacy.ie/cdn/shop/t/17/assets/custom.js?v=102476495355921946141676451932" defer></script>
        <script async data-id="101432377" src="//static.getclicky.com/js"></script><script>
            (function () {
              window.onpageshow = function() {
                // We force re-freshing the cart content onpageshow, as most browsers will serve a cache copy when hitting the
                // back button, which cause staled data
                document.documentElement.dispatchEvent(new CustomEvent('cart:refresh', {
                  bubbles: true,
                  detail: {scrollToTop: false}
                }));
              };
            })();
          </script><img alt="icon" width="1400" height="1400" style="pointer-events: none; position: absolute; top: 0; left: 0; width: 99vw; height: 99vh; max-width: 99vw; max-height: 99vh;"  src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSI5OTk5OXB4IiBoZWlnaHQ9Ijk5OTk5cHgiIHZpZXdCb3g9IjAgMCA5OTk5OSA5OTk5OSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48ZyBzdHJva2U9Im5vbmUiIGZpbGw9Im5vbmUiIGZpbGwtb3BhY2l0eT0iMCI+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9Ijk5OTk5IiBoZWlnaHQ9Ijk5OTk5Ij48L3JlY3Q+IDwvZz4gPC9zdmc+"><!-- BEGIN app block: shopify://apps/bss-product-labels-badges/blocks/bss-pl-config-data/91bfe765-b604-49a1-805e-3599fa600b24 --><script id='bss-pl-config-data'>
    	let TAE_StoreId = "9861";
    	if (typeof BSS_PL == 'undefined' || TAE_StoreId !== "") {
      		var BSS_PL = {};
    		BSS_PL.storeId = 9861;
    		BSS_PL.currentPlan = "ten_usd";
    		BSS_PL.apiServerProduction = "https://product-labels-pro.bsscommerce.com";
    		BSS_PL.customerTags = "null";
    		BSS_PL.customerId = "null";
    		BSS_PL.storeIdCustomOld = 10678;
    		BSS_PL.storeIdOldWIthPriority = 12200;
    		BSS_PL.integration = {"laiReview":{"status":0,"config":[]}};
    		BSS_PL.settingsData  = {};
    		
    		BSS_PL.configData = [].concat();
    
    		
    		BSS_PL.configDataBanner = [].concat();
    
    		
    		BSS_PL.configDataPopup = [].concat();
    		
    		
    		BSS_PL.collectionID = ``;
    		BSS_PL.collectionHandle = ``;
    		BSS_PL.collectionTitle = ``;
    	}
    </script>
    
    
    
    
    <style>
        
        
    
    </style>
    
    <script>
    	const BSS_PL_PAGES = {
    		"products": "1",
    		"collections": "2",
    		"search": "4",
    		"search-results": "4",
    		"search-results-page": "4",
    		"cart": "5",
    		"": "7",
    	}
    	function bssLoadScripts(src, callback, isDefer = false) {
    		const scriptTag = document.createElement("script");
    		document.head.appendChild(scriptTag);
    		scriptTag.src = src;
    		if (isDefer) {
    			scriptTag.defer = true;
    		} else {
    			scriptTag.async = true;
    		}
    		if (callback) {
    			scriptTag.addEventListener('load', function() {
    				callback();
    			});
    		}
    	}
    	const scriptUrls = [
    		"https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-pl-init-helper.js", 
    		"https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-pl-init-config-run-scripts.js",
    	];
    	Promise.all(scriptUrls.map(script => new Promise(resolve => bssLoadScripts(script, resolve))))
    		.then((res) => {
    			console.log("BSS scripts loaded");
    			window.bssScriptsLoaded = true;
    		})
    
    	function bssInitScripts() {
    		let validConfigs = BSS_PL.configData;
    		let currentPath = typeof Shopify !== "undefined" ? window.location.pathname.replace(Shopify.routes.root, "").split('/') :  window.location.pathname.split('/');
    		const currentPage = currentPath.length > 1 ? currentPath[currentPath.length - 2] : currentPath[0];
    		if (currentPage && typeof BSS_PL_PAGES[currentPage] !== "undefined") {
    			validConfigs = validConfigs.filter(item => item.pages && item.pages.split(",").includes(BSS_PL_PAGES[currentPage]));
    		}
    
    		if (validConfigs.length) {
    			if (BSS_PL.currentPlan == 'ten_usd' || BSS_PL.currentPlan == 'twenty_usd') {
    				const labelWithLangifyLocale = ({ name }) => !(name.includes("[") && Shopify.locale !== name.split("[")[1].split("]")[0]);
    				validConfigs = validConfigs.filter(labelWithLangifyLocale);
    			}
    
    			BSS_PL.configs = {
    				label: validConfigs.filter(item => item.label_type == 1 || item.label_type == null),
    				badgeName: validConfigs.filter(item => item.label_type == 2 && item.badge_type == 0),
    				badgeProductImage: validConfigs.filter(item => item.label_type == 2 && item.badge_type == 1),
    				badgeCustomSelector: validConfigs.filter(item => item.label_type == 2 && item.badge_type == 2),
    				badgePrice: validConfigs.filter(item => item.label_type == 2 && item.badge_type == 3),
    				badgeAddToCart: validConfigs.filter(item => item.label_type == 2 && item.badge_type == 4),
    				badgeQuantityBox: validConfigs.filter(item => item.label_type == 2 && item.badge_type == 5),
    				badgeBuyItNow: validConfigs.filter(item => item.label_type == 2 && item.badge_type == 6)
    			};
    
    			const enabledFeature = [
    				!!BSS_PL.configs.label.length && "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-pl-init-for-label.js",
    				!!BSS_PL.configs.badgeName.length && "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-pl-init-for-badge-product-name.js",
    				!!BSS_PL.configs.badgeProductImage.length && "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-pl-init-for-badge-product-image.js",
    				!!BSS_PL.configs.badgeCustomSelector.length && "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-pl-init-for-badge-custom-selector.js",
    				!!BSS_PL.configs.badgePrice.length && "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-pl-init-for-badge-price.js",
    				!!BSS_PL.configs.badgeAddToCart.length && "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-pl-init-for-badge-add-to-cart-btn.js",
    				!!BSS_PL.configs.badgeQuantityBox.length && "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-pl-init-for-badge-quantity-box.js",
    				!!BSS_PL.configs.badgeBuyItNow.length && "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-pl-init-for-badge-buy-it-now-btn.js",
    			].filter((src) => !!src);
    
    			enabledFeature.forEach((src) => bssLoadScripts(src));
    
    			if (enabledFeature?.length) {
    				const src = "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-product-label-js.js";
    				bssLoadScripts(src);
    			}
    		}
    
    
    		if (BSS_PL.configDataBanner?.length) {
    			const src = "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-product-label-banner.js";
    			bssLoadScripts(src);
    		}
    
    		if (BSS_PL.configDataPopup?.length) {
    			const src = "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-product-label-popup.js";
    			bssLoadScripts(src);
    		}
    
    		if (window.location.search.includes('bss-pl-custom-selector')) {
    			const src = "https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-product-label-custom-position.js";
    			bssLoadScripts(src, null, true);
    		}
    	}
    	if (document.readyState === 'loading') {
    		document.addEventListener('DOMContentLoaded', function() {
    			bssInitScripts();
    		});
    	} else {
    		bssInitScripts();
    	}
    	
    </script>
    
    
    <!-- END app app block --><!-- BEGIN app block: shopify://apps/limit-quantity-purchase-by-mc/blocks/app-embed/143c1e59-4c01-4de6-ad3e-90b86ada592d --><!-- BEGIN app snippet: mc-checkout --><script type="text/javascript">
      // For add to cart button Click
      var template = "index";
      function jqueryCode() {
        if (template == 'product') {
          document.addEventListener('DOMContentLoaded', () => {
            $('button[name="add"], .btn-addtocart, .buy-buttons__buttons [data-component="button-action"], .add-to-cart, button[data-action="add-to-cart"], button[type="submit"][data-add-to-cart-text]').click(function (e, options) {
              options = options || {};
              if (!options.eventTrigger) {
                e.preventDefault();
                if (addToCartEventStopPropogation.includes(Shopify.shop)) {
                  e.stopImmediatePropagation();
                }
                CheckOnAddToCart().then(function (res) {
                  if (res.msg != '') {
                    showMessage(res.msg);
                  } else {
                    if (Shopify.shop == "urbanbaristas.myshopify.com") {
                      $('form[action^="/cart/add"]').submit();
                    } else {
                      $(e.target).trigger("click", { eventTrigger: true });
                    } updateNumberOfProductLimit(res.qty);
                  }
                });
              }
            });
          });
        }
      }
    
      function CheckOnAddToCart() {
        return new Promise(function (resolve) {
          jQuery.getJSON("/cart.js", function (cartItems) {
    
            var res = window.mcproductresponse.data;
            var msg = '';
            var globalMsg = '';
            let variantMsg = "";
            var collectionMsg = '';
            var tagMsg = '';
            var is_global_limit = false,
              is_product_limit = false,
              is_number_collection_limit = false,
              is_tag_limit = false,
              is_variant_limit = false;
            var productMsg = '';
            //var productData = $('form[action^="/cart/add"], form[action$="/cart/add"]').serializeArray();
            var productId = product_id,
              variantId = '',
              qty = '',
              variantqty = '',
              collectionqty = '';
    
            var productData = $('form[action^="/cart/add"], form[action$="/cart/add"]').serializeArray();
    
    
            // get variant id
            const queryString = window.location.search;
            const urlParams = new URLSearchParams(queryString);
            const variant_id = urlParams.get('variant');
    
            productData.map((product) => {
              if (product.name == 'quantity') {
                qty = variantqty = collectionqty = parseInt(product.value, 10);
              } else if (product.name == 'id') {
                variantId = product.value;
              }
            })
    
            cartItems.items.map((item) => {
              if (productId == item.product_id) {
                qty = parseInt(item.quantity, 10) + qty;
              }
              if (variantId == item.id) {
                variantqty = parseInt(item.quantity, 10) + variantqty;
              }
            })
    
            if (res?.tag?.info) {
              var tagMaxQty = res.tag.info.max_limit;
              var tagMinQty = res.tag.info.min_limit;
              if (tagMinQty != 0 && tagMinQty && tagMaxQty != 0 && tagMaxQty) {
                is_tag_limit = true;
                if (qty > tagMaxQty) {
                  tagMsg = res.tag.message.upper_limit_msg;
                } else if (qty < tagMinQty) {
                  tagMsg = res.tag.message.lower_limit_msg;
                }
              }
            }
    
            if (res?.number_of_product_limit?.length > 0) {
              is_number_collection_limit = true;
              res.number_of_product_limit.map(collection => {
                if (collectionqty > collection.remaining_max_qty) {
                  collectionMsg = collection.max_msg;
                }
              })
            }
    
    
            if (variantId && res?.variants?.length > 0) {
              res.variants.forEach((variant) => {
                if (variant.info.id == variantId) {
                  let min_qty = variant.info.lower_limit;
                  let max_qty = variant.info.purchase_limit;
                  if (max_qty != null && max_qty != 0 && max_qty && min_qty != null && min_qty != 0 && min_qty) {
                    is_variant_limit = true;
                    if (variantqty > max_qty) {
                      variantMsg = variant.message.upper_limit_msg;
                    } else if (variantqty < min_qty) {
                      variantMsg = variant.message.lower_limit_msg;
                    }
                  }
                }
              });
            }
    
            if (res?.product?.info) {
              var maxQty = res.product.info.purchase_limit;
              var minQty = res.product.info.min_purchase_limit;
              // var lifetimeQty = res.product.info.life_time_limit || 0;
    
              var lifetimeQty = res.product.info?.remainingQty;
              var remainingQty = res.product.info?.remainingQty;
    
              if (minQty != 0 && minQty && maxQty != 0 && maxQty) {
                is_product_limit = true;
                if (lifetimeQty != null && lifetimeQty != undefined && qty > remainingQty) {
                  productMsg = res.product.message.lifetime_limit_msg;
                } else if (qty > maxQty) {
                  productMsg = res.product.message.upper_limit_msg;
                } else if (qty < minQty) {
                  productMsg = res.product.message.lower_limit_msg;
                }
              }
            }
    
            if (res?.global?.info && Object.keys(res.global.message).length > 0) {
              var globalMaxQty = res.global.info.global_limit;
              var globalMinQty = res.global.info.min_global_limit;
    
              if (globalMaxQty != null && globalMinQty != null) {
                is_global_limit = true;
                if (qty > globalMaxQty) {
                  globalMsg = res.global.message.upper_limit_msg;
                } else if (qty < globalMinQty) {
                  globalMsg = res.global.message.lower_limit_msg;
                }
              }
            }
    
            if (res?.priority) {
              for (const [key, value] of Object.entries(res.priority)) {
                if ((value == "COLLECTION_MIN_MAX" || value == "PRODUCT_LIMIT") && is_product_limit) {
                  msg = productMsg;
                  break;
                }
                if (value == "VARIANT_LIMIT" && is_variant_limit) {
                  msg = variantMsg;
                  break;
                }
                if (value == "GLOBAL_LIMIT" && is_global_limit) {
                  msg = globalMsg;
                  break;
                }
                if (value == "TAG_LIMIT" && is_tag_limit) {
                  msg = tagMsg;
                  break;
                }
              }
            }
    
            if (is_number_collection_limit) {
              if (msg) {
                msg += "<br>" + collectionMsg;
              } else {
                msg = collectionMsg;
              }
            }
    
            var response = {
              msg: msg,
              qty: collectionqty
            }
            resolve(response);
          });
        })
      }
    
      function updateNumberOfProductLimit(qty) {
        qty = parseInt(qty, 10);
        var res = window.mcproductresponse.data;
        if (res.number_of_product_limit.length > 0) {
          res.number_of_product_limit.map(collection => {
            collection.remaining_max_qty = parseInt(collection.remaining_max_qty - qty, 10);
          })
        }
        window.mcproductresponse.data = res;
      }
    </script><!-- END app snippet --><!-- BEGIN app snippet: mc-limit --><script>
        if (typeof jQuery == 'undefined') {
            var headTag = document.getElementsByTagName("head")[0];
            var jqTag = document.createElement('script');
            jqTag.type = 'text/javascript';
            jqTag.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js';
            jqTag.defer = 'defer';
            headTag.appendChild(jqTag);
        }
    </script>
    <script src="https://magecomp.us/js/LimitQtyHelper.js" defer></script>
    <div>
        
        <style>
            .close-custom {
                color: #aaa;
                float: right;
                font-size: 28px;
                font-weight: 700;
                margin-right: 4px;
                margin-top: -3px;
                position: absolute;
                top: 0;
                right: 0;
            }
        </style>
    
        
    
        <style>
            /*.d-none {
                display: none !important;
            }*/
    
            .modal-custom {
                display: none;
                position: fixed;
                z-index: 10000;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                overflow: auto;
                background-color: #000;
                background-color: rgba(0, 0, 0, .4)
            }
    
    
            .modal-content-custom {
                background-color: #fefefe;
                margin: 15% auto;
                padding: 25px;
                border: 1px solid #888;
                width: fit-content;
                position: relative;
            }
    
    
            .close-custom:focus,
            .close-custom:hover {
                color: #000;
                text-decoration: none;
                cursor: pointer
            }
    
            #mc-loader {
                display: none;
                position: fixed;
                left: 50%;
                top: 50%;
                z-index: 10000;
                width: 150px;
                height: 150px;
                margin: -75px 0 0 -75px;
                border: 16px solid #f3f3f3;
                border-radius: 50%;
                border-top: 16px solid #3498db;
                width: 120px;
                height: 120px;
                -webkit-animation: spin 2s linear infinite;
                animation: spin 2s linear infinite
            }
    
            @-webkit-keyframes spin {
                0% {
                    -webkit-transform: rotate(0)
                }
    
                100% {
                    -webkit-transform: rotate(360deg)
                }
            }
    
            @keyframes spin {
                0% {
                    transform: rotate(0)
                }
    
                100% {
                    transform: rotate(360deg)
                }
            }
    
            .animate-bottom {
                position: relative;
                -webkit-animation-name: animatebottom;
                -webkit-animation-duration: 1s;
                animation-name: animatebottom;
                animation-duration: 1s
            }
    
            @-webkit-keyframes animatebottom {
                from {
                    bottom: -100px;
                    opacity: 0
                }
    
                to {
                    bottom: 0;
                    opacity: 1
                }
            }
    
            @keyframes animatebottom {
                from {
                    bottom: -100px;
                    opacity: 0
                }
    
                to {
                    bottom: 0;
                    opacity: 1
                }
            }
    
            @media only screen and (max-width: 768px) {
                .modal-content-custom {
                    margin-top: 70%;
                }
            }
    
            #purchase_limit_messages ul {
                list-style: none !important;
            }
    
            .mc-disabled {
                pointer-events: none;
                opacity: 0.5;
            }
        </style>
        <div id="modelDesignId"></div>
        <div id="mc-loader"></div>
        <div id="myModal" class="modal-custom">
            <div class="modal-content-custom">
                <div id="purchase_limit_messages"></div><span class="close-custom">&times;</span>
            </div>
        </div>
        <script type="text/javascript">
    
            var template = "index";
            var customer_id = "";
            var product_id = "";
            var shopName = "mcdaids-pharmacy.myshopify.com";
            var defaultvariantId = ""; //get default variant id when page load
            window.mcproductresponse = {};
    
            function cartSubmitAndCheckout(formElement) {
                var params = formElement.serializeArray();
                $.ajax({
                    url: "/cart",
                    type: "post",
                    data: params,
                    success: function (res) {
                        //window.location.replace('/checkout');
                        
                window.location.replace('/checkout');
                
            },
            error: function (err) {
                console.error(err.responseText);
            }
                });
            }
    
            function checkLimitOne(e, click = false, trigger = null) {
                e.customer_id = customer_id;
                $.ajax({
                    type: "POST",
                    url: "/a/cart-update",
                    dataType: "json",
                    data: e,
                    success: function (e) {
                        if (1 == e.error) {
                            var t = "<ul>";
                            $.each(e.messages, function (e, n) {
                                t += "<li>" + n + "</li>"
                            }), t += "</ul>", $("#purchase_limit_messages").html(t), document.getElementById("myModal").style.display = "block"
                            $(".additional-checkout-buttons, .additional_checkout_buttons, .dynamic-checkout__content").addClass("mc-disabled");
                        } else if (click) {
                            //window.location.replace('/checkout');
                            
            window.location.replace('/checkout');
            
                        }
                        else {
                // $(".additional-checkout-buttons").removeClass("mc-disabled");
                $(".additional-checkout-buttons,.additional_checkout_buttons, .dynamic-checkout__content").removeClass("mc-disabled");
            }
            document.getElementById("mc-loader").style.display = "none"
                    }
                });
            }
    
            function myJQueryCode() {
                jqueryCode();
                if (template == 'login') {
                    $(document).ready(function () {
                        $("input[name='checkout_url']").attr('value', '/cart');
                    });
                }
    
                var modal = document.getElementById("myModal"),
                    span = document.getElementsByClassName("close-custom")[0];
    
                function checkLimit(e, click = false) {
    
                    e.customer_id = customer_id;
    
                    $.ajax({
                        type: "POST",
                        url: "/a/cart-update",
                        dataType: "json",
                        data: e,
                        success: function (e) {
                            let cartUpdateRes = e;
                            var purchaseCartLimitMessages = document.getElementById('modelDesignId');
                            if (purchaseCartLimitMessages && cartUpdateRes?.modelDesign) {
                                purchaseCartLimitMessages.innerHTML = cartUpdateRes.modelDesign;
                            }
                            if (1 == e.error) {
                                var t = "<ul>";
                                $.each(e.messages, function (e, n) {
                                    t += "<li>" + n + "</li>"
                                }), t += "</ul>", $("#purchase_limit_messages").html(t), document.getElementById("myModal").style.display = "block"
                                $(".additional-checkout-buttons, .dynamic-checkout__content").addClass("mc-disabled");
                            } else if (click) {
                                // window.location.replace('/checkout');
                                let submitFormEventShop = ["pro-image-sports-at-the-mall-of-america.myshopify.com", "distell-staff-sales.myshopify.com", "trevocorp.myshopify.com"];
                                if (submitFormEventShop.includes(Shopify.shop)) {
                                    if (shopName == "distell-staff-sales.myshopify.com") {
                                        if (document.querySelector("#cart").reportValidity()) {
                                            let formElement = 'form[action="/cart"]';
                                            cartSubmitAndCheckout($(formElement));
                                        }
                                    } else {
                                        let formElement = 'form[action="/cart"]';
                                        cartSubmitAndCheckout($(formElement));
                                    }
    
                                } else {
                                    if (!preventDirectCheckout.includes(Shopify.shop)) {
                                        //window.location.replace('/checkout');
                                        
                                    window.location.replace('/checkout');
                                
            }
                                }
                            }
            document.getElementById("mc-loader").style.display = "none"
                        }
                    });
                }
    
            // function productLimit(e) {
            //     $.ajax({
            //         type: "POST",
            //         url: "/a/cart-update?page=product",
            //         dataType: "json",
            //         data: { product_id: e },
            //         success: function (e) {
            //             window.mcproductresponse = e;
            //             limitOnProductSuccess(true);
            //         }
            //     });
            // }
    
            document.getElementsByClassName("close-custom")[0].addEventListener("click", function () {
                document.getElementById("myModal").style.display = "none";
            });
    
            if (Shopify.shop == 'nghia-nippers-corporation.myshopify.com') {
                $(document).ready(function () {
                    $("a[href='/cart']").click(() => {
                        jQuery.getJSON("/cart.js", function (cartItems) {
                            checkLimitOne(cartItems);
                        });
                    });
                });
            }
    
            if (template == 'product') {
                var mcPlusName;
                var mcMinusName;
                var mcQtyInput;
                var mcPlusSelector = [".qty_plus", ".increase", ".plus-btn", ".plus_btn", ".quantity-plus", ".plus", ".qty-plus", ".js--add", ".qty-up", "button[name='plus']", "input[name='plus']", "a[data-quantity='up']", ".js-qty__adjust--plus", "[data-action='increase-quantity']", ".icon-plus", "button[data-action='increase-picker-quantity']", ".inc", ".quantity__button--plus", "[data-quantity-action='increase']", ".quantity-input-plus", ".shopify-product-form [data-update-quantity='plus']", ".product-form__quantity-add-item", ".icon--plus-big", '.qtyplus', '.quantity-selector__button--plus', '.plus_btn', '.quantity-wrapper [data-quantity="up"]', ".ProductForm__QuantitySelector [data-action='increase-quantity']", ".adjust-plus", "button[aria-label='Increase the quantity']", "[data-control='-']", '[data-increase-qty]', '.t4s-quantity-selector is--plus', "button[aria-label='increment']", ".qty-adjuster__up"];
                var mcMinusSelector = [".qty_minus", ".reduced", ".minus-btn", ".minus", ".quantity-minus", ".qty-minus", ".js--minus", ".qty-down", "button[name='minus']", "input[name='minus']", "a[data-quantity='down']", ".js-qty__adjust--minus", "[data-action='decrease-quantity']", ".icon-minus", "button[data-action='decrease-picker-quantity']", ".dec", ".quantity__button--minus", "[data-quantity-action='decrease']", ".quantity-input-minus", ".shopify-product-form [data-update-quantity='minus']", ".product-form__quantity-subtract-item", ".icon--minus-big", '.qtyminus', '.quantity-selector__button--minus', '.minus_btn', '.quantity-wrapper [data-quantity="down"]', ".ProductForm__QuantitySelector [data-action='decrease-quantity']", ".adjust-minus", "button[aria-label='Reduce the quantity']", "[data-control='+']", '[data-decrease-qty]', '.t4s-quantity-selector is--minus', "button[aria-label='decrement']", ".qty-adjuster__down"];
                window.mcQtyInputSelector = [".js-qty__num", ".quantity__input", ".quantity", ".quantity-selector", "input[name='quantity']", "input[name='product-quantity']", "#quantity", ".QuantitySelector__CurrentQuantity", ".quantity-selector--product .quantity-selector__value", "input[name='quantity'][class='quantity__input']", ".quantity-input-field", ".shopify-product-form [name='quantity']", ".product-form__input--quantity", "#quantity-selector__input", ".product-form__input--quantity", ".QuantitySelector__CurrentQuantity[name='quantity']", ".quantity_selector quantity-input [name='quantity']", ".product-form .quantity-selector__input", "input[name='quantity'][class='quantity']"];
    
                jQuery.getJSON("/cart.js", function (cartItems) {
                    productLimit(product_id, cartItems);
                });
                // productLimit(product_id);
    
                mcPlusSelector.forEach((plus) => {
                    if ($(document).find(plus).length > 0) {
                        mcPlusName = $(plus);
                    }
                })
    
                mcMinusSelector.forEach((minus) => {
                    if ($(document).find(minus).length > 0) {
                        mcMinusName = $(minus);
                    }
                })
    
                window.mcQtyInputSelector.forEach((input) => {
                    if ($(document).find(input).length > 0) {
                        mcQtyInput = $(input);
                    }
                })
    
                jQuery(document).on("change", mcQtyInput, function (e) {
                    e.preventDefault();
                    e.stopImmediatePropagation();
                    limitOnProductSuccess();
                });
    
                // For shops 
                let shops = ['shop-hamples.myshopify.com', 'nghia-nippers-corporation.myshopify.com', 'fomopromo1.myshopify.com', '0861banner.myshopify.com', 'artnwordz-b683.myshopify.com', 'anza-textile.myshopify.com', 'dotegifting.myshopify.com', 'ramachandran-gmbh.myshopify.com', 'hidden-gems-decants.myshopify.com', '0aaa64.myshopify.com', 'dida-sports.myshopify.com', 'pr-associates-store.myshopify.com', 'say-i-do-designs.myshopify.com', 'amagreen-pe.myshopify.com', 'nowandzen-co-in.myshopify.com', 'fooody4u.myshopify.com', 'machines-plus.myshopify.com', 'healthandwellness-store.myshopify.com', 'aarogyam-wellness-store.myshopify.com', 'pharmacy-at-spar-midrand.myshopify.com', 'cathrin-walk.myshopify.com', 'buffchick.myshopify.com', 'glico-admin.myshopify.com', 'trash-panda-disc-golf-wholesale.myshopify.com', 'kleinkantoor.myshopify.com', 'barefoot-venus-wholesale.myshopify.com', 'masicbeauty.myshopify.com', 'hijinxfoods.myshopify.com', 'jackpotrecords.myshopify.com', 'producer-grind.myshopify.com', 'trevocorp.myshopify.com', 'jwn-shop.myshopify.com', 'tapes-tools.myshopify.com', 'stone-saver.myshopify.com', 'blooming-koco.myshopify.com', 'imprensa-nacional-casa-da-moeda-test.myshopify.com', 'denikwholesale.myshopify.com', 'gmoco-ohio.myshopify.com', 'imprensa-nacional-casa-da-moeda-test.myshopify.com', 'd48a1f.myshopify.com', 'le-parastore.myshopify.com', 'artpaintsmagic.myshopify.com', 'skilcut-online.myshopify.com', 'themorfose.myshopify.com', 'lswiring.myshopify.com', 'turkishsouq-shop.myshopify.com', 'persacheshoes.myshopify.com', 'jainsonslightsonline.myshopify.com', 'gadcet-4257.myshopify.com', 'capelli-hair-extensions.myshopify.com', 'enzo-pt.myshopify.co', 'capelli-hair-extensions.myshopify.com', 'microplay-ca.myshopify.com', 'funfinitytoys.myshopify.com', 'lightwaterbiosciences.myshopify.com', 'fcxsport.myshopify.com', 'dprimerocol.myshopify.com', 'locklaces1.myshopify.com', 'vapeversewholesaleuk.myshopify.com', 'darkhold-games.myshopify.com', 'xn-fjqr77co9mo54a.myshopify.com', 'nocelab.myshopify.com','sheldonet-store.myshopify.com','hybrid-supreme-filter-shop.myshopify.com', 'loud-pizza.myshopify.com'];
                if (shops.includes(shopName)) {
                    jQuery(document).on("click", mcPlusName, function (e) {
                        limitOnProductSuccess();
                    });
    
                    jQuery(document).on("click", mcMinusName, function (e) {
                        limitOnProductSuccess();
                    });
                }
    
                $(span).click(function (e) {
                    modal.style.display = "none";
                    e.preventDefault();
                });
            }
    
            if (template == 'cart') {
    
                jQuery.getJSON("/cart.js", function (e) {
                    checkLimit(e)
                }), span.onclick = function () {
                    modal.style.display = "none"
                }, window.onclick = function (e) {
                    e.target == modal && (modal.style.display = "none")
                };
                jQuery(document).on("click", span, function (e) {
                    modal.style.display = "none";
                });
            }
    
            jQuery(document).on("click", "button[name='checkout']", function (e, options) {
                if (!options) {
                    document.getElementById("mc-loader").style.display = "block";
                    e.preventDefault();
                    e.stopImmediatePropagation();
                    jQuery.getJSON("/cart.js", function (cartItems) {
                        checkLimit(cartItems, true);
                    });
                }
            });
    
            jQuery(document).on("click", "input[name='checkout']", function (e, options) {
                if (!options) {
                    document.getElementById("mc-loader").style.display = "block";
                    e.preventDefault();
                    e.stopImmediatePropagation();
                    jQuery.getJSON("/cart.js", function (cartItems) {
                        checkLimit(cartItems, true);
                    });
                }
            });
    
            // jQuery(document).on("click", span, function (e) {
            //         modal.style.display = "none";
            //     });
    
            jQuery(document).on("click", "a[href='/checkout']", function (e) {
                document.getElementById("mc-loader").style.display = "block";
                e.preventDefault();
                e.stopImmediatePropagation();
                jQuery.getJSON("/cart.js", function (cartItems) {
                    checkLimit(cartItems, true);
                });
            });
    
            jQuery(document).on("click", "input[name='checkouts']", function (e) {
                document.getElementById("mc-loader").style.display = "block";
                e.preventDefault();
                e.stopImmediatePropagation();
                jQuery.getJSON("/cart.js", function (cartItems) {
                    checkLimit(cartItems, true);
                });
            });
    
    
            if (template == 'product') {
                if (shopName == 'shop-hamples.myshopify.com') {
                    $(document).ready(function () {
                        var className = $(".btn-addtocart");
                        var t = className.clone();
                        t.removeClass("addtocart-js").attr("type", "button").attr('data-mc', "add-to-cart").css({
                            "background": "#a24e4e", "font-family": "'Sen-Bold', sans-serif", "border": "none",
                            "color": "#ffffff", "font-size": "14px", "line-height": "1.0", "font-weight": "400", "letter-spacing": "0.05em", "position": "relative",
                            "outline": "none", "padding": "6px 31px 4px", "display": "inline-flex", "justify-content": "center", "align-items": "center", "text-align": "center",
                        });
                        className.after(t);
                        className.hide();
                        t.on("click", () => {
                            CheckOnAddToCart().then(res => {
                                if (res.msg != '') {
                                    showMessage(res.msg);
                                } else {
                                    className.trigger("click", { eventTrigger: true });
                                    updateNumberOfProductLimit(res.qty);
                                }
                            });
                        });
    
                        var buttonName = $(".stickyaddtocart");
                        var clone = buttonName.clone();
                        clone.removeClass("btn").attr("type", "button").attr('data-mc', "add-to-cart").css({ "font-family": "'Sen-Bold', sans-serif", "border": "none", "color": "#ffffff", "line-height": "1.0", "letter-spacing": "0.05em", "position": "relative", "justify-content": "center", "align-items": "center", "text-align": "center", "background": "#a24e4e", "font- size": "14px", "padding": "6px 31px 4px", "height": "40px", });
                        buttonName.after(clone);
                        buttonName.hide();
                        clone.on("click", () => {
                            CheckOnAddToCart().then(res => {
                                if (res.msg != '') {
                                    showMessage(res.msg);
                                } else {
                                    buttonName.trigger("click", { eventTrigger: true });
                                    updateNumberOfProductLimit(res.qty);
                                }
                            });
                        });
                    });
                }
            }
    
    
            if (shopName == '0861banner.myshopify.com') {
                $(document).ready(function () {
                    var clone = $('#add-to-cart').clone();
                    clone.removeClass("add-to-cart").removeAttr('id').attr("type", "button").attr('data-mc', "add-to-cart").css("padding", '10px 40px').css("line-height", '30px').css("font-size", '14px').css("border-radius", '25px');
                    $('#add-to-cart').after(clone);
                    $('#add-to-cart').hide();
                    clone.on("click", () => {
                        CheckOnAddToCart().then(res => {
                            if (res.msg != '') {
                                showMessage(res.msg);
                            } else {
                                $('#add-to-cart').trigger("click", { eventTrigger: true });
                                updateNumberOfProductLimit(res.qty);
                            }
                        });
                    });
                });
            }
    
            if (shopName == 'imprensa-nacional-casa-da-moeda-test.myshopify.com') {
                $(document).ready(function () {
                    var clone = $('.single_add_to_cart_button').clone();
                    var clone1 = clone.clone();
                    clone1.attr("type", "button").attr('data-mc', "add-to-cart");
                    clone.after(clone1);
                    clone.hide();
                    clone1.on("click", () => {
                        CheckOnAddToCart().then(res => {
                            if (res.msg != '') {
                                showMessage(res.msg);
                            } else {
                                $('.single_add_to_cart_button').trigger("click", { eventTrigger: true });
                                updateNumberOfProductLimit(res.qty);
                            }
                        });
                    });
                });
            }
    
            }
    
            function productLimit(e, cartItems) {
                $.ajax({
                    type: "POST",
                    url: "/a/cart-update?page=product",
                    dataType: "json",
                    data: { product_id: e, cartItems: cartItems },
                    success: function (e) {
                        window.mcproductresponse = e;
                        if (window.mcproductresponse?.data?.modelDesign) {
                            var purchaseLimitMessages = document.getElementById('modelDesignId');
                            if (purchaseLimitMessages) {
                                purchaseLimitMessages.innerHTML = window.mcproductresponse?.data?.modelDesign;
                            }
                        }
                        limitOnProductSuccess(true);
                    }
                });
            }
    
            function ifCheckoutNotWorking(e) {
                document.getElementById("mc-loader").style.display = "block";
                e.preventDefault();
                e.stopImmediatePropagation();
                jQuery.getJSON("/cart.js", function (cartItems) {
                    checkLimitOne(cartItems, true);
                });
            }
    
            if (typeof jQuery == 'undefined') {
                var headTag = document.getElementsByTagName("head")[0];
                var jqTag = document.createElement('script');
                jqTag.type = 'text/javascript';
                jqTag.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js';
                jqTag.onload = myJQueryCode;
                headTag.appendChild(jqTag);
            } else {
                myJQueryCode();
            }
        </script>
    </div><!-- END app snippet --><!-- END app app block --><!-- BEGIN app block: shopify://apps/old-adtrackify/blocks/adtScript/c46d522c-9655-4a79-9d53-686b1aa24edc -->
    
    <div class="adtr-univ-pixel"></div>
    
    
    
    
    
    <script>
      (function (d) {
        var file = 'https://cdn.adtrackify.com/scripts/px/adtr-shopify.min.js';
        var ref = d.getElementsByTagName('script')[0];
        var js = d.createElement('script');
        js.src = file;
        js.async = true;
        ref.parentNode.insertBefore(js, ref);
      }(document));
      window._adqLoaded =0;
      window._adqueue = window._adqueue || [];
      window.adq = function () { window._adqueue.push(arguments); }
      window._adtrSQueue = window._adtrSQueue || [];
      window.adtrS = function () { window._adtrSQueue.push(arguments); }
      window.adtrS('initPixel')
    </script>
    
    
    
    
            
    		
                <script>
                    window._adtrPixelDetails = '6b27d91e-4c68-4aa4-93a8-94e454b75a94';
                    var metaCollection = []
                    var metaProduct = []
                    var metaTag = []
                    var metaType = []
                    if (document.querySelector("meta[property='adtr:collections']") != null) {
                        metaCollection = document.querySelector("meta[property='adtr:collections']").getAttribute("content").split(",")
                    }
                    if (document.querySelector("meta[property='adtr:product']") != null) {
                        metaProduct = document.querySelector("meta[property='adtr:product']").getAttribute("content").split(",")
                    }
                    if (document.querySelector("meta[property='adtr:tags']") != null) {
                        metaTag = document.querySelector("meta[property='adtr:tags']").getAttribute("content").split(",")
                    }
                    if (document.querySelector("meta[property='adtr:product_type']") != null) {
                        metaType = document.querySelector("meta[property='adtr:product_type']").getAttribute("content").split(",")
                    }
    
                    function arrayContainsMapping(metaMappings, mappings) {
                        mappings = mappings.map(item => item.toString())
                        if (mappings.length && metaMappings.length) {
                            for (let i = 0; i < metaMappings.length; i++){
                                if (mappings.includes(metaMappings[i].trim())) {
                                    return true;
                                }
                            }
                        }
    
                        return false;
                    }
    
    
                </script>
            
    
    
    <!-- END app app block --><link href="https://cdn.shopify.com/extensions/80282862-dffc-430e-939c-147f93cf5cca/bss-labels-badges-218/assets/bss-pl-style.min.css" rel="stylesheet" type="text/css" media="all">
    <script src="https://cdn.shopify.com/extensions/c856ed49-3c5d-4df4-afc1-c1b355fcea73/hextom-announce-bar-34/assets/quickannouncementbar.js" type="text/javascript" defer="defer"></script>
    <script src="https://cdn.shopify.com/extensions/28cc0b1f-36cd-4971-83ee-7cabe55329d4/kor-order-limit-quantity-36/assets/limit-qty.js" type="text/javascript" defer="defer"></script>
    <script src="https://cdn.shopify.com/extensions/b498954a-4fe8-4021-b491-fd259658cd84/hextom-shipping-bar-48/assets/freeshippingbar.js" type="text/javascript" defer="defer"></script>
    <script src="https://cdn.shopify.com/extensions/73b7f507-a512-4d2c-8924-4ce4fabeaf61/inbox-1068/assets/inbox-chat-loader.js" type="text/javascript" defer="defer"></script>
    <script src="https://cdn.shopify.com/extensions/cfd3764f-d04b-4529-816c-98472ccd237d/forms-985/assets/loader.js" type="text/javascript" defer="defer"></script>
    <meta property="og:image" content="https://cdn.shopify.com/s/files/1/0530/0047/0702/files/Mcdaids_Image.png?v=1700749347" />
    <meta property="og:image:secure_url" content="https://cdn.shopify.com/s/files/1/0530/0047/0702/files/Mcdaids_Image.png?v=1700749347" />
    <meta property="og:image:width" content="1789" />
    <meta property="og:image:height" content="880" />
    <link href="https://monorail-edge.shopifysvc.com" rel="dns-prefetch">
    <script>(function(){if ("sendBeacon" in navigator && "performance" in window) {var session_token = document.cookie.match(/_shopify_s=([^;]*)/);function handle_abandonment_event(e) {var entries = performance.getEntries().filter(function(entry) {return /monorail-edge.shopifysvc.com/.test(entry.name);});if (!window.abandonment_tracked && entries.length === 0) {window.abandonment_tracked = true;var currentMs = Date.now();var navigation_start = performance.timing.navigationStart;var payload = {shop_id: 53000470702,url: window.location.href,navigation_start,duration: currentMs - navigation_start,session_token: session_token && session_token.length === 2 ? session_token[1] : "",page_type: "index"};window.navigator.sendBeacon("https://monorail-edge.shopifysvc.com/v1/produce", JSON.stringify({schema_id: "online_store_buyer_site_abandonment/1.1",payload: payload,metadata: {event_created_at_ms: currentMs,event_sent_at_ms: currentMs}}));}}window.addEventListener('pagehide', handle_abandonment_event);}}());</script>
    <script id="web-pixels-manager-setup">(function d(d,e,r,a,n){var o,i,t,s,l=(i=(o={modern:/Edge?\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(9{2}|\d{3,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(15\.\d+|(1[6-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(9{2}|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(15[._]\d+|(1[6-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](12[89]|1[3-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Android.+Firefox\/(12[7-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(12[89]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|SamsungBrowser\/([2-9]\d|\d{3,})\.\d+/,legacy:/Edge?\/(1[6-9]|[2-9]\d|\d{3,})\.\d+(\.\d+|)|Firefox\/(5[4-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)|Chrom(ium|e)\/(5[1-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)([\d.]+$|.*Safari\/(?![\d.]+ Edge\/[\d.]+$))|(Maci|X1{2}).+ Version\/(10\.\d+|(1[1-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(3[89]|[4-9]\d|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(10[._]\d+|(1[1-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](12[89]|1[3-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/([89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(12[7-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(12[89]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(5\.\d+|([6-9]|\d{2,})\.\d+)|Android.+MQ{2}Browser\/(14(\.(9|\d{2,})|)|(1[5-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(3\.\d+|([4-9]|\d{2,})\.\d+)(\.\d+|)/}).modern,t=o.legacy,s=navigator.userAgent,i.test(s)?"modern":(t.test(s),"legacy"));window.Shopify=window.Shopify||{};var c=window.Shopify;c.analytics=c.analytics||{};var u=c.analytics;u.replayQueue=[],u.publish=function(d,e,r){return u.replayQueue.push([d,e,r]),!0};try{self.performance.mark("wpm:start")}catch(d){}var h=[r,"/wpm","/b",n,l.substring(0,1),".js"].join("");!function(d){var e=d.src,r=d.async,a=void 0===r||r,n=d.onload,o=d.onerror,i=document.createElement("script"),t=document.head,s=document.body;i.async=a,i.src=e,n&&i.addEventListener("load",n),o&&i.addEventListener("error",o),t?t.appendChild(i):s?s.appendChild(i):console.error("Did not find a head or body element to append the script")}({src:h,async:!0,onload:function(){var r=window.webPixelsManager.init(d);e(r);var a=window.Shopify.analytics;a.replayQueue.forEach((function(d){var e=d[0],a=d[1],n=d[2];r.publishCustomEvent(e,a,n)})),a.replayQueue=[],a.publish=r.publishCustomEvent,a.visitor=r.visitor},onerror:function(){var e=d.storefrontBaseUrl.replace(/\/$/,""),r="".concat(e,"/.well-known/shopify/monorail/unstable/produce_batch"),n=JSON.stringify({metadata:{event_sent_at_ms:(new Date).getTime()},events:[{schema_id:"web_pixels_manager_load/3.1",payload:{version:a||"latest",bundle_target:l,page_url:self.location.href,status:"failed",surface:d.surface,error_msg:"".concat(h," has failed to load")},metadata:{event_created_at_ms:(new Date).getTime()}}]});try{if(self.navigator.sendBeacon.bind(self.navigator)(r,n))return!0}catch(d){}var o=new XMLHttpRequest;try{return o.open("POST",r,!0),o.setRequestHeader("Content-Type","text/plain"),o.send(n),!0}catch(d){console&&console.warn&&console.warn("[Web Pixels Manager] Got an unhandled error while logging a load error.")}return!1}})})({shopId: 53000470702,storefrontBaseUrl: "https://www.mcdaidpharmacy.ie",extensionsBaseUrl: "https://extensions.shopifycdn.com/cdn/shopifycloud/web-pixels-manager",surface: "storefront-renderer",enabledBetaFlags: [],webPixelsConfigList: [{"id":"894894418","configuration":"{\"config\":\"{\\\"pixel_id\\\":\\\"AW-10900518359\\\",\\\"target_country\\\":\\\"IE\\\",\\\"gtag_events\\\":[{\\\"type\\\":\\\"search\\\",\\\"action_label\\\":\\\"AW-10900518359\\\/Mzv4CO-3yrwDENfr4s0o\\\"},{\\\"type\\\":\\\"begin_checkout\\\",\\\"action_label\\\":\\\"AW-10900518359\\\/oHy6COy3yrwDENfr4s0o\\\"},{\\\"type\\\":\\\"view_item\\\",\\\"action_label\\\":[\\\"AW-10900518359\\\/j1vJCOa3yrwDENfr4s0o\\\",\\\"MC-30MY4WFL1S\\\"]},{\\\"type\\\":\\\"purchase\\\",\\\"action_label\\\":[\\\"AW-10900518359\\\/lgsTCL-0yrwDENfr4s0o\\\",\\\"MC-30MY4WFL1S\\\"]},{\\\"type\\\":\\\"page_view\\\",\\\"action_label\\\":[\\\"AW-10900518359\\\/81ueCLy0yrwDENfr4s0o\\\",\\\"MC-30MY4WFL1S\\\"]},{\\\"type\\\":\\\"add_payment_info\\\",\\\"action_label\\\":\\\"AW-10900518359\\\/6S7sCPK3yrwDENfr4s0o\\\"},{\\\"type\\\":\\\"add_to_cart\\\",\\\"action_label\\\":\\\"AW-10900518359\\\/8m3qCOm3yrwDENfr4s0o\\\"}],\\\"enable_monitoring_mode\\\":false}\"}","eventPayloadVersion":"v1","runtimeContext":"OPEN","scriptVersion":"a46b87f88a4ff97a9490f9aa4799ba7b","type":"APP","apiClientId":1780363,"privacyPurposes":[]},{"id":"shopify-app-pixel","configuration":"{}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"0220","apiClientId":"shopify-pixel","type":"APP","privacyPurposes":["ANALYTICS","MARKETING"]},{"id":"shopify-custom-pixel","eventPayloadVersion":"v1","runtimeContext":"LAX","scriptVersion":"0220","apiClientId":"shopify-pixel","type":"CUSTOM","privacyPurposes":["ANALYTICS","MARKETING"]}],isMerchantRequest: false,initData: {"shop":{"name":"McDaid Pharmacy ","paymentSettings":{"currencyCode":"EUR"},"myshopifyDomain":"mcdaids-pharmacy.myshopify.com","countryCode":"IE","storefrontUrl":"https:\/\/www.mcdaidpharmacy.ie"},"customer":null,"cart":null,"checkout":null,"productVariants":[],"purchasingCompany":null},},function pageEvents(webPixelsManagerAPI) {webPixelsManagerAPI.publish("page_viewed", {});},"https://www.mcdaidpharmacy.ie/cdn","197cd42ad7ab868de58b6bcb07f9e270c5ea6f17","d9f539ffw0e1474c4pae8b6d69m179c86ad",);</script>  <script>window.ShopifyAnalytics = window.ShopifyAnalytics || {};
    window.ShopifyAnalytics.meta = window.ShopifyAnalytics.meta || {};
    window.ShopifyAnalytics.meta.currency = 'EUR';
    var meta = {"page":{"pageType":"home"}};
    for (var attr in meta) {
      window.ShopifyAnalytics.meta[attr] = meta[attr];
    }</script>
    <script>window.ShopifyAnalytics.merchantGoogleAnalytics = function() {
      
    };
    </script>
    <script class="analytics">(window.gaDevIds=window.gaDevIds||[]).push('BwiEti');
    
    
    (function () {
        var customDocumentWrite = function(content) {
          var jquery = null;
    
          if (window.jQuery) {
            jquery = window.jQuery;
          } else if (window.Checkout && window.Checkout.$) {
            jquery = window.Checkout.$;
          }
    
          if (jquery) {
            jquery('body').append(content);
          }
        };
    
        var hasLoggedConversion = function(token) {
          if (token) {
            return document.cookie.indexOf('loggedConversion=' + token) !== -1;
          }
          return false;
        }
    
        var setCookieIfConversion = function(token) {
          if (token) {
            var twoMonthsFromNow = new Date(Date.now());
            twoMonthsFromNow.setMonth(twoMonthsFromNow.getMonth() + 2);
    
            document.cookie = 'loggedConversion=' + token + '; expires=' + twoMonthsFromNow;
          }
        }
    
        var trekkie = window.ShopifyAnalytics.lib = window.trekkie = window.trekkie || [];
        if (trekkie.integrations) {
          return;
        }
        trekkie.methods = [
          'identify',
          'page',
          'ready',
          'track',
          'trackForm',
          'trackLink'
        ];
        trekkie.factory = function(method) {
          return function() {
            var args = Array.prototype.slice.call(arguments);
            args.unshift(method);
            trekkie.push(args);
            return trekkie;
          };
        };
        for (var i = 0; i < trekkie.methods.length; i++) {
          var key = trekkie.methods[i];
          trekkie[key] = trekkie.factory(key);
        }
        trekkie.load = function(config) {
          trekkie.config = config || {};
          trekkie.config.initialDocumentCookie = document.cookie;
          var first = document.getElementsByTagName('script')[0];
          var script = document.createElement('script');
          script.type = 'text/javascript';
          script.onerror = function(e) {
            var scriptFallback = document.createElement('script');
            scriptFallback.type = 'text/javascript';
            scriptFallback.onerror = function(error) {
                    var Monorail = {
          produce: function produce(monorailDomain, schemaId, payload) {
            var currentMs = new Date().getTime();
            var event = {
              schema_id: schemaId,
              payload: payload,
              metadata: {
                event_created_at_ms: currentMs,
                event_sent_at_ms: currentMs
              }
            };
            return Monorail.sendRequest("https://" + monorailDomain + "/v1/produce", JSON.stringify(event));
          },
          sendRequest: function sendRequest(endpointUrl, payload) {
            // Try the sendBeacon API
            if (window && window.navigator && typeof window.navigator.sendBeacon === 'function' && typeof window.Blob === 'function' && !Monorail.isIos12()) {
              var blobData = new window.Blob([payload], {
                type: 'text/plain'
              });
    
              if (window.navigator.sendBeacon(endpointUrl, blobData)) {
                return true;
              } // sendBeacon was not successful
    
            } // XHR beacon
    
            var xhr = new XMLHttpRequest();
    
            try {
              xhr.open('POST', endpointUrl);
              xhr.setRequestHeader('Content-Type', 'text/plain');
              xhr.send(payload);
            } catch (e) {
              console.log(e);
            }
    
            return false;
          },
          isIos12: function isIos12() {
            return window.navigator.userAgent.lastIndexOf('iPhone; CPU iPhone OS 12_') !== -1 || window.navigator.userAgent.lastIndexOf('iPad; CPU OS 12_') !== -1;
          }
        };
        Monorail.produce('monorail-edge.shopifysvc.com',
          'trekkie_storefront_load_errors/1.1',
          {shop_id: 53000470702,
          theme_id: 137530540281,
          app_name: "storefront",
          context_url: window.location.href,
          source_url: "//www.mcdaidpharmacy.ie/cdn/s/trekkie.storefront.a8ef5c2c4f1c6e0839c6b8857d0a2edb7d22d961.min.js"});
    
            };
            scriptFallback.async = true;
            scriptFallback.src = '//www.mcdaidpharmacy.ie/cdn/s/trekkie.storefront.a8ef5c2c4f1c6e0839c6b8857d0a2edb7d22d961.min.js';
            first.parentNode.insertBefore(scriptFallback, first);
          };
          script.async = true;
          script.src = '//www.mcdaidpharmacy.ie/cdn/s/trekkie.storefront.a8ef5c2c4f1c6e0839c6b8857d0a2edb7d22d961.min.js';
          first.parentNode.insertBefore(script, first);
        };
        trekkie.load(
          {"Trekkie":{"appName":"storefront","development":false,"defaultAttributes":{"shopId":53000470702,"isMerchantRequest":null,"themeId":137530540281,"themeCityHash":"4807632293962699935","contentLanguage":"en","currency":"EUR"},"isServerSideCookieWritingEnabled":true,"monorailRegion":"shop_domain"},"Google Analytics":{"trackingId":"UA-11093391-27","domain":"auto","siteSpeedSampleRate":"10","enhancedEcommerce":true,"doubleClick":true,"includeSearch":true},"Session Attribution":{},"S2S":{"facebookCapiEnabled":false,"source":"trekkie-storefront-renderer","apiClientId":580111}}
        );
    
        var loaded = false;
        trekkie.ready(function() {
          if (loaded) return;
          loaded = true;
    
          window.ShopifyAnalytics.lib = window.trekkie;
    
            ga('require', 'linker');
          function addListener(element, type, callback) {
            if (element.addEventListener) {
              element.addEventListener(type, callback);
            }
            else if (element.attachEvent) {
              element.attachEvent('on' + type, callback);
            }
          }
          function decorate(event) {
            event = event || window.event;
            var target = event.target || event.srcElement;
            if (target && (target.getAttribute('action') || target.getAttribute('href'))) {
              ga(function (tracker) {
                var linkerParam = tracker.get('linkerParam');
                document.cookie = '_shopify_ga=' + linkerParam + '; ' + 'path=/';
              });
            }
          }
          addListener(window, 'load', function(){
            for (var i=0; i < document.forms.length; i++) {
              var action = document.forms[i].getAttribute('action');
              if(action && action.indexOf('/cart') >= 0) {
                addListener(document.forms[i], 'submit', decorate);
              }
            }
            for (var i=0; i < document.links.length; i++) {
              var href = document.links[i].getAttribute('href');
              if(href && href.indexOf('/checkout') >= 0) {
                addListener(document.links[i], 'click', decorate);
              }
            }
          });
        
    
          var originalDocumentWrite = document.write;
          document.write = customDocumentWrite;
          try { window.ShopifyAnalytics.merchantGoogleAnalytics.call(this); } catch(error) {};
          document.write = originalDocumentWrite;
    
          window.ShopifyAnalytics.lib.page(null,{"pageType":"home"});
    
          var match = window.location.pathname.match(/checkouts\/(.+)\/(thank_you|post_purchase)/)
          var token = match? match[1]: undefined;
          if (!hasLoggedConversion(token)) {
            setCookieIfConversion(token);
            
          }
        });
    
    
            var eventsListenerScript = document.createElement('script');
            eventsListenerScript.async = true;
            eventsListenerScript.src = "//www.mcdaidpharmacy.ie/cdn/shopifycloud/shopify/assets/shop_events_listener-61fa9e0a912c675e178777d2b27f6cbd482f8912a6b0aa31fa3515985a8cd626.js";
            document.getElementsByTagName('head')[0].appendChild(eventsListenerScript);
    
    })();</script>
    <script class="boomerang">
    (function () {
      window.BOOMR = window.BOOMR || {};
      window.BOOMR.themeName = "Warehouse";
      window.BOOMR.themeVersion = "4.0.0";
      window.BOOMR.shopId = 53000470702;
      window.BOOMR.themeId = 137530540281;
    })();</script>
    <script
      defer
      src="https://www.mcdaidpharmacy.ie/cdn/shopifycloud/perf-kit/shopify-perf-kit-1.0.1.min.js"
      data-application="storefront-renderer"
      data-shop-id="53000470702"
      data-render-region="gcp-europe-west4"
      data-page-type="index"
      data-theme-instance-id="137530540281"
      data-monorail-region="shop_domain"
      data-resource-timing-sampling-rate="10"
    ></script>
    </head>
    
      

    Pharmacy & Chemists - Health, Beauty, Vitamins, Ireland, UK, Europe

    Recherche META Description de la page

    Shop Medicines, Health, Skincare, Beauty, Makeup, Vitamins, Perfumes, Aftershave Toiletries. Free delivery €40+ Family-owned serving UK, NI, Ireland. Online pharmacy for medicine, health & beauty in Ireland

    Recherche META Keywords de la page

    UPDATE DOMAINES SET server='cloudflare',redirection='https://www.mcdaidpharmacy.ie/',Status='200',err='',[TITRE]=N'Pharmacy & Chemists - Health, Beauty, Vitamins, Ireland, UK, Europe',[DESCRIPTION]=N'Shop Medicines, Health, Skincare, Beauty, Makeup, Vitamins, Perfumes, Aftershave Toiletries. Free delivery €40+ Family-owned serving UK, NI, Ireland. Online pharmacy for medicine, health & beauty in Ireland',[KEYWORDS]=N'' WHERE id=35908339
  • 0

    Pharmacy & Chemists - Health Beauty Vitamins Ireland UK Europe Shop Medicines Health Skincare Beauty Makeup Vitamins Perfumes Aftershave Toiletries. Free delivery €40+ Family-owned serving UK NI Ireland. Online pharmacy for medicine health & beauty in Ireland

  • 0. Pharmacy (8)
  • --------->0
  • 1. &amp; (5)
  • --------->0
  • 2. Chemists (8)
  • --------->0
  • 3. - (1)
  • --------->0
  • 4. Health (6)
  • --------->0
  • 6. Beauty (6)
  • --------->0
  • 8. Vitamins (8)
  • --------->0
  • 9. Ireland (8)
  • --------->0
  • 11. UK (2)
  • --------->0
  • 13. Europe (6)
  • --------->0
  • 14. Shop (4)
  • --------->0
  • 15. Medicines (9)
  • --------->0
  • 19. Skincare (8)
  • --------->0
  • 23. Makeup (6)
  • --------->0
  • 27. Perfumes (8)
  • --------->0
  • 29. Aftershave (10)
  • --------->0
  • 30. Toiletries (10)
  • --------->0
  • 31. Free (4)
  • --------->0
  • 32. delivery (8)
  • --------->0
  • 33. €40+ (4)
  • --------->0
  • 34. Family-owned (12)
  • --------->0
  • 35. serving (7)
  • --------->0
  • 38. NI (2)
  • --------->0
  • 40. Ireland (7)
  • --------->0
  • 41. Online (6)
  • --------->0
  • 43. for (3)
  • --------->0
  • 44. medicine (8)
  • --------->0
  • 49. in (2)
  • --------->0
    INSERT INTO KEYWORDS (keyword,id_domaine) VALUES (N'Pharmacy',35908339),(N'&',35908339),(N'Chemists',35908339),(N'-',35908339),(N'Health',35908339),(N'Beauty',35908339),(N'Vitamins',35908339),(N' Ireland',35908339),(N'UK',35908339),(N'Europe',35908339),(N'Shop',35908339),(N'Medicines',35908339),(N'Skincare',35908339),(N'Makeup',35908339),(N'Perfumes',35908339),(N'Aftershave',35908339),(N'Toiletries',35908339),(N'Free',35908339),(N'delivery',35908339),(N'€40+',35908339),(N'Family-owned',35908339),(N'serving',35908339),(N'NI',35908339),(N'Ireland',35908339),(N'Online',35908339),(N'for',35908339),(N'medicine',35908339),(N'in',35908339)