Danke Bewertung

Gutscheincode

Message!

` $('body').append(notification_html); // 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) if (sdsConfig) { $('.super_thanks_title').html(sdsConfig.translate.thanks_title) $('.super_thanks_content').html(sdsConfig.translate.thanks_content) } } // super_thanks_content var reviewPostData = localStorage.getItem('reviewPostSuccess'); var reviewPostDatas = JSON.parse(reviewPostData); console.log(reviewPostDatas); if (reviewPostDatas != null) { if (reviewPostDatas.data.coupon != 'this order is get coupon' && reviewPostDatas.data.coupon != null) { $("#super-sample-code-val").val(reviewPostDatas.data.coupon); $('#super-sample-code-text').html(reviewPostDatas.data.coupon); } else { // $('#super-sample-code-text').html('Failed to obtain coupon'); // $('.super-code-copy-icon').hide(); $('.sample-code-wrap').hide(); } } else { $('.sample-code-wrap').hide(); } var reviewVarData = localStorage.getItem('reviewVarData'); var reviewVarDatas = JSON.parse(reviewVarData) if (reviewVarData != null) { var logs_list = reviewVarDatas.data.logs_list var email_template_list = reviewVarDatas.data.email_template_list console.log(email_template_list) console.log(logs_list) $('.email-logo-wrap img').attr('src', email_template_list.shop_logo_url) $('.email_banner img').attr('src', email_template_list.email_banner) var email_footer = email_template_list.email_footer email_footer = email_footer.replace(/{{customer.city}}/g, logs_list.customer_city); email_footer = email_footer.replace(/{{customer.country}}/g, logs_list.customer_country); email_footer = email_footer.replace(/{{customer.email}}/g, logs_list.customer_email); email_footer = email_footer.replace(/{{customer.first_name}}/g, logs_list.customer_first_name); email_footer = email_footer.replace(/{{customer.full_name}}/g, logs_list.customer_full_name); email_footer = email_footer.replace(/{{customer.last_name}}/g, logs_list.customer_last_name); email_footer = email_footer.replace(/{{customer.state}}/g, logs_list.customer_state); email_footer = email_footer.replace(/{{shop.name}}/g, logs_list.shop_name); email_footer = email_footer.replace(/{{shop.url}}/g, logs_list.shop_url); email_footer = email_footer.replace(/{{tools.unsubscribe}}/g, logs_list.unsubscribe); email_footer = email_footer.replace(/{{unsubscribe}}/g, 'Unsubscribe'); $('.email_footer').html(email_footer); var email_share_type = email_template_list.email_share_type // console.log(email_share_type) let email_share_html = `` let share_type_html = `` email_share_type.forEach((item, index, arr) => { 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); } $(document).on("click", ".super-code-copy-icon", function(){ $("#super-sample-code-val").select(); document.execCommand("Copy"); $('.super-email-notification-wrap .super-email-notification-title').html('Copy successfully.'); $('.super-email-notification-wrap').removeClass('hidden').addClass('visible'); setTimeout(() => { $('.super-email-notification-wrap').removeClass('visible').addClass('hidden'); }, 4000); }) });