rumunit.pages.dev




Fusco shop on line

`; var csp_badge_icon = `none`; var csp_badge_icon_html = ``; var csp_badge_template = "default_temp"; {08/03/}`;default_translation["csp_button_label"]=`COMING SOON`;default_translation["col-csp-badge"] = `COMING SOON`; if((cspTranslationData == '' || cspTranslationData == null || cspTranslationData == undefined || !y(cspTranslationData)) && (cspLanguageCode == '' || cspLanguageCode == null || cspLanguageCode == undefined || !y(cspLanguageCode))){ cspTranslationData = []; cspLanguageCode =[]; }else{ cspLanguageCode= (","); } (default_translation); ('default'); function getLanguageDetails(langCode) { const langDetails = (lang => ge === langCode); return langDetails ? ='' && save_customer == '1'){gdpr_msg_show = '';} var gdpr_newuser = gdpr_msg_show; var isTimeZoneFetch = false; var autoNotifyArr = []; var csp_badge_bg_color = `linear-gradient(to right, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 0%)`; if (typeof csp_additional_field == 'undefined') {var csp_additional_field = ``;} else {var csp_additional_field = csp_additional_field;} if(typeof(serverPath) == "undefined"){var serverPath = '';} var timer_template_option = ``; if(timer_template_option == "" || timer_template_option == " "){timer_template_option = "default";} if(show_datetime_collection != "use_timer_template"){coll_timer_template_option = '';} let sb_hide_css = ``; if( <= 0){ {sb_hide_css += `.sb-collection-csp-label{display: none}`;} } if( <= 0){sb_hide_css += `.csp-prod-wrapper-detailpage{ display: none }`;} if( <= 0 && csp_badge_template == 'temp_none' ){sb_hide_css += `.collection-coming-soon-label,.sb-collection-csp-label{ content: none }`;} var titleClassesInForm = '.sb-coming-soon-title,.product-meta__title,.product-meta,.product__title,.gt_heading,.product-title,h1[data-pf-type="ProductTitle"],.product-page--heading,.product-name,.title,.product-single__title,.product-sku,h2[id="popup_cart_title"],.flash-deal,.product-form__variants'; if(typeof() !== "undefined") {var originalThemeName = ame;}else{var originalThemeName = ; } function filterConvertArray(arr){ var processArray = e(/(\r\n|\n|\r)/gm, ""); processArray = e(/ /g,''); processArray = (','); const arrResults = (element => { return element !== ""; }); return arrResults; } function CreateArrays(handle){ var NewArray = []; for (var i = 0, n = ; i < n; i++) { var device = handle[i]; (); } return NewArray; } var loadScript = function (url, callback) {var script = Element('script');tate) {ystatechange = function () {if (tate == 'loaded' || tate == 'complete') {ystatechange = null;callback();}};} else { = function () {callback();};} = url;mentsByTagName('head') [0].appendChild(script);}; if ((typeof jQuery === 'undefined') || (parseFloat() < )) { loadScript('//', function () { jQuery = lict(true); SB$ = jQuery; get_timezone(jQuery); }); } else { SB$ = jQuery; get_timezone(jQuery); } if((sb_csp_shop == "" || sb_csp_shop == "") && payment_plan_name == "coming_soon_special"){ if(sb_repload_script === "undefined"){sb_repload_script = "v1";} (function() { var script = Element('script'); = ''+sb_csp_shop+'/?'+sb_repload_script; = function() { }; (csp_custom_css);$("body").append(csp_custom_js);$('body').append(cspBadgeFont); $("body").append(``); if(csp_badge_template == "temp4"){$('.media, .card__media').css({"overflow":"unset"});} AjaxURL = 'https://' + + '/products/' + curr_hundle_detailpge + '.json'; var request = $.ajax({ url: AjaxURL, type: "GET", dataType: "json", }); (function (productdata) { var myJSON = ify(productdata); productdata = (myJSON); Create_form_fields(productdata); }); (function (productdata) {}); var Create_form_fields = (productdata) => { $(".csp_variants").html(""); var options = s; for (let i = 0; i < ; i++) { var varianName = options[i].name; var varianValuesArray = options[i].values; select_id = varianName; select_id = e("(", ""); select_id = e(")", ""); select_id = e(/\s/g, ""); select_id = e(/\//g, ""); select_id = e(/&/g, "and"); select_id = e(/:/g, ""); select_id = e(/-/g, ""); select_id = e(/=/g, ""); var variant_class = "cfp_var" + i; if (varianName == "Title") {continue;} Select_keyword_placeholder = "Select"; if ( == "") { Select_keyword_placeholder = ""; } SelectDiv = ``; //created dynamic select option $('.csp_variants').prepend(SelectDiv); var options_html = h(Create_selectmenu); function Create_selectmenu(item) { var options = ''; $('#' + select_id).append(options); }}} checkForCollectionPage(); checkForProductPage(); function lookup( id, devices) { for (var i = 0, n = ; i < n; i++) { var device = devices[i]; if ( parseInt(id) == parseInt() ) {return device;}} return false; } // CSP detailpage Form function checkForCollectionPage(){ $("a").each(function(index) { var specificMatchAutoRemove = ''; var curr_this = $(this); var curr_href = ("href"); var imgg = $(curr_this).closest('div').find('img').first(); if(typeof curr_href !== 'undefined'){ if(typeof($(this).parent().attr('class')) !== "undefined"){var parent_class_att = $(this).parent().attr('class');}else{var parent_class_att = '';} if(f("products/") >= 1 && $( this ).parent().get( 0 ).tagName != 'LI' && !$(this).parent().hasClass('sbDoNot_add_csp') && !es("breadcrumbs")&& checkNotAddBadge($(this))){ curr_href = ("?")[0]; fetch(curr_href + ".json", { credentials: "same-origin" }).then(function(data) { ().then(function(data) { var get_product = t; var csp_product_on = false; var prod_id = ng(); var match_type = ''; var a_index = index; //check specific products if(es(ng())){ csp_product_on=true; match_procol_id = ng(); match_type = 'products'; } if (f('/products/') == -1) { //check for collection if(csp_product_on != true){ for (collection_ID of cspcolIDSresults) { if(e(/ /g,'')==e(/ /g,'')) { csp_product_on=true; match_procol_id = e(/ /g,''); match_type = 'collections'; }}}} // check products in collections if(csp_product_on != true) { $.each(sb_csp_ProIDsCollectionsTest,function(key, value){ if(es(ng())){ var colid = ('_')[0] csp_product_on=true; match_procol_id = colid; match_type = 'collections'; }})} //check all products if(sb_csp_is_all_products == "1" && csp_product_on != true) { csp_product_on=true;} var collection_id_liquid = $(curr_this).attr('collection-id'); if(typeof collection_id_liquid != 'undefined'){ collection_id_liquid = filterConvertArray(collection_id_liquid) if(csp_product_on != true){ for (collection_ID of cspcolIDSresults) { if($.inArray(e(/ /g,''), collection_id_liquid) != -1) { csp_product_on=true; match_procol_id = e(/ /g,''); match_type = 'collections'; }}}} var todayDate=new Date(store_real_time); var show_csp_form = true; if(available_date_for_all_products != null && show_available_date =='1' && todayDate >= new Date(available_date_for_all_products) && auto_mode == '1'){show_csp_form=false;} if(show_datetime_collection == "datetimer"){var col_msg = '{date}';col_msg += 'countdown_timer';}else if(show_datetime_collection == "timer" || (show_datetime_collection == "use_timer_template" && coll_timer_template_option == 'coll_timer_template_1' || coll_timer_template_option == 'coll_timer_template_2' || coll_timer_template_option == 'coll_timer_template_3' || coll_timer_template_option == 'coll_timer_template_4'|| coll_timer_template_option == 'coll_timer_template_5' || coll_timer_template_option == 'coll_timer_template_6')){var col_msg = 'countdown_timer';} else if(show_datetime_collection == 'date'){var col_msg = '{date}';} else{var col_msg = '';} var show_available_date_content = ''; if(col_msg != '' && show_available_date == '1' && available_date_for_all_products != null && available_date_for_all_products != '' ){specificMatchAutoRemove = 'all';} //check for specific date var returnval = ''; var is_auto_notify = ''; if(match_type != '' && match_procol_id != '' && sb_csp_is_all_products != "1" ){ returnval = lookup(match_procol_id , csp_product_collection_Data[match_type]) try{ _date = eAll('-','/'); //safari issue solve }catch(e){ } var old_auto_mode = 'No'; try{old_auto_mode = _date_show;}catch(e){} try{ is_auto_notify = _notify; }catch(e){} if(todayDate <= new Date(_date) && _date != null && _date != ''){ show_csp_form = true; } if((auto_mode == '1' || old_auto_mode == 'Yes') && todayDate >= new Date(_date) && _date != null && _date != ''){ show_csp_form = false; checkAutoNofify(prod_id,match_type,match_procol_id,is_auto_notify); } if(available_date_for_all_products != null && show_available_date =='1' && todayDate >= new Date(available_date_for_all_products) && auto_mode == '1' && (_date == null || _date == '')){ checkAutoNofify(prod_id,match_type,match_procol_id,is_auto_notify); } //specific message checking if(col_msg != '' && _date != null ){ specificMatchAutoRemove = 'specific'; var new_msg = addCountDownTimerCollection($,col_msg,_date,'not_default',prod_id,a_index,match_type,match_procol_id,is_auto_notify) convertedDate = apply_date_formate($,date_format,_date); responseMessage = getShortCodeFromMessage($,new_msg,convertedDate); var show_available_date_content = ''+responseMessage+' '; }} if(specificMatchAutoRemove == 'specific'){ }else if(specificMatchAutoRemove == 'all'){ if(sb_csp_is_all_products == '1'){match_type='all';} var new_msg = addCountDownTimerCollection($,col_msg,available_date_for_all_products,'default',prod_id,a_index,match_type,match_procol_id,is_auto_notify) convertedDate = apply_date_formate($,date_format,available_date_for_all_products); responseMessage = getShortCodeFromMessage($,new_msg,convertedDate); var show_available_date_content = ''+responseMessage+''; } // remove duplicate timer if($(".show_available_date."+prod_id).length > 0 && typeof(donot_remove_duplicate_timer) == "undefined" ){$(".show_available_date."+prod_id).remove();} $('_csp_lbl_temp8, .coll_csp_lbl_temp7').parent().addBack().parent().css("overflow", "hidden"); $('_csp_lbl_temp15, .coll_csp_lbl_temp18').parent().addBack().parent().css("overflow", "inherit"); var cspCollectionLabelHtml = ``; if(csp_badge_icon != "" && csp_badge_icon != "none" && csp_badge_template != 'temp10' && csp_badge_template != 'temp11' && csp_badge_template != 'temp12' && csp_badge_template != 'temp18' && csp_badge_template != 'temp19'){ cspCollectionLabelHtml += ''+csp_badge_icon_html+''; } if(csp_badge_template == 'temp12'){ cspCollectionLabelHtml += ''; }else if(csp_badge_template == 'temp10'){ var cspBadge10Content = "";for (var i = 0; i < 35; i++) {cspBadge10Content += "

" + csp_badge_lbl + "

";}cspCollectionLabelHtml += "" + cspBadge10Content + ""; }else if(csp_badge_template == 'temp20'){ cspCollectionLabelHtml += "" + csp_badge_lbl + ""; }else{ cspCollectionLabelHtml += "" + csp_badge_lbl+" 0 || $(curr_this).find('.sb-coming-soon-label').length > 0){ checkCSPBadgeVisibility($(curr_this).find('img').first().parent(),cspCollectionLabelHtml,prod_id,show_available_date_content); }else if($(curr_this).closest('div').find('img').first().length > 0 || $(curr_this).closest('div').find('.sb-coming-soon-label').length > 0){ checkCSPBadgeVisibility($(curr_this).closest('div').find('img').first().parent(),cspCollectionLabelHtml,prod_id,show_available_date_content); }else if($(curr_this).closest('div').parent().find('img').first().length > 0 || $(curr_this).closest('div').parent().find('.sb-coming-soon-label').length > 0 ){ checkCSPBadgeVisibility($(curr_this).closest('div').parent().find('img').first().parent(),cspCollectionLabelHtml,prod_id,show_available_date_content); }else if($(curr_this).closest('div').parent().parent().find('img').first().length > 0 || $(curr_this).closest('div').parent().parent().find('.sb-coming-soon-label').length > 0){ checkCSPBadgeVisibility($(curr_this).closest('div').parent().parent().find('img').first().parent(),cspCollectionLabelHtml,prod_id,show_available_date_content); }else if($(curr_this).closest('div').parent().parent().find('img').first().length > 0 || $(curr_this).closest('div').parent().parent().find('.sb-coming-soon-label').length > 0 ){ checkCSPBadgeVisibility($(curr_this).closest('div').parent().parent().parent().find('img').first().parent(),cspCollectionLabelHtml,prod_id,show_available_date_content); }else if($(curr_this).closest('div').parent().parent().parent().find('img').first().length > 0 || $(curr_this).closest('div').parent().parent().parent().find('.sb-coming-soon-label').length > 0){ checkCSPBadgeVisibility($(curr_this).closest('div').parent().parent().parent().find('img').first().parent(),cspCollectionLabelHtml,prod_id,show_available_date_content); }else if($(curr_this).closest('div').parent().parent().parent().parent().find('img').first().length > 0 || $(curr_this).closest('div').parent().parent().parent().parent().find('.sb-coming-soon-label').length > 0 ){ checkCSPBadgeVisibility($(curr_this).closest('div').parent().parent().parent().parent().find('img').first().parent(),cspCollectionLabelHtml,prod_id,show_available_date_content); }else if($(curr_this).closest('div').parent().parent().parent().parent().parent().find('img').first().length > 0 || $(curr_this).closest('div').parent().parent().parent().parent().parent().find('.sb-coming-soon-label').length > 0 ){ checkCSPBadgeVisibility($(curr_this).closest('div').parent().parent().parent().parent().parent().find('img').first().parent(),cspCollectionLabelHtml,prod_id,show_available_date_content); } hidePriceOnAllPages(curr_this,prod_id); if(!(typeof(dpnotHideCartForm) !== "undefined")){hideAddToCartOnCollection(curr_this,prod_id);} }else{ // for old store migration $(".csp-prod-wrapper."+).addClass('sb_hide_add_to_cart'); $(".csp-prod-wrapper."+).remove(); } if(available_date_for_all_products != null && show_available_date =='1' && todayDate >= new Date(available_date_for_all_products) && auto_mode == '1' && sb_csp_is_all_products == '1'){ checkAutoNofify(prod_id,match_type,match_procol_id,is_auto_notify); }})})};}}) } function checkCSPBadgeVisibility(img_elem,cspCollectionLabelHtml,prod_id,show_available_date_content){ if((':visible')){ ().find("."+cspCollectionLabelClass+"."+prod_id).remove(); // new (cspCollectionLabelHtml); //new (show_available_date_content); }else if(().is(':visible')){ ().parent().find("."+cspCollectionLabelClass+"."+prod_id).remove(); //new ().after(cspCollectionLabelHtml); //new ().after(show_available_date_content); }} function checkNotAddBadge(curre_elem){ var return_val = true; if(('class') !== "undefined"){var curr_elm_class= ('class');}else{var curr_elm_class= '';} if(().hasClass('pl-swatches__container') && originalThemeName =="Prestige"){ return_val=false; } if(originalThemeName == "Kalles" && curr_elm_class?.includes('mini_cart')){ return_val=false; } return return_val; } function hideAddToCartOnCollection(curr_this,prod_id) { var hideCartBuuton = 'form[action*="/cart/add"],.quick-view,.t4s-pr-quickview,.t4s-pr-addtocart,.add-to-cart,.quick-view-btn,.boost-pfs-quickview-btn,.quick-add,.product-form__quantity,.quickbuy-toggle,product-to-cart,.m-product-quickview-button,.tt-btn-quickview,.quickShop,.woodmart-buttons,.product-buttons,.product-cta,.product-cta-upright,.quickview-icon,.btn-quickview,.productitem--actions,.add_to_cart_button,.sold-out-badge,.sale-badge,.t4s-product-badge,.t4s-product-btns,.prod__tag--soldout,.badge--sold-out,.product-card__label,.product-cart-action,.card__badge,.grid-product__sold-out,.grid-product__on-sale,.badge--sale,.soldOut-badge,.product-quickview,.sold-out,.button-set,.group-button,.badge-list,.hover_button,.out-of-stock,.sf__pcard-quick-add,.sf__pcard-action,.card-quickview,.price__badge-sold-out,.label--out-stock'; if ((typeof (doNotHideaddtoCart) !== 'undefined')) { var hideCartBuuton = 'NOT-HIDE'; } var priceClass = titleClassesInForm; if ($(curr_this).find(hideCartBuuton).length > 0) { if ($(curr_this).children().find(hideCartBuuton).find(priceClass).length <= 0) { $(curr_this).find(hideCartBuuton).addClass('sb-csp-hideclass '+prod_id); } } else if ($(curr_this).closest('div').find(hideCartBuuton).length > 0) { if ($(curr_this).closest('div').find(hideCartBuuton).children().find(priceClass).length <= 0) { $(curr_this).closest('div').find(hideCartBuuton).addClass('sb-csp-hideclass '+prod_id); } } else if ($(curr_this).closest('div').parent().find(hideCartBuuton).length > 0) { if ($(curr_this).closest('div').parent().find(hideCartBuuton).children().find(priceClass).length <= 0) { $(curr_this).closest('div').parent().find(hideCartBuuton).addClass('sb-csp-hideclass '+prod_id); } } else if ($(curr_this).closest('div').parent().parent().find(hideCartBuuton).length > 0) { if ($(curr_this).closest('div').parent().parent().find(hideCartBuuton).children().find(priceClass).length <= 0) { $(curr_this).closest('div').parent().parent().find(hideCartBuuton).addClass('sb-csp-hideclass '+prod_id); } } else if ($(curr_this).closest('div').parent().parent().parent().find(hideCartBuuton).length > 0) { if ($(curr_this).closest('div').parent().parent().parent().find(hideCartBuuton).children().find(priceClass).length <= 0) { $(curr_this).closest('div').parent().parent().parent().find(hideCartBuuton).addClass('sb-csp-hideclass '+prod_id); } } else if ($(curr_this).closest('div').parent().parent().parent().find(hideCartBuuton).length > 0) { if ($(curr_this).closest('div').parent().parent().parent().find(hideCartBuuton).children().find(priceClass).length <= 0) { $(curr_this).closest('div').parent().parent().parent().find(hideCartBuuton).addClass('sb-csp-hideclass '+prod_id); } } else if ($(curr_this).closest('div').parent().parent().parent().parent().find(hideCartBuuton).length > 0) { if ($(curr_this).closest('div').parent().parent().parent().parent().find(hideCartBuuton).children().find(priceClass).length <= 0) { $(curr_this).closest('div').parent().parent().parent().parent().find(hideCartBuuton).addClass('sb-csp-hideclass '+prod_id); } } else if ($(curr_this).closest('div').parent().parent().parent().parent().parent().find(hideCartBuuton).length > 0) { if ($(curr_this).closest('div').parent().parent().parent().parent().parent().find(hideCartBuuton).children().find(priceClass).length <= 0) { $(curr_this).closest('div').parent().parent().parent().parent().parent().find(hideCartBuuton).addClass('sb-csp-hideclass '+prod_id); }}} function checkForProductPage(){ if (f('/products/') !== -1) { var sb_csp_current_collection_list_prodPage = filterConvertArray(csp_current_collection_list_prodPage); var csp_total_collection_list_prodPage = cspcolIDSresults; var prod_id = ng(); var csp_enabled = "no"; var specificMatchAutoRemove = ''; var a_index = $(".show_available_date_detail."+prod_id).length; //check all products if(sb_csp_is_all_products == "1" && csp_enabled != 'yes' ) { csp_enabled="yes";} //check specific products if(es(ng()) && csp_enabled != "yes"){ csp_enabled="yes"; match_procol_id = ng(); match_type = 'products'; } //check for collection ids if(csp_enabled != 'yes'){ for (collection_name of csp_total_collection_list_prodPage) { for (current_collection of sb_csp_current_collection_list_prodPage) { if( >= 2 && >= 2) { if(e(/ /g,'')==e(/ /g,'')) { csp_enabled="yes"; match_procol_id = e(/ /g,'') match_type = 'collections'; }}}}} var todayDate=new Date(store_real_time); var show_csp_form = true; if(available_date_for_all_products != null && show_available_date =='1' && todayDate >= new Date(available_date_for_all_products) && auto_mode == '1'){show_csp_form=false;} var show_available_date_contentdetail = ''; if(show_available_date == '1' && show_available_date_msg == '1' && available_date_for_all_products != null && available_date_for_all_products != ''){ if(available_date_msg != null){specificMatchAutoRemove = 'all';} } //check for specific date var returnval = ''; var is_auto_notify = ''; if(match_type != '' && match_procol_id != '' && sb_csp_is_all_products != "1" ){ returnval = lookup(match_procol_id , csp_product_collection_Data[match_type]) try{ _date = eAll('-','/'); //safari usse solve }catch(e){} try{ is_auto_notify = _notify }catch(e){} var old_auto_mode = 'No'; try{old_auto_mode = _date_show;}catch(e){} if(todayDate <= new Date(_date) && _date != null && _date != ''){show_csp_form = true;} if((auto_mode == '1' || old_auto_mode == 'Yes' ) && todayDate >= new Date(_date) && _date != null && _date != ''){ show_csp_form = false; checkAutoNofify(prod_id,match_type,match_procol_id,is_auto_notify); } if(available_date_for_all_products != null && show_available_date =='1' && todayDate >= new Date(available_date_for_all_products) && auto_mode == '1' && (_date == null || _date == '')){ checkAutoNofify(prod_id,match_type,match_procol_id,is_auto_notify); } //specific message checking if(show_available_date_msg == '1' && _date != null && available_date_msg != null){ specificMatchAutoRemove = 'specific'; var new_msg = addCountDownTimer($,available_date_msg,_date,'not_default',prod_id,a_index,match_type,match_procol_id,is_auto_notify); convertedDate = apply_date_formate($,date_format,_date); new_msg = e('{time}',formatAMPM(new Date(_date))); responseMessage = getShortCodeFromMessage($,new_msg,convertedDate); show_available_date_contentdetail = '

'+responseMessage+'

'; } } if(specificMatchAutoRemove == 'specific'){ }else if(specificMatchAutoRemove == 'all'){ if(sb_csp_is_all_products == '1'){match_type='all';} var new_msg = addCountDownTimer($,available_date_msg,available_date_for_all_products,'default',prod_id,a_index,match_type,match_procol_id,is_auto_notify); convertedDate = apply_date_formate($,date_format,available_date_for_all_products); new_msg = e('{time}',''+formatAMPM(new Date(available_date_for_all_products))+''); responseMessage = getShortCodeFromMessage($,new_msg,convertedDate); show_available_date_contentdetail = '

'+responseMessage+'

'; } if(csp_enabled=="yes" && show_csp_form){ if($(".csp-sb-timer").length > 0){ $(".csp-sb-timer").html(''); $(".csp-sb-timer").append(show_available_date_contentdetail); show_available_date_contentdetail =''; } if(form_button_display_option == 'show_csp_button'){ var addtocspbutton = '

'+''+'

'+show_available_date_contentdetail+'

'; }else{ var name_form_field = phone_form_field = email_form_field = variants_form_field= ''; if(show_name_filed != "" && show_name_filed != "0"){ name_required = '' if(name_filed_reuired == '1'){name_required = 'required';} name_form_field =''; } if(show_phone_filed != "" && show_phone_filed != "0"){ phone_required = '' if(phone_filed_reuired == '1'){phone_required = 'required';} phone_form_field =''; } if(show_email_filed == "" || show_email_filed == "1"){ email_required = '' if(email_filed_reuired == '1' || show_email_filed == ""){email_required = 'required';} email_form_field = ''; } if(show_variants_filed == "" || show_variants_filed == "1"){ if(variants_filed_reuired == '1'){variants_filed_reuired = 'required';} variants_form_field = '' } var addtocspbutton = '