console.log('uid='); //*** time check 1 (0.02794s elapsed) //*** time check 2 (0.02797s elapsed) //*** JJ itemId=aminavast-kidney-support //*** pageType=category //*** time check 3 (0.02824s elapsed) //*** forceOutOfStock=false //*** time check 4 (0.02825s 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\\/kidney-and-renal-health-center.html\",\"name\":\"Kidney & Renal Support Supplements\"}},{\"@type\":\"ListItem\",\"position\":7,\"item\":{\"@id\":\"https:\\/\\/www.entirelypets.com\\/aminavast-kidney-support.html\",\"name\":\"AminAvast Kidney Support\"}}]}" 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-29\",\"seller\":{\"@type\":\"Organization\",\"name\":\"Entirelypets.com\"},\"@id\":\"https:\\/\\/www.entirelypets.com\\/aminavast-kidney-support.html#offers\",\"url\":\"https:\\/\\/www.entirelypets.com\\/aminavast-kidney-support.html\",\"itemCondition\":\"NewCondition\",\"availability\":\"OutOfStock\"},\"name\":\"AminAvast Kidney Support\",\"image\":\"https:\\/\\/images.practicaldatacore.com\\/entirelypets\\/getProductImage.php?size=imageMedium&cb=1745547114&productId=aminavast-kidney-support\",\"sku\":\"aminavast-kidney-support\",\"@id\":\"https:\\/\\/www.entirelypets.com\\/aminavast-kidney-support.html#product\",\"review\": [{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Pat\"},\"reviewBody\":\" I recently re-ordered Aminovast for our 14 year old cat. This was the second time from Entirely Pets. The price was better than any from a regular veterinary and the order was filled promptly with times. Our cat is doing well with it. I heartily recommend this to others.\\r\\n\",\"datePublished\":\"2025-01-02 12:57:26\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Norma\"},\"reviewBody\":\"They are very punctual and exact. I have everything well, excellent.\",\"datePublished\":\"2024-12-24 23:55:48\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Sarah\"},\"reviewBody\":\"They offer an excellent discount and customer service is outstanding. \",\"datePublished\":\"2024-10-26 22:44:42\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Heather\"},\"reviewBody\":\"I can’t recommend this stuff enough. My cat has been in kidney failure since 2020. It’s 2024 now and Aminavast has made a significant difference in his life. He has more energy and a significant reduction in nausea. This was added many months after we had already had him on a prescription diet and subq fluids. It made a difference and I hope it does for you as well.\",\"datePublished\":\"2024-02-26 05:07:17\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Hafiz\"},\"reviewBody\":\"5 star\",\"datePublished\":\"2022-07-25 23:08:44\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Persnickety\"},\"reviewBody\":\"This is the only brand of kidney support supplement that my Vet recommends. The price at Entirely Pets was slightly better, so I have put myself on an auto-ship. It is an expensive supplement but vital for the well-being of my senior kitty who has CKD. She is in an early stage and I have noticed an improvement in her fur and her personality is more spirited and more playful--this means she\'s feeling good! Highly recommend. \",\"datePublished\":\"2022-07-20 09:19:29\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Frances\"},\"reviewBody\":\"Great product Love it\",\"datePublished\":\"2021-08-28 00:28:26\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Nancy\"},\"reviewBody\":\"Everything for pets has become expensive for pets. I am assuming this product is helping with my pets kidney problem.\",\"datePublished\":\"2021-05-09 12:40:27\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"gloria\"},\"reviewBody\":\"I have been ordering life saving supplements AminoVast Kidney from Entirely Pets for quite some time and both the company and the product are the very best! Customer service is excellent!\\r\\n\\r\\nThank you!!!!!!!!!!\",\"datePublished\":\"2021-03-17 15:46:29\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Phoebe\"},\"reviewBody\":\"It really works.\",\"datePublished\":\"2021-03-17 11:22:33\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Monika\"},\"reviewBody\":\"Very good product\",\"datePublished\":\"2020-12-15 03:36:18\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Lorraine\"},\"reviewBody\":\"Depending on your car and his or her blood work with respect to kidney illness, this product could literally hault the disease in its tracks. My Tania was diagnosed with early onset and the USA veterinarian had suggested Aminavast. It literally stopped escalating blood levels. She was in Stage two for many years. Like 6 years. \",\"datePublished\":\"2020-11-16 21:33:13\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Linda H.\"},\"reviewBody\":\"I have two older cats with kidney failure who take this capsule two times per day. One of them has been on it for a couple of years. The other one for a few months. I truly feel that it is helping and would suggest that anyone try it. Linda Headley; Pinki and CC\",\"datePublished\":\"2020-03-04 13:17:31\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Teri\"},\"reviewBody\":\"My 19 year old cat has been on it for a number of years due to early signs of kidney problems. My vet recently tested him and found that there was very little change since first time he was testing, indicating that this product has helped to keep his kidneys functioning at a normal level.\",\"datePublished\":\"2019-03-21 11:12:58\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Stellaluna\"},\"reviewBody\":\"I purchased a Aminavast for my older cat who has some kidney issues. I have found that after about one month of giving her the supplement, her urination has decreased and she\'s drinking less water. This is a really great thing considering she was drinking almost a bowl of water a day and her urine was really large. I feel that this supplement has definitely made a difference for her. It was recommended by a vet and I completely agree that it\'s something everyone should try if they have a older cat with kidney issues.\",\"datePublished\":\"2019-03-07 20:41:45\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"NIKKIGREENEYES\"},\"reviewBody\":\"I don\'t have blood labs done yet, so naturally I cannot say for sure but over the past two weeks in which I have bern religiously giving this to her (mixed in chicken baby food and fed by hand to make sure she gets it all), she has been running around like a nut, lots of energy, her coat is like soft down and fluffy and she eats like a pig. Also to note: i have a refractometer at home in order to monitor her urine specific gravity (anyone can buy one on Amazon. Same thing your vet uses), abd her numbers have improved by 5 points in just two weeks!\",\"datePublished\":\"2018-12-04 08:45:18\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Kilokitty\"},\"reviewBody\":\"I have been using this product for at least four years. I believe it kept my cat alive for that time. Sad to say we had to put him down yesterday. Just got my new shipment but won\'t be using it now. My vet says we got four years longer than he would have guessed. Actually wanted to know exactly what products I used. Thank u entirely pets for having this product at a reasonable price.\",\"datePublished\":\"2018-09-21 19:18:16\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"1.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Clara\"},\"reviewBody\":\"I have an elderly cat with early kidney disease. She\'s doing well but decided to add this to her daily routine. She\'s 7.5 lb so decided to start at a lower dose and work up to the max. After a few days she stopped eating. I discontinued the AminAvast got her eating again and worked up to half dosage. She stopped eating again. I will no longer use it as keeping her eating is more important than adding a supplement that \'might\' help her live longer.\",\"datePublished\":\"2018-08-30 10:28:48\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Coco\"},\"reviewBody\":\"My senior cat was starting to show kidney problems, excessive thirst. I started him on this amino acid and could tell in a few days he was feeling better. It also helped his coat look shiny and the dander disappeared.\",\"datePublished\":\"2018-04-10 07:52:50\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Ricky\"},\"reviewBody\":\"My 15 year old cat has been taking this for about a year now. It seems to work for him. He gain his appetite back and kidney has not gotten any worst.\",\"datePublished\":\"2017-08-25 10:48:39\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Claudia\"},\"reviewBody\":\"Delivered when promised.Product was priced less than any other place.\",\"datePublished\":\"2017-08-25 05:42:11\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Tracy\"},\"reviewBody\":\"My cat was vomiting almost daily. A friend told me about this product. It has virtually eliminated this issue. I think it really helps! Highly recommended!\",\"datePublished\":\"2017-08-23 07:50:01\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Ricky\"},\"reviewBody\":\"My 15 year old cat has been taking this medication for over a year now and his health seems to have improved. He was diagnosed about a year ago that he has beginning stages of kidney problems and had recommended that he takes this medication. He had some blood work done a couple of months ago and whatever it was that he had has not gotten any worst. His appetite has also improved. He also has hyperthyroidism. He takes both medications twice a day.\",\"datePublished\":\"2017-08-18 21:15:03\"},{\"@type\":\"Review\",\"itemReviewed\":\"3-PACK AminAvast Kidney Support for Cats (180 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Pasha M.\"},\"reviewBody\":\"After cat\'s blood draw, vet said she is doing much better and keep up what I am doing!\' Two tablets a day sprinkled on her food.\",\"datePublished\":\"2017-08-11 09:55:40\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Gypsy\"},\"reviewBody\":\"I have been ordering AminAvast from EntirelyPets.com for several years. It has definitely helped improve our cat\'s kidney condition and kept her well and happy. At age 23, she is still thriving!\",\"datePublished\":\"2017-08-11 08:13:09\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Caitlandia\"},\"reviewBody\":\"My beloved Male Persian was diagnosed with CKD when he was 6 years old and I\'ve gone to just about every length possible to keep him healthy since. A vet with whom I was working (not a conventional Vet...God forbid a mainstream conventional vet recommend anything other than what they\'ve learned at school...) but a Vet who practiced western and Estern and alternative medicine suggested Aminavast to help stimulate my cat\'s appetite as he\'d at that point lost 2.5 lbs in 4 months because of the Rx canned renal formula that he was prescribed. I\'ve been giving him 2 caps of Aminavast twice a day since and his blood work remains stable, his appetite is consistently good and I feel that a big contributing factor is the Aninavast. I\'ve run out twice in the last few years and honestly noticed a decrease in appetite after my cat didn\'t take for two days consecutively. He also eats 100% raw turkey from Darwin Pets for his meals, no other cat food, and gets herbal pills from an vet who specializes in Chinese medicine and I give him probiotics. He prefers Fortaflora which is higher in sodium than I like but he loves the flavor. For several years I had him on Astro\'s oil which I believe helped tremendously as well. Only one of the many vets I\'ve met over the last 5 years has heard of Aminavast, perhaps it will be noted in more forums or The company can work to educate vets. My cat is 10 now, his blood work is excellent for a \\\"senior\\\" with CKD.\",\"datePublished\":\"2017-08-09 08:33:36\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Darien\"},\"reviewBody\":\"My senior cat\'s kidney issues seem to have gone into remission since I\'ve been sprinkling AminAvast on her wet food twice a day. \\r\\nShe\'s been on AminAvast for more than 6 months and, fingers crossed, this supplement appears to be working for her.\\r\\nI plan to continue giving her AminAvast and will order from Entirely Pets. The price was very good and the supplement was shipped the day I placed my order. Thank you.\",\"datePublished\":\"2017-08-07 07:22:13\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"Animal L.\"},\"reviewBody\":\"I got this for my cat with CKD, and it really seems to be helping him.\",\"datePublished\":\"2017-07-31 07:06:16\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"4.0\"},\"author\":{\"@type\":\"person\",\"name\":\"jackie\"},\"reviewBody\":\"Our cat is almost 18 yrs old. His kidney disease is in the beginning stages. We thought he was really showing signs of age and possible illness early this year. A friend recommended AminAvast and even gave us a few capsules. We tried it with no adverse reaction so decided to order. He did seem to start doing a little better. He also has thyroid disease and takes medicine for that. Overall, considering his age and ailments, we think he is doing pretty well.\",\"datePublished\":\"2017-07-20 20:23:23\"},{\"@type\":\"Review\",\"itemReviewed\":\"AminAvast Kidney Support for Cats (60 capsules)\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5.0\"},\"author\":{\"@type\":\"person\",\"name\":\"cs\"},\"reviewBody\":\"This product really helped bring my cat\'s kidney values down within 2 weeks of starting to use it; his appetite improved, he gained weight and his kidney values stayed within the normal range. I now give it as a supplement to my senior cats. None of my cats have refused it.\",\"datePublished\":\"2017-07-16 10:15:31\"}],\"aggregateRating\":{\"@type\":\"AggregateRating\",\"reviewCount\":\"65\",\"ratingValue\":\"5.0\"}}" document.getElementsByTagName('head')[0].appendChild(script); ; //*** time check 5 (0.05019s elapsed) //*** mod_storeClosed called //*** time check 6 (0.05034s elapsed) //*** time check 7 (0.05035s elapsed) var pdServerTime = new Date("2025-04-26T13:56:51-05:00"); var pdProductId = "aminavast-kidney-support"; //************************************************ //************ 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.05036s 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 (65 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='aminavast-cats-180-capsules'], .pdRatingStarsWrapper[data-itemid='aminavast-cats-180-capsules']"); newHtml = "
(65 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='aminavast-kidney-support-cats-360-capsules'], .pdRatingStarsWrapper[data-itemid='aminavast-kidney-support-cats-360-capsules']"); newHtml = ""; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='aminavast-kidney-support-cats-720-capsules'], .pdRatingStarsWrapper[data-itemid='aminavast-kidney-support-cats-720-capsules']"); newHtml = ""; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='aminavast-kidney-support-for-dogs-60-capsules'], .pdRatingStarsWrapper[data-itemid='aminavast-kidney-support-for-dogs-60-capsules']"); newHtml = "
(6 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='aminavast-dogs-180-capsules'], .pdRatingStarsWrapper[data-itemid='aminavast-dogs-180-capsules']"); newHtml = "
(6 reviews)"; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='aminavast-kidney-support-dogs-360-capsules'], .pdRatingStarsWrapper[data-itemid='aminavast-kidney-support-dogs-360-capsules']"); newHtml = ""; elements.forEach(element => { element.innerHTML = newHtml; }); elements = document.querySelectorAll(".pdRatingStarsWrapper[productId='aminavast-kidney-support-dogs-720-capsules'], .pdRatingStarsWrapper[data-itemid='aminavast-kidney-support-dogs-720-capsules']"); newHtml = ""; elements.forEach(element => { element.innerHTML = newHtml; }); pdStarsRefreshFlag = false; } } pdDisplayCategoryStars(); //*** time check 12 (0.05688s 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.05694s elapsed) //*** time check 14 (0.05695s elapsed) //*** time check 15 (0.05698s elapsed) if (typeof pdPerformLoginActions === "function") { pdPerformLoginActions(false); } //*** time check 16 (0.05751s elapsed) //*** time check 17 (0.05799s elapsed) //*** time check 18 (0.05845s elapsed) //*** time check 19 (0.05845s elapsed) //*** time check 20 (0.05897s elapsed) //*** time check 21 (0.05941s elapsed) //*** time check 22 (0.06045s elapsed) //********************************* //*** BEGIN mod_promotionCenter *** //********************************* //*** COULD NOT FIND PUBLIC FUNCTION 'public_mod_promotionCenter_getRenderedPageScript3()' //******************************* //*** END mod_promotionCenter *** //******************************* //*** time check 23 (0.06077s 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.06124s elapsed) //*** mod_fbConversion is NOT enabled! //*** time check 25 (0.06177s elapsed) //*** time check 26 (0.06223s elapsed) //*** time check 27 (0.06275s elapsed) //*** time check 28 (0.0632s 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.06324s elapsed) //*** time check 29 (0.06324s elapsed)