console.log('uid='); //*** time check 1 (0.03119s elapsed) //*** time check 2 (0.03189s elapsed) //*** JJ itemId=kplus //*** pageType=category //*** time check 3 (0.034s elapsed) //*** forceOutOfStock=false //*** time check 4 (0.04217s elapsed) //*** public_mod_structuredData_renderJsonByItemId found //*** public_mod_structuredData enabled var script = document.createElement('script'); script.setAttribute('type', 'application/ld+json'); script.innerHTML = "{\"@context\":\"http:\\/\\/schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/dogsupplies1.html\",\"name\":\"Dog Supplies\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/catsupplies.html\",\"name\":\"Cat Supplies\"}},{\"@type\":\"ListItem\",\"position\":4,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/dogsupplies.html\",\"name\":\"Dog Supplies\"}},{\"@type\":\"ListItem\",\"position\":5,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/kidney-liver-renal-health.html\",\"name\":\"Kidney & Liver & Renal Health\"}},{\"@type\":\"ListItem\",\"position\":6,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/urinarytract.html\",\"name\":\"Urinary Tract & Bladder Support\"}},{\"@type\":\"ListItem\",\"position\":7,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/kplus.html\",\"name\":\"K-Plus Potassium Citrate Plus Cranberry\"}}]}" document.getElementsByTagName('head')[0].appendChild(script); ; var script = document.createElement('script'); script.setAttribute('type', 'application/ld+json'); script.innerHTML = "{\"@context\":\"http:\\/\\/schema.org\",\"@type\":\"Product\",\"offers\":{\"@type\":\"Offer\",\"price\":\"0.00\",\"priceCurrency\":\"USD\",\"priceValidUntil\":\"2025-04-19\",\"seller\":{\"@type\":\"Organization\",\"name\":\"Entirelypets.com\"},\"@id\":\"https:\\/\\/www.entirelypets.com\\/kplus.html#offers\",\"url\":\"https:\\/\\/www.entirelypets.com\\/kplus.html\",\"itemCondition\":\"NewCondition\",\"availability\":\"OutOfStock\"},\"name\":\"K-Plus Potassium Citrate Plus Cranberry\",\"image\":\"https:\\/\\/images.practicaldatacore.com\\/entirelypets\\/getProductImage.php?size=imageMedium&cb=1744782470&productId=kplus\",\"sku\":\"kplus\",\"@id\":\"https:\\/\\/www.entirelypets.com\\/kplus.html#product\",\"review\": [{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"C B.\"},\"reviewBody\":\"My dogs gobble these up! Great support for my older girl with minor issues.\",\"datePublished\":\"2024-08-09 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"4.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Lindsay\"},\"reviewBody\":\"Turned the year stains a bit more pink, Has not had stones come back, but I\'m not sure if it was antibiotics, switching to distilled water and a speciality diet which we don\'t follow as strict as before. i\'m hoping this is helping\",\"datePublished\":\"2024-03-19 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Jo K.\"},\"reviewBody\":\"Arrived safely packaged intact. I break them up and he likes them. Lets hope it helps prevent bladder stones. Time will tell.\",\"datePublished\":\"2024-03-05 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Nan\"},\"reviewBody\":\"One of our boy dogs had bladder stones and surgery to remove them. The vet recommended that he take this supplement. He takes three per day. And along with a urinary diet food he hasn’t had any more issues.\",\"datePublished\":\"2024-02-13 06:03:21\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Jennifer R.\"},\"reviewBody\":\"My dog started trying to urinate very frequently. Many times nothing was coming out. I took her to the veterinarian. She had a bad infection. This cranberry pill will NOT cure anything. You must see a vet. However the vet agreed this is a good supplement to help keep the urinary tract healthy. The tabs are very big. I break it in four pieces and she eats it like a treat. My other dog does not like the flavor so I have to hide it in a treat.\",\"datePublished\":\"2024-02-17 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Maril M.\"},\"reviewBody\":\"Good shape on arrival and tasty.\",\"datePublished\":\"2024-02-14 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"4.0\"},\"author\":{\"@type\":\"person\",\"name\":\"B B.\"},\"reviewBody\":\"I\'ve been using this Potassium Citrate instead of the more expensive Citra-Vet that was available only through our Veterinarian. It works just the same, with the added benefit of neutralizing the ph of his urine so well, we no longer have dead spots of grass in our lawn. The only downside is that some of the tablets are so worn that there is always powder in the bottom of the bottle. I add the K-Plus to his food, so I use the powder anyway, but I wish either the packaging was better, or the product was more stable.\",\"datePublished\":\"2024-01-19 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Karin\"},\"reviewBody\":\"Helpful for our aging dog to feel his best and control his symptoms.\",\"datePublished\":\"2024-01-16 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"sheila b.\"},\"reviewBody\":\"Great\",\"datePublished\":\"2023-11-08 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Amazon L.\"},\"reviewBody\":\"Imagine worrying about your pet\'s willingness to take a recommended medication and discovering that he loves it. Does anything else matter?\",\"datePublished\":\"2023-10-10 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Pam\"},\"reviewBody\":\"My dog thinks this is a treat. She gobbles them out of my hand. No problem getting her to eat them. But it is a medication and not a treat. So I keep the container far out of her reach. She is prone to bladder crystals. This is a good preventative.\",\"datePublished\":\"2023-08-11 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Chris\"},\"reviewBody\":\"Our veterinarian prescribed these for our dog. She is prone to have bladder stones. We were glad to find these on Amazon because they are so much cheaper than from the Vet. It had the exact same ingredients and she has to take them for the rest of her life. Great product because our dog thinks she is getting yummy treats.\",\"datePublished\":\"2023-08-10 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"BEDUBYA\"},\"reviewBody\":\"Best delivered price I could find.\",\"datePublished\":\"2023-07-19 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Carol J.\"},\"reviewBody\":\"Our little fur baby had a successful operation 2 years ago to remove 6 bladder stones. Our veterinarian has him supplement his diet with these tablets to keep his ph up so he will not form more stones.\",\"datePublished\":\"2023-06-01 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"JH\"},\"reviewBody\":\"This is necessary due to a condition my dog has. She has been taking these for years and has lived beyond expections!\",\"datePublished\":\"2023-06-01 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"4.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Mike O.\"},\"reviewBody\":\"This is the first time ordering these from Amazon and they are harder to break in half than what I\'ve had. Expiration date is good though.\",\"datePublished\":\"2023-04-22 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Nahid H.\"},\"reviewBody\":\"It good for my dog for her ph balance.\",\"datePublished\":\"2023-01-05 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"W C.\"},\"reviewBody\":\"Dog had surgery for bladder stones but later blood in urine. Started on this product and it seems to dissolve stones before they get to large to pass.\",\"datePublished\":\"2022-08-24 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"cheryl r.\"},\"reviewBody\":\"I wish so did not have theses forms to fill out\",\"datePublished\":\"2022-08-08 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"wizsenior\"},\"reviewBody\":\"it is good for what it is supposed to do\",\"datePublished\":\"2022-04-28 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Susan\"},\"reviewBody\":\"I buy this product for my dog, to avoid bladder stones, and he\'s a persnickety eater. I put the supplement in with his dog food and he gobbles it up. I like that it\'s a tablet, beef flavored, so I can monitor if he\'s eaten it. Other products are powder form and not so easy to track.\",\"datePublished\":\"2022-02-18 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Rolodive\"},\"reviewBody\":\"Since my vet recommended to my English Bulldog for help kidney stone problem, has been using its and problem with kidney and bladder are gone\",\"datePublished\":\"2022-01-31 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK K-Plus Potassium Citrate Plus Cranberry (300 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Mike\"},\"reviewBody\":\"I checked far and wide and this was the best price I could find by buying 3 bottles at a time. The expiration is far off so there will be no problem with it getting outdated. It was well packaged so the bottles didn\'t bounce around in the box and turn the tablets to powder. It took over 1 1\\/2 weeks to arrive but through no fault of EnirelyPets. They shipped the next day but Fedex decided to take the scenic view and it traveled over 4200 miles before it got here, from state to state and even back to 1 state two times. :) My next order will be from EnirelyPets again. \",\"datePublished\":\"2022-01-10 07:32:55\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK K-Plus Potassium Citrate Plus Cranberry (300 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Dianne\"},\"reviewBody\":\"These work great for my Golden\\/Lab. She takes 2 in the morning and 2 at night. No more problems since starting them, and great deal for the 3 pack. Nothing to do with the product because it is great, but shipping takes forever! Order well in advance! \",\"datePublished\":\"2021-04-10 11:26:34\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"2.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Westernbound1000\"},\"reviewBody\":\"Has the potassium citrate but they use liver to flavor it and liver is high in purines which is why we need the potassium citrate.\",\"datePublished\":\"2021-02-20 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK K-Plus Potassium Citrate Plus Cranberry (300 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Kathy\"},\"reviewBody\":\"My 14 year old male has been on this product over 3 years now. He had bladder stones, which he had to have surgery to remove. The vet wanted to place him on meds to try to avoid them from coming back. We would rather use natural supplements and found these. He had a different surgery last year and the new vet did geriatric blood work to make sure that everything was good, and found that his kidneys, liver and all others organs were in great condition. I do think that this supplement is helping with that\",\"datePublished\":\"2021-01-27 06:44:14\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK K-Plus Potassium Citrate Plus Cranberry (300 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"M\"},\"reviewBody\":\"Wonderful product and the dogs love the tablets!\",\"datePublished\":\"2021-01-29 06:02:10\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Amazon C.\"},\"reviewBody\":\"I keep these handy in my doggie med cabinet for my female girl that sometimes gets UTI\'s and I also use it as a preventative.\",\"datePublished\":\"2021-01-22 00:00:00\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK K-Plus Potassium Citrate Plus Cranberry (300 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"JoanneB\"},\"reviewBody\":\"This product helps my little guy and his bladder. He no longer has any crystals of any kind since using this product. My dogs love the taste, it breaks in half easily for proper dosing. A real life saver!\",\"datePublished\":\"2021-01-14 06:53:57\"},{\"@type\":\"Review\",\"itemReviewed\":\"K-Plus Potassium Citrate Plus Cranberry (100 Tablets)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"1.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Susan L.\"},\"reviewBody\":\"Have ordered this product many times. Completely unsatisfied with this order. Pills are all broken up and bottle is filled with crumbs and dust.\",\"datePublished\":\"2020-11-23 00:00:00\"}],\"aggregateRating\":{\"@type\":\"AggregateRating\",\"reviewCount\":\"99\",\"ratingValue\":\"4.5\"}}" document.getElementsByTagName('head')[0].appendChild(script); ; //*** time check 5 (0.08206s elapsed) //*** mod_storeClosed called //*** time check 6 (0.08225s elapsed) //*** time check 7 (0.08227s elapsed) var pdServerTime = new Date("2025-04-16T06:35:48-05:00"); var pdProductId = "kplus"; //************************************************ //************ JS/CSS FILE ROUTINES ************* //************************************************ function pdLoadJsCssFile(filename, filetype){ if (filetype=="js") { var fileref=document.createElement('script'); fileref.setAttribute("type","text/javascript"); fileref.setAttribute("async",true); fileref.setAttribute("src", filename); } else if (filetype=="css") { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", filename); } if (typeof fileref!="undefined") document.getElementsByTagName("head")[0].appendChild(fileref); } function pdAddStyle(css) { var style = document.createElement("style"); style.innerHTML = css; document.getElementsByTagName("body")[0].appendChild(style); } //*** time check 8 (0.08228s elapsed) /* pdGetElementsByClassName -- Revised to avoid JS conflicts with libraries that override native "getElementsByClassName" browser function in IE Developed by Robert Nyman, http://www.robertnyman.com Code/licensing: http://code.google.com/p/getelementsbyclassname/ */ var pdGetElementsByClassName = function (className, tag, elm){ var ieVersion = getInternetExplorerVersion(); if (ieVersion == -1 && document.getElementsByClassName) { pdGetElementsByClassName = function (className, tag, elm) { elm = elm || document; var elements = elm.getElementsByClassName(className), nodeName = (tag)? new RegExp("\b" + tag + "\b", "i") : null, returnElements = [], current; for(var i=0, il=elements.length; i -1) { if(signatureList[i] == 'android') { //*** ONLY CONSIDER android a mobile device if "mobile" is also present in user agent string if(agent.indexOf("mobile") > -1) isMobile = true; } else { isMobile = true; } } } return isMobile; } function pdIsIpad() { var isIpad = false; var signatureList = new Array('ipad'); var agent = navigator.userAgent.toLowerCase(); for(var i=0;i -1) isIpad = true; } return isIpad; } function pdIsTablet() { var isTablet = false; var signatureList = new Array('ipad', 'android'); var agent = navigator.userAgent.toLowerCase(); for(var i=0;i -1) { isTablet = true; //*** ASSUME TABLET if(signatureList[i] == 'android') { //*** ONLY CONSIDER android a mobile device if "mobile" is also present in user agent string if(agent.indexOf("mobile") > -1) isTablet = false; } else { isTablet = true; } } } return isTablet; } function pdFormatCurrency(num, includeDollarSign) { num = num.toString().replace(/$|\,/g,''); if(isNaN(num)) num = "0"; sign = (num == (num = Math.abs(num))); num = Math.floor(num*100+0.50000000001); cents = num%100; num = Math.floor(num/100).toString(); if(cents<10) cents = "0" + cents; for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++) num = num.substring(0,num.length-(4*i+3))+','+ num.substring(num.length-(4*i+3)); var returnValue = (((sign)?'':'-') + num + '.' + cents); if(includeDollarSign == true) returnValue = "$" + returnValue; return returnValue; } function pdFindParentForm(element) { var elm,parentForm; for (elm = element.parentNode; elm; elm = elm.parentNode) { if(elm.tagName.toLowerCase() == "form") { parentForm = elm; break; } } return parentForm; } function pdHideForLoggedInUser() { var hideList = pdGetElementsByClassName("pdHideForLoggedInUser", null); for(var i=0;i { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='kplus100tabs'], .pdRatingStarsWrapper[data-itemid='kplus100tabs']"); newHtml = "
(99 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='k-plus-potassium-citrate-plus-cranberry-300-tabs'], .pdRatingStarsWrapper[data-itemid='k-plus-potassium-citrate-plus-cranberry-300-tabs']"); newHtml = "
(99 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='kplus300g'], .pdRatingStarsWrapper[data-itemid='kplus300g']"); newHtml = "
(65 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='k-plus-potassium-citrate-plus-cranberry-900g-granules'], .pdRatingStarsWrapper[data-itemid='k-plus-potassium-citrate-plus-cranberry-900g-granules']"); newHtml = "
(65 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='k-plus-renal-gel-5-oz'], .pdRatingStarsWrapper[data-itemid='k-plus-renal-gel-5-oz']"); newHtml = ""; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='k-plus-max-urinary-tract-health-90-soft-chews'], .pdRatingStarsWrapper[data-itemid='k-plus-max-urinary-tract-health-90-soft-chews']"); newHtml = ""; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='k-plus-100-soft-chews'], .pdRatingStarsWrapper[data-itemid='k-plus-100-soft-chews']"); newHtml = ""; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='k-plus-300-soft-chews'], .pdRatingStarsWrapper[data-itemid='k-plus-300-soft-chews']"); newHtml = ""; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='k-plus-max-urinary-tract-health-270-soft-chews'], .pdRatingStarsWrapper[data-itemid='k-plus-max-urinary-tract-health-270-soft-chews']"); newHtml = ""; elements.forEach(element => { element.innerHTML = newHtml; }); pdStarsRefreshFlag = false; } } pdDisplayCategoryStars(); //*** time check 12 (0.09661s elapsed) $(".abr-flex-favorite-link").on("click", function(){ var pdAddToFavoritesAction = "https://myaccount.entirelypets.com/mod_favorites/ajax/favoritesAddItemNew.php"; var itemId = jQuery(this).parent().parent().data("data-itemid"); var productId = jQuery(this).parent().parent().data("productId"); var item; if(!isBlank(itemId)){ item = itemId; }else{ item = productId; } var pdAddToFavoritesButton = jQuery(this); if (!item) { console.log("Unable to identify item id for adding to favorites"); return false; } var data = { vwitem: item } //**** IF ITEM IS ALREADY FAVORITED, DISABLE ACTIONS AND DIRECT TO CUSTOMER FAVORITES *** var pdItemAlreadyInFavorites = jQuery(this).children("div").hasClass("is-favorite"); var pdItemAddedToFavorites = jQuery(this).children("div").hasClass("is-added"); if(pdItemAlreadyInFavorites == true || pdItemAddedToFavorites == true){ console.log("Item is already in customer favorites"); return false; } jQuery.ajax({ 'async': false, 'global': false, 'xhrFields': {withCredentials: true}, 'type': "POST", 'url': pdAddToFavoritesAction, 'data': data, 'crossDomain': true, 'success': function (response) { if (response.indexOf("<") == 0){ response = response.slice(response.indexOf(">")+1); } var data = jQuery.parseJSON(response); console.log(data); if (data['loggedIn'] == true){ jQuery(pdAddToFavoritesButton).addClass("is-favorite"); console.log("Success adding to favorites"); } else{ console.log("User not logged in adding to favorites"); } }, 'error': function(xhr, status, error){ var errorMessage = xhr.status + ': ' + xhr.statusText console.log('Error - ' + errorMessage); } }); }); function pdAddToFavorites(orderForm,index,productUrl) { var pdAddToFavoritesAction = "https://myaccount.entirelypets.com/mod_favorites/favoritesAddItem.php"; if(pdIsBlank(index)) index = 0; var item = "vwitem" + index; var itemAttr = "vwattr" + index + "_"; //*** CAN'T FIND MULTIFORM ELEMENT? FALL BACK TO SINGLE ITEM CASE if(typeof orderForm[item] == "undefined") { item = "item"; itemAttr = "vwattr_"; } //******** ATTACH PRODUCT ID INPUT ************** if(item != "item") { var inputProductId = document.createElement("INPUT"); inputProductId.type = "hidden"; inputProductId.name = "add-single-favorites"; inputProductId.value = index; orderForm.appendChild(inputProductId); } if(productUrl == "autoDetect") productUrl = String(document.location); if(!pdIsBlank(productUrl)) { var inputOptions = document.createElement("INPUT"); inputOptions.type = "hidden"; inputOptions.name = "productUrl"; inputOptions.value = productUrl; orderForm.appendChild(inputOptions); } var tempAction = orderForm.action; var copiedQueryString = ""; var queryStringPosition = tempAction.indexOf("?"); if(queryStringPosition > -1) { copiedQueryString = tempAction.substring(queryStringPosition, tempAction.length); copiedQueryString = copiedQueryString.replace("+", "%20"); } orderForm.action=pdAddToFavoritesAction + copiedQueryString; if(orderForm.target != "_top") orderForm.target = ""; //*** COMPAT W/ SCFC orderForm.submit(); orderForm.action = tempAction; orderForm.removeChild(inputProductId); orderForm.removeChild(inputOptions); return false; } //*** time check 13 (0.09669s elapsed) //*** time check 14 (0.09669s elapsed) //*** time check 15 (0.09673s elapsed) if (typeof pdPerformLoginActions === "function") { pdPerformLoginActions(false); } //*** time check 16 (0.09733s elapsed) //*** time check 17 (0.09807s elapsed) //*** time check 18 (0.09859s elapsed) //*** time check 19 (0.09859s elapsed) //*** time check 20 (0.09916s elapsed) //*** time check 21 (0.09975s elapsed) //*** time check 22 (0.10163s elapsed) //********************************* //*** BEGIN mod_promotionCenter *** //********************************* //*** COULD NOT FIND PUBLIC FUNCTION 'public_mod_promotionCenter_getRenderedPageScript3()' //******************************* //*** END mod_promotionCenter *** //******************************* //*** time check 23 (0.10392s elapsed) //*** SEND PROMO INFO TO ALREADY ON-PAGE HANDLER FUNCTION var pdPromo = {}; try{pdHandlePromoInfo(pdPromo)} catch(e) {} //*** SEND PROMO INFO TO ALREADY ON-PAGE HANDLER FUNCTION var pdProductListCalloutHtml = ""; try{pdHandleProductListCallout(pdProductListCalloutHtml)} catch(e) {} //*** time check 24 (0.10472s elapsed) //*** mod_fbConversion is NOT enabled! //*** time check 25 (0.1053s elapsed) //*** time check 26 (0.10593s elapsed) //*** time check 27 (0.10654s elapsed) //*** time check 28 (0.1072s elapsed) //**** CART ITEM COUNT MESSAGE ***** function pdDisplayCartItemCount() { var pdCartItemCount = pdGetCookie('pdCartItemCount'); if(!pdIsBlank(pdCartItemCount)) { var pdCartItemCountMessage = pdCartItemCount; jQuery('.pdCartItemCountMessage').html(pdCartItemCountMessage); } } pdDisplayCartItemCount(); //*** pageScript end (0.10725s elapsed) //*** time check 29 (0.10725s elapsed)