Subscription One-time purchase
$16.50
Subscribe & Save (10%)
$14.85
Delivered Every 1 Month Delivered Every 2 Months Delivered Every 3 Months
FREE SHIPPING WITH PURCHASE $50+
45 Days Money Back Guarantee
Description
Experience the rejuvenating power of DERMA E's Anti-Aging Cleanser, a dermatologist-recommended formula designed to diminish the appearance of fine lines and wrinkles while deeply cleansing your skin.
Crafted with purified water and coconut-derived cleansers, this anti-aging cleanser includes a blend of natural extracts and powerful anti-aging ingredients. Free from harsh chemicals, it ensures a gentle yet effective cleansing experience.
Incorporate DERMA E's Anti-Aging Cleanser into your daily skincare routine to achieve revitalized, youthful, and radiant skin. Ideal for all skin types, this cleanser is your essential step towards a healthier and more vibrant complexion.
Benefits
Why Choose DERMA E's Anti-Aging Cleanser?
Diminishes Fine Lines and Wrinkles: Infused with Vitamin A and Retinol, this cleanser helps to reduce the look of fine lines and wrinkles, promoting a more youthful complexion.Exfoliates and Renews: Glycolic Acid gently removes dead skin cells, revealing fresher, brighter skin underneath.Thorough Cleansing: Effectively removes makeup, impurities, and excess oil without over-drying your skin.Brightens Skin: Promotes a brighter, more radiant complexion with its blend of potent ingredients.Gentle Formula: Deeply cleanses the skin while maintaining its natural moisture balance, suitable for daily use. How to use
Pump out a small amount of the cleanser and gently massage it into damp skin on your face and neck until a gentle lather forms. Rinse thoroughly with water and then pat your skin dry. Use in the morning and evening for best results. For maximum anti-aging benefits, follow up with products from DERMA E’s Anti-Wrinkle collection . Ingredients
Key Ingredients: Vitamin A (Retinol): Helps to diminish the appearance of fine lines and wrinkles, promoting smoother, younger-looking skin.Glycolic Acid: Exfoliates dead skin cells, revealing a brighter and more radiant complexion.Bakuchiol: A natural alternative to retinol that helps to improve skin texture and reduce signs of aging.Papaya Fruit Extract: Provides gentle exfoliation and brightening benefits.Sea Kelp Extract: Nourishes and hydrates the skin, promoting a healthy complexion.All Ingredients: Purified Water, Sodium Methyl Cocoyl Taurate (Coconut Derived), Cocamidopropyl Hydroxysultaine (Coconut Derived), Cocamidopropyl Betaine (Coconut Derived), Glyceryl Laurate (Vegetable Derived), Glycolic Acid, Bakuchiol, Retinol, Carica Papaya (Papaya) Fruit Extract, Equisetum Arvense (Horsetail) Extract, Macrocystis Pyrifera (Sea Kelp) Extract, Potassium Sorbate, Phenoxyethanol, Ethylhexylglycerin, Natural Fragrance Oils.
Prevent and Fade Lines & Wrinkles
anti-wrinkle collection
All of DERMA E’s anti-wrinkle products harness the power of Vitamin A. Its effect on the complexion is so potent that it is also known as the “skin vitamin”—it can smooth the look of lines and improve the tone and texture of the skin’s surface.
While the Vitamin A in the Anti-Wrinkle collection encourages fresh-looking skin, it is supported by antioxidants such as green tea and Vitamin E to help protect the surface layer of the skin from free radical damage. This combination of ingredients refreshes the complexion—you look renewed and revived.
Shop Now
See What Others Are Saying 0 Reviews
Write a review Ask a question
prev next
Displaying Reviews 1-10
' console.log("SkinTypeData",SkinTypeData) } }else{ SkinTypeHtml = ""; } if(total_months == 0){ Total_months_ago = "Recently"; }else{ Total_months_ago = total_months+" "+"months ago"; } var varified_html = ""; if(VarifiedBuyer == true){ varified_html = '
Verified Buyer
' } var CustomerUGCID = e.ugc_id; var rating_Customrstar = '' var likeDislike = '
'; var AppendedHtml = '
'+ rating_Customrstar + varified_html +'
'+ Total_months_ago +'
'+ Headline +'
'+ nickName +' from '+ Location +'
'+ Comment +'
'+ SkinTypeHtml + likeDislike +'
' appedn_parent_html.innerHTML += AppendedHtml; }); }else{ document.querySelector('.reviews_comments').innerHTML = `
No Reviews `; document.querySelector('.reviews_questions').innerHTML = `
No Q&A `; $("#review_next_ten").hide(); } }); // ========================= next button click ============================== $("#review_next_ten").click(function(e) { e.preventDefault(); $("#main_review_main").animate({ scrollTop: 0 }, 600); var NextUrl = $(this).attr('data-Nexturl'); var ProductID = 7967537416; var MediaNextUrl =$(this).attr('data-mediaNexturl'); $(".reviews_comments").empty(); $.ajax({ "async": true, "crossDomain": true, "url": NextUrl, "method": "GET", "headers": { "Content-Type": "application/json" }, success: function(response) { if(response.paging.current_page_number == 1){ $("#review_prev_ten").hide(); }else{ $("#review_prev_ten").show(); } if(response.results[0].reviews.length < 10){ $("#review_next_ten").hide(); }else{ $("#review_next_ten").show(); } var current_page_no = response.paging.current_page_number - 2; var prev_url ="https://readservices-b2c.powerreviews.com/m/598880/l/en_US/product/"+ProductID+"/reviews?paging.from="+current_page_no+"0&paging.size=10&filters=&search=&sort=Newest&image_only=false&page_locale=en_US&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f" $("#review_prev_ten").attr("data-PrevURL",prev_url) function getMonthDifference(startDate, endDate){ return ( endDate.getMonth() - startDate.getMonth() + 12 * (endDate.getFullYear() - startDate.getFullYear()) ); } var next_url = response.paging.next_page_url; var next_page_url = "https://readservices-b2c.powerreviews.com"+next_url+"&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f"; $("#review_next_ten").attr("data-Nexturl",next_page_url); var appedn_parent_html = document.querySelector('.reviews_comments'); var reviews_array = response.results[0].reviews; reviews_array.forEach(function(e){ var UGCID = e.ugc_id; var Headline = e.details.headline var nickName = e.details.nickname; var Location = e.details.location; var Comment = e.details.comments; var raTing = e.metrics.rating; var VarifiedBuyer = e.badges.is_verified_buyer; var getDate = e.details.updated_date; // convert miliseconds to date var timestamp = getDate; var UpdatedDate = new Date(timestamp).toLocaleDateString('sv'); var todaysDate = new Date().toLocaleDateString('sv'); var total_months = getMonthDifference(new Date(UpdatedDate), new Date(todaysDate)); var Total_months_ago; var HelpfulVotes = e.metrics.helpful_votes; var UnhelpfulVotes = e.metrics.not_helpful_votes; var SkinTypeHtml; var properties_key = e.details.properties; var show_skintype = false; $.each(properties_key, function(index, value) { if(value.key == "whatskintypedoyouassociatewiththemost") { show_skintype = true; return false } }); if(show_skintype == true){ if(e.details.properties.length == 0 || e.details.properties == [] ){ console.log("no properties") SkinTypeHtml = ""; }else{ var SkinTypeData = e.details.properties[0].value; SkinTypeHtml = '
What’s your skin type? '+ SkinTypeData.toString() +'
' console.log("SkinTypeData",SkinTypeData) } }else{ SkinTypeHtml = ""; } if(total_months == 0){ Total_months_ago = "Recently"; }else{ Total_months_ago = total_months+" "+"months ago"; } var varified_html = ""; if(VarifiedBuyer == true){ varified_html = '
Verified Buyer
' } var CustomerUGCID = e.ugc_id; var rating_Customrstar = '' var likeDislike = '
'; var AppendedHtml = '
'+ rating_Customrstar + varified_html +'
'+ Total_months_ago +'
'+ Headline +'
'+ nickName +' from '+ Location +'
'+ Comment +'
'+ SkinTypeHtml + likeDislike +'
' appedn_parent_html.innerHTML += AppendedHtml; }); FlagReview(); likkDislikecall(); } });// ================================================ media use ==================================== if(MediaNextUrl != ""){ var FinalMediaNext = 'https://readservices-b2c.powerreviews.com'+MediaNextUrl+'&apikey=526de2ef-719b-4291-baff-fe8beadf567a'; $.ajax({ "async": true, "crossDomain": true, "url": FinalMediaNext, "method": "GET", "headers": { "Content-Type": "application/json" }, success: function(response) { let NextpageUrl = response.paging.next_page_url; $('#review_next_ten').attr('data-mediaNexturl',NextpageUrl) var ImagerelatedReview = response.results[0].reviews; $(ImagerelatedReview).each(function(){ var image = this.media[0].uri; var Review_images = '
' $('.reviews_images_main').find('.slick-list').find('.slick-track').append(Review_images) }); setTimeout(function(){ $('.reviews_images_main').slick('unslick'); review_imagesslider() }, 2000); } }); } // section scroll top js var target = this.hash; var $target = $(target); $('html, body').stop().animate({ 'scrollTop': $target.offset().top }, 900, 'swing', function () { // window.location.hash = target; }); });// ========================= prev button click =============================== $("#review_prev_ten").click(function(e) { e.preventDefault(); $("#main_review_main").animate({ scrollTop: 0 }, 600); var prev_Url = $(this).attr("data-prevurl"); var ProductID = 7967537416; $(".reviews_comments").empty(); $.ajax({ "async": true, "crossDomain": true, "url": prev_Url, "method": "GET", "headers": { "Content-Type": "application/json" }, success: function(response) { var net_url_prev = response.paging.next_page_url; var next_page_url_prev = "https://readservices-b2c.powerreviews.com"+net_url_prev+"&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f"; $("#review_next_ten").attr("data-Nexturl",next_page_url_prev) var current_page_no = response.paging.current_page_number - 2; if(response.paging.current_page_number == 1){ $("#review_prev_ten").hide(); }else{ $("#review_prev_ten").show(); } if(response.results[0].reviews.length < 10){ $("#review_next_ten").hide(); }else{ $("#review_next_ten").show(); } var prev_url ="https://readservices-b2c.powerreviews.com/m/598880/l/en_US/product/"+ProductID+"/reviews?paging.from="+current_page_no+"0&paging.size=10&filters=&search=&sort=Newest&image_only=false&page_locale=en_US&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f" $("#review_prev_ten").attr("data-PrevURL",prev_url) function getMonthDifference(startDate, endDate) { return ( endDate.getMonth() - startDate.getMonth() + 12 * (endDate.getFullYear() - startDate.getFullYear()) ); } var appedn_parent_html = document.querySelector('.reviews_comments'); var reviews_array = response.results[0].reviews; reviews_array.forEach(function(e){ var UGCID = e.ugc_id; var Headline = e.details.headline var nickName = e.details.nickname; var Location = e.details.location; var Comment = e.details.comments; var raTing = e.metrics.rating; var VarifiedBuyer = e.badges.is_verified_buyer; var getDate = e.details.updated_date; // convert miliseconds to date var timestamp = getDate; var UpdatedDate = new Date(timestamp).toLocaleDateString('sv'); var todaysDate = new Date().toLocaleDateString('sv'); var total_months = getMonthDifference(new Date(UpdatedDate), new Date(todaysDate)); var Total_months_ago; var HelpfulVotes = e.metrics.helpful_votes; var UnhelpfulVotes = e.metrics.not_helpful_votes; var SkinTypeHtml; var properties_key = e.details.properties; var show_skintype = false; $.each(properties_key, function(index, value) { if(value.key == "whatskintypedoyouassociatewiththemost") { show_skintype = true return false } }); if(show_skintype == true){ if(e.details.properties.length == 0 || e.details.properties == [] ){ console.log("no properties") SkinTypeHtml = ""; }else{ var SkinTypeData = e.details.properties[0].value; SkinTypeHtml = '
What’s your skin type? '+ SkinTypeData.toString() +'
' console.log("SkinTypeData",SkinTypeData) } }else{ SkinTypeHtml = ""; } if(total_months == 0){ Total_months_ago = "Recently"; }else{ Total_months_ago = total_months+" "+"months ago"; } var varified_html = ""; if(VarifiedBuyer == true){ varified_html = '
Verified Buyer
' } var CustomerUGCID = e.ugc_id; var rating_Customrstar = '' var likeDislike = '
'; var AppendedHtml = '
'+ rating_Customrstar + varified_html +'
'+ Total_months_ago +'
'+ Headline +'
'+ nickName +' from '+ Location +'
'+ Comment +'
'+ SkinTypeHtml + likeDislike +'
' appedn_parent_html.innerHTML += AppendedHtml; }); FlagReview(); likkDislikecall(); } }); // section scroll top js var target = this.hash; var $target = $(target); $('html, body').stop().animate({ 'scrollTop': $target.offset().top }, 900, 'swing', function () { // window.location.hash = target; }); }); //========================================================================================================================================================= //============================================== review's question's api call ============================================================================//========================================================================================================================================================= const settings_new = { "async": true, "crossDomain": true, "url": "https://readservices-b2c.powerreviews.com/m/598880/l/en_US/product/7967537416/questions?apikey=895668a2-02da-49df-840e-0c3a5db3fa0f", "method": "GET", "headers": { "Content-Type": "application/json" }};$.ajax(settings_new).done(function (response) { console.log("questions",response) var next_url = response.paging.next_page_url; console.log(next_url) if(response.paging.current_page_number == 1){ $("#review_prev_ten_ques").hide(); }else{ $("#review_prev_ten_ques").show(); } if(next_url == undefined ||next_url == " " ){ $("#review_next_ten_ques").hide(); }else{ var next_page_url = "https://readservices-b2c.powerreviews.com"+next_url+"&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f"; $("#review_next_ten_ques").attr("data-Nexturl",next_page_url); } function getMonthDifference(startDate, endDate) { return ( endDate.getMonth() - startDate.getMonth() + 12 * (endDate.getFullYear() - startDate.getFullYear()) ); } var get_allques = response.results; $(get_allques).each(function(e){ var getQues = this.details.text; var getAns = this.answer[0].details.text; var getDate = this.details.created_date; var timestamp = getDate; var UpdatedDate = new Date(timestamp).toLocaleDateString('sv'); var todaysDate = new Date().toLocaleDateString('sv'); var total_months = getMonthDifference(new Date(UpdatedDate), new Date(todaysDate)); var Total_months_ago; var QuestionID = this.question_id; if(total_months == 0){ Total_months_ago = "Recently"; }else{ Total_months_ago = total_months+" "+"months ago"; } var ansNickname = this.answer[0].details.nickname; var Quesname = this.details.nickname; var QuestionHtml = '
'+ getQues +'
Asked By '+ Quesname +'
'+ Total_months_ago +'
Verified Reply : '+ ansNickname +'
'+ getAns +'
' $('.reviews_questions').append(QuestionHtml); });});// ========================= next button click ============================== $("#review_next_ten_ques").click(function(e) { e.preventDefault(); $("#main_review_main").animate({ scrollTop: 0 }, 600); var NextUrl = $(this).attr('data-Nexturl'); var PRODUCTID = 7967537416 $('.reviews_questions').empty(); $.ajax({ "async": true, "crossDomain": true, "url": NextUrl, "method": "GET", "headers": { "Content-Type": "application/json" }, success: function(response) { function getMonthDifference(startDate, endDate) { return ( endDate.getMonth() - startDate.getMonth() + 12 * (endDate.getFullYear() - startDate.getFullYear()) ); } if(response.paging.current_page_number == 1){ $("#review_prev_ten_ques").hide(); }else{ $("#review_prev_ten_ques").show(); } var current_page_no = response.paging.current_page_number - 2; var prev_url ="https://readservices-b2c.powerreviews.com/m/598880/l/en_US/product/"+ PRODUCTID +"/questions?paging.from="+current_page_no+"0&paging.size=10&search=&sort=Newest&wdyb=false&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f" $("#review_prev_ten_ques").attr("data-PrevURL",prev_url) var next_url = response.paging.next_page_url; var next_page_url = "https://readservices-b2c.powerreviews.com"+next_url+"&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f"; $("#review_next_ten_ques").attr("data-Nexturl",next_page_url); var get_allques = response.results; $(get_allques).each(function(e){ var getQues = this.details.text; var getAns = this.answer[0].details.text; var getDate = this.details.created_date; var timestamp = getDate; var UpdatedDate = new Date(timestamp).toLocaleDateString('sv'); var todaysDate = new Date().toLocaleDateString('sv'); var total_months = getMonthDifference(new Date(UpdatedDate), new Date(todaysDate)); var Total_months_ago; var QuestionID = this.question_id; if(total_months == 0){ Total_months_ago = "Recently"; }else{ Total_months_ago = total_months+" "+"months ago"; } var ansNickname = this.answer[0].details.nickname; var Quesname = this.details.nickname; var QuestionHtml = '
'+ getQues +'
Asked By '+ Quesname +'
'+ Total_months_ago +'
Verified Reply : '+ ansNickname +'
'+ getAns +'
' $('.reviews_questions').append(QuestionHtml); }); SubmitAns(); } }); // section scroll top js var target = this.hash; var $target = $(target); $('html, body').stop().animate({ 'scrollTop': $target.offset().top }, 900, 'swing', function () { // window.location.hash = target; }); });// ========================= prev button click =============================== $("#review_prev_ten_ques").click(function(e) { e.preventDefault(); $("#main_review_main").animate({ scrollTop: 0 }, 600); var prev_Url = $(this).attr("data-prevurl"); $('.reviews_questions').empty(); $.ajax({ "async": true, "crossDomain": true, "url": prev_Url, "method": "GET", "headers": { "Content-Type": "application/json" }, success: function(response) { function getMonthDifference(startDate, endDate) { return ( endDate.getMonth() - startDate.getMonth() + 12 * (endDate.getFullYear() - startDate.getFullYear()) ); } var net_url_prev = response.paging.next_page_url; var next_page_url_prev = "https://readservices-b2c.powerreviews.com"+net_url_prev+"&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f"; $("#review_next_ten_ques").attr("data-Nexturl",next_page_url_prev) var current_page_no = response.paging.current_page_number - 2; if(response.paging.current_page_number == 1){ $("#review_prev_ten_ques").hide(); }else{ $("#review_prev_ten_ques").show(); } var prev_url ="https://readservices-b2c.powerreviews.com/m/598880/l/en_US/product/7967439176/questions?paging.from="+current_page_no+"0&paging.size=10&search=&sort=Newest&wdyb=false&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f" $("#review_prev_ten_ques").attr("data-PrevURL",prev_url) var get_allques = response.results; $(get_allques).each(function(e){ var getQues = this.details.text; var getAns = this.answer[0].details.text; var getDate = this.details.created_date; var timestamp = getDate; var UpdatedDate = new Date(timestamp).toLocaleDateString('sv'); var todaysDate = new Date().toLocaleDateString('sv'); var total_months = getMonthDifference(new Date(UpdatedDate), new Date(todaysDate)); var Total_months_ago; var QuestionID = this.question_id; if(total_months == 0){ Total_months_ago = "Recently"; }else{ Total_months_ago = total_months+" "+"months ago"; } var ansNickname = this.answer[0].details.nickname; var Quesname = this.details.nickname; var QuestionHtml = '
'+ getQues +'
Asked By '+ Quesname +'
'+ Total_months_ago +'
Verified Reply : '+ ansNickname +'
'+ getAns +'
' $('.reviews_questions').append(QuestionHtml); }); SubmitAns() } }); // section scroll top js var target = this.hash; var $target = $(target); $('html, body').stop().animate({ 'scrollTop': $target.offset().top }, 900, 'swing', function () { // window.location.hash = target; }); });// ========================================================================================================================================================// ============================================= like and dislike button js API call ======================================================================// ======================================================================================================================================================== function likkDislikecall(){ $('button.likebtn').on('click',function(){ var truevar = false; if($(this).hasClass('active')){ var truevar = true; } console.log(truevar) $(this).addClass('active'); var ThisVAr = $(this); var UGCID = $(this).data("ugcid"); var VotetType = $(this).data("type"); var GetButtontype = $(this).data("type"); var countAdd = $(this).find('span'); var CurrentHtml = $(this).find('span').html(); var countlike = $(this).next('.dislike_review').find('span'); var countDislike = $(this).prev('.like_review ').find('span'); var ProductUpc = $(".main_product_section_div").attr("data-product-upc"); $.ajax({ url: "https://writeservices.powerreviews.com/voteugc", type: "POST", async: true, crossDomain: true, processData: false, headers: { "Content-Type": "application/json" }, data: JSON.stringify({ugc_id:UGCID, vote_type:VotetType, merchant_id:'598880',upc : ProductUpc}), success: function (response) { console.log(response,"response") if(GetButtontype == "helpful"){ if(truevar == true){ ThisVAr.removeClass('active') var get_minus = Number(CurrentHtml)-1; countAdd.html(get_minus) }else{ var gethtml = Number(countAdd.html()) + 1; countAdd.html(gethtml); }; }else{ if(truevar == true){ ThisVAr.removeClass('active') var get_minus = Number(CurrentHtml)-1; countAdd.html(get_minus) }else{ var gethtmlnew = Number(countAdd.html()) + 1; countAdd.html(gethtmlnew); } } }, error: function (err) { console.log(err) } }); }); } setTimeout(function(){ likkDislikecall() }, 2000); // ========================================================================================================================================================// ============================================== MEDIA API call =========================================================================================// ======================================================================================================================================================== const mediaSettings = { "async": true, "crossDomain": true, "url": "https://readservices-b2c.powerreviews.com/m/598880/l/en_US/product/7967537416/reviews?apikey=526de2ef-719b-4291-baff-fe8beadf567a&_noconfig=true&image_only=true", "method": "GET", "headers": { "Content-Type": "application/json" } }; $.ajax(mediaSettings).done(function (response) { let NextpageUrl = response.paging.next_page_url; $('#review_next_ten').attr('data-mediaNexturl',NextpageUrl) $('.reviews_images_main').empty(); var ImagerelatedReview = response.results[0].reviews; var medialength = ImagerelatedReview.length; $(ImagerelatedReview).each(function(){ var image = this.media[0].uri; var Review_images = '
' $('.reviews_images_main').append(Review_images) }); if(window.innerWidth < 576){ review_imagesslider() }else if(window.innerWidth > 576){ if(medialength > 6){ review_imagesslider() }else{ $('.wc_review_slick-arrow').hide(); } } });// =======================================================================================================================================================// ============================================= review's sorting API ====================================================================================// ======================================================================================================================================================= $("#wc-sorting_reviews").on("change",function(){ let SortingValue = this.value; let ProductId = 7967537416; var SortingUrl = "https://display.powerreviews.com/m/598880/l/en_US/product/"+ProductId+"/reviews?sort="+SortingValue+"&_noconfig=true&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f" $(".reviews_comments").empty(); $.ajax({ "async": true, "crossDomain": true, "url": SortingUrl, "method": "GET", "headers": { "Content-Type": "application/json" }, success: function(response) { console.log("sorting response",response) if(response.paging.current_page_number == 1){ $("#review_prev_ten").hide(); }else{ $("#review_prev_ten").show(); } var current_page_no = response.paging.current_page_number - 2; var prev_url ="https://readservices-b2c.powerreviews.com/m/598880/l/en_US/product/"+ProductId+"/reviews?paging.from="+current_page_no+"0&paging.size=10&filters=&search=&sort=Newest&image_only=false&page_locale=en_US&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f" $("#review_prev_ten").attr("data-PrevURL",prev_url) function getMonthDifference(startDate, endDate){ return ( endDate.getMonth() - startDate.getMonth() + 12 * (endDate.getFullYear() - startDate.getFullYear()) ); } var next_url = response.paging.next_page_url; var next_page_url = "https://readservices-b2c.powerreviews.com"+next_url+"&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f"; $("#review_next_ten").attr("data-Nexturl",next_page_url); var appedn_parent_html = document.querySelector('.reviews_comments'); var reviews_array = response.results[0].reviews; reviews_array.forEach(function(e){ var Headline = e.details.headline var nickName = e.details.nickname; var Location = e.details.location; var Comment = e.details.comments; var raTing = e.metrics.rating; var VarifiedBuyer = e.badges.is_verified_buyer; var getDate = e.details.updated_date; // convert miliseconds to date var timestamp = getDate; var UpdatedDate = new Date(timestamp).toLocaleDateString('sv'); var todaysDate = new Date().toLocaleDateString('sv'); var total_months = getMonthDifference(new Date(UpdatedDate), new Date(todaysDate)); var Total_months_ago; var HelpfulVotes = e.metrics.helpful_votes; var UnhelpfulVotes = e.metrics.not_helpful_votes; var SkinTypeHtml; var properties_key = e.details.properties; var show_skintype = false; $.each(properties_key, function(index, value) { if(value.key == "whatskintypedoyouassociatewiththemost") { show_skintype = true return false } }); if(show_skintype == true){ if(e.details.properties.length == 0 || e.details.properties == [] ){ console.log("no properties") SkinTypeHtml = ""; }else{ var SkinTypeData = e.details.properties[0].value; SkinTypeHtml = '
What’s your skin type? '+ SkinTypeData.toString() +'
' console.log("SkinTypeData",SkinTypeData) } }else{ SkinTypeHtml = ""; } if(total_months == 0){ Total_months_ago = "Recently"; }else{ Total_months_ago = total_months+" "+"months ago"; } var varified_html = ""; if(VarifiedBuyer == true){ varified_html = '
Verified Buyer
' } var CustomerUGCID = e.ugc_id; var rating_Customrstar = '' var likeDislike = '
'; var AppendedHtml = '
'+ rating_Customrstar + varified_html +'
'+ Total_months_ago +'
'+ Headline +'
'+ nickName +' from '+ Location +'
'+ Comment +'
'+ SkinTypeHtml + likeDislike +'
' appedn_parent_html.innerHTML += AppendedHtml; }); FlagReview() } }); }) // =======================================================================================================================================================// ==============================================question's sorting API===================================================================================// ======================================================================================================================================================= $("#wc-sorting_questions").on("change",function(){ let SortingValue = this.value; let ProductId = 7967537416; var QuesSortingUrl = "https://display.powerreviews.com/m/598880/l/en_US/product/"+ ProductId +"/questions?sort="+SortingValue+"&_noconfig=true&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f"; $('.reviews_questions').empty(); console.log('question sorting change',SortingValue,ProductId) $.ajax({ "async": true, "crossDomain": true, "url": QuesSortingUrl, "method": "GET", "headers": { "Content-Type": "application/json" }, success: function(response) { function getMonthDifference(startDate, endDate) { return ( endDate.getMonth() - startDate.getMonth() + 12 * (endDate.getFullYear() - startDate.getFullYear()) ); } if(response.paging.current_page_number == 1){ $("#review_prev_ten_ques").hide(); }else{ $("#review_prev_ten_ques").show(); } var current_page_no = response.paging.current_page_number - 2; var prev_url ="https://readservices-b2c.powerreviews.com/m/598880/l/en_US/product/"+ ProductId +"/questions?paging.from="+current_page_no+"0&paging.size=10&search=&sort=Newest&wdyb=false&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f" $("#review_prev_ten_ques").attr("data-PrevURL",prev_url) var next_url = response.paging.next_page_url; var next_page_url = "https://readservices-b2c.powerreviews.com"+next_url+"&apikey=895668a2-02da-49df-840e-0c3a5db3fa0f"; $("#review_next_ten_ques").attr("data-Nexturl",next_page_url); var get_allques = response.results; $(get_allques).each(function(e){ var getQues = this.details.text; var getAns = this.answer[0].details.text; var getDate = this.details.created_date; var timestamp = getDate; var UpdatedDate = new Date(timestamp).toLocaleDateString('sv'); var todaysDate = new Date().toLocaleDateString('sv'); var total_months = getMonthDifference(new Date(UpdatedDate), new Date(todaysDate)); var Total_months_ago; var QuestionID = this.question_id; if(total_months == 0){ Total_months_ago = "Recently"; }else{ Total_months_ago = total_months+" "+"months ago"; } var ansNickname = this.answer[0].details.nickname; var Quesname = this.details.nickname; var QuestionHtml = '
'+ getQues +'
Asked By '+ Quesname +'
'+ Total_months_ago +'
Verified Reply : '+ ansNickname +'
'+ getAns +'
' $('.reviews_questions').append(QuestionHtml); }); SubmitAns() } }); }); // =======================================================================================================================================================// ============================================== flag the review api call ===============================================================================// ======================================================================================================================================================= function FlagReview(){ $('.flag_review_btn').on('click',function(){ $('.flag_review_popup').show(); $(this).parent('.falg_review').addClass('active'); var UGCID = $(this).data("ugcid"); $('#Flag_review_main_form').attr("data-ugcID",UGCID); $('#Wc-Falg-review-mail').val(""); $('#wc-flag-review-comment').val(""); $(".falg-radio-option:first-child").focus(); }); } setTimeout(function(){ FlagReview() }, 2000); // =========================================================================================================================================================// ============================================== submit question API ======================================================================================// =========================================================================================================================================================// var t = setInterval(recurse, 2000);// function recurse() {// if ( $('.submitAnsForm').children().hasClass('rc-container-wrapper')){// $('.rc-container-wrapper').empty();// clearInterval(t);// }// } function SubmitAns(){ $(document).on('click','.AddAnswerButton',function(){ $('.AddAnspopup').show(); var QuestionID = $(this).data("question"); $('.submitAnsForm').attr("id",QuestionID); }); } setTimeout(function(){ SubmitAns() }, 2000); });