Bild senden

Wird geladen

Lorem ipsum dolor sit amet, consectetur idesiu. Fusce id purus eu elit mattis congue nec id tortor.

Bitte laden Sie Ihre Fotos hoch und erhalten Sie 80% Rabatt
Email
Name
Titel der Rezension
Schreiben Sie Ihre Bewertung unten
    Es gibt Belohnungen für das Hochladen von Bildern

    Message!

    ` $('body').append(notification_html); $('.message .close').on('click', function() { $(this).closest('.message').transition('fade'); }); // window.SuperDisplayConfig={"settings":{"style":"2","activate_review":"1","primary_text_color":"#39332e","secondary_text_color":"#bcbcbc","box_background_color":"#ffffff","card_background_color":"#ffffff","average_rating_color":"#ffb303","is_show_average_rating":"1","advanced_sort":"1","is_show_star_arrangement":"1","review_button_color":"#39332e","write_review_format":"basic","is_show_review_images":"1","rating_star_color":"#ffb303","is_show_rating_star":"1","verify_color":"#00c35c","is_show_verify":"1","reaction_color":"#ff881b","is_only_show_positive":"0","load_more":"3","number_page":"8","sort":"2","mobile_column":"48","is_show_code_css":"1","theme_apply":"8","font":"2","average_rating_shape":"Square","star_arrangement":"Vertical","review_button_shape":"Square","rating_star_icon":"\\e61a&\\e653","customer_avatar_shape":"Round","is_show_customer_avatar":"1","country_flag_shape":"Rectangle","is_show_country":"1","customer_name_format":"fl_fl","reaction_style":"\\e65b&\\e65c","is_show_reaction":"1","date_format":"d\/m\/Y","is_show_date":"1","content_align":"Left","code_css":"","is_show_submit_title":"1","min_title_text":"20","min_review_text":"20","submit_button_shape":"Square","submit_button_color":"#ffffff","rating_star_position":"0","rating_star_shadow":"2px 2px 2px 2px rgba(0,0,0,.06)","more_button_color":"#000000","border_shape":"Square","border_shadow":"2px 2px 2px 2px rgba(0,0,0,.06)","is_show_rating_border":"0","rating_border_shape":"Round","rating_border_color":"#000000","is_show_boder":"0","boder_color":"#000000","is_show_rating_star_shadow":"1","is_show_border_shadow":"1","grid_style":"1","list_style":"1","write_review_btn_round_size":"4","is_show_write_review_btn_shadow":"1","write_review_btn_shadow_size":"4px 4px 6px 4px rgba(0,0,0,.06)","is_show_write_review_btn_border":"0","write_review_btn_border_color":"#000000","rating_layout_round_size":"4","border_round_size":"4","bar_background_color":"#F3F4F7"},"translate":{"singular":"review","plural":"reviews","rating_title":"Customer reviews","first_no_review_desc":"Be the first to review this product","rating_singular_desc":"Based on {reviews} reviews","rating_plural_desc":"Based on {reviews} reviews","write_button":"Write A Review","thanks_title":"Thank you!","thanks_content":"Thank you for your time and interest in providing us feedback.","your_rating":"Your rating","your_name":"Your name","your_name_notice":"This field is required","your_email":"Your email","your_email_notice":"Invalid email format","your_feedback":"Your feedback ","your_feedback_enter_note":"Enter your feedback here","your_feedback_notice":"This field is required","add_photo":"Add Photo","submit_write_button":"Submit Review","cancel":"Cancel","by_date":"By date","by_rating":"By rating","by_content":"By content","by_photo":"By photo","show_more":"Show more","verified_buyer":"Verified buyer","your_title":"Your Title","your_title_notice":"This field is required"}}; if (window.SuperDisplayConfig) { var sdsConfig = window.SuperDisplayConfig; // console.log(sdsConfig, sdsConfig.settings.is_show_submit_title) if (sdsConfig) { $('.super-translate-email').html(sdsConfig.translate.your_email) $('.super-translate-name').html(sdsConfig.translate.your_name) $('.super-translate-title').html(sdsConfig.translate.your_title) $('.super-translate-review').html(sdsConfig.translate.your_feedback); if (sdsConfig.settings.is_show_submit_title == '0') { $('.TitleofReview').hide(); } } } var ssid = getUrlQueryString('ssid') var et_id = getUrlQueryString('et_id') var logs_id = getUrlQueryString('logs_id') var order_name = getUrlQueryString('order_name') var product_id = getUrlQueryString('product_id') var review_id = getUrlQueryString('review_id') var productRating = 0 var user_name = '' var user_email = '' console.log(ssid, product_id); $('.super-email-load-wrap').show(); var orderPdtObj = { spid: ssid, order_name: order_name, product_id: product_id, reviewer_email: review_id }; $.ajax({ type : "POST", contentType: "application/json;charset=UTF-8", url : "https://dr.supersds.com/user/order_product", data : JSON.stringify(orderPdtObj), success : function(result) { result = JSON.parse(result); console.log(result); if (result.status == 'success') { $('.super-email-load-wrap').hide(); productRating = result.data.review_average_rating var rating = result.data.review_average_rating - 1 // console.log(rating) $('.rating-star').removeClass('is--active'); $('#product-rating-value').val(result.data.review_average_rating) var i = 0; $.each($('.rating-stars-container').children('.rating-star'), function(index, element) { // console.log(index, element) if (i { if (item === '1') { share_type_html =`

    ` } else if (item === '2') { share_type_html =`

    ` } else if (item === '3') { share_type_html =`

    ` } share_type_html = share_type_html.replace('{{face_book_email_share}}', email_template_list.face_book_email_share) share_type_html = share_type_html.replace('{{twitter_email_share}}', email_template_list.twitter_email_share) share_type_html = share_type_html.replace('{{pinterest_email_share}}', email_template_list.pinterest_email_share) email_share_html += share_type_html }) // console.log(email_share_html) $('.footer-share-icon-wrap').html(email_share_html); } }, error : function(e){ console.log(e); // console.log(e.responseText); }, complete(XMLHttpRequest,status){ if(status=='timeout'){ // console.log('timeout'); } } }); $(document).on("click", "#sdsSubmitImgBtn", function() { var userDataImg = $('.usreUpdateImgs').attr('data-img'); console.log(userDataImg); var updateImgArr = [] if (userDataImg == '') { updateImgArr = [] } else { updateImgArr = $('.usreUpdateImgs').attr('data-img').split(","); } // console.log(updateImgArr); if (updateImgArr.length { $('.super-email-notification-wrap').removeClass('visible').addClass('hidden'); }, 4000); return false; } $('.super-email-load-wrap').show(); var list = { spid: ssid, order_id: order_name, product_id: product_id, review_id: review_id, rating: productRating, reviewer_name: user_name, reviewer_email: user_email, default_image: updateImgArr[0] !== undefined ? updateImgArr[0] : '', picture_urls1: updateImgArr[0] !== undefined ? updateImgArr[0] : '', picture_urls2: updateImgArr[1] !== undefined ? updateImgArr[1] : '', picture_urls3: updateImgArr[2] !== undefined ? updateImgArr[2] : '', picture_urls4: updateImgArr[3] !== undefined ? updateImgArr[3] : '', picture_urls5: updateImgArr[4] !== undefined ? updateImgArr[4] : '', }; console.log(list); // $('.sds-button-loading').show(); $.ajax({ type : "POST", contentType: "application/json;charset=UTF-8", url : "https://dr.supersds.com/user/push_img_review", data : JSON.stringify(list), success : function(result) { // console.log(result); var resultData = JSON.parse(result); console.log(resultData); $('.super-email-load-wrap').hide(); $('.super-email-notification-wrap .super-email-notification-title').html(resultData.message); $('.super-email-notification-wrap').removeClass('hidden').addClass('visible'); setTimeout(() => { $('.super-email-notification-wrap').removeClass('visible').addClass('hidden'); }, 4000); if (resultData.status == 'success') { localStorage.setItem('reviewPostSuccess', JSON.stringify(resultData)); setTimeout(() => { // window.open('thank-you-review'); window.open('thank-you-review', '_self'); }, 500); } }, error : function(e){ console.log(e); // $('.sds-button-loading').hide(); $('.super-email-load-wrap').hide(); // console.log(e.responseText); }, complete(XMLHttpRequest,status){ // $('.sds-button-loading').hide(); if(status=='timeout'){ // console.log('timeout'); } } }); }); });