Webseite:Eka-Bazaar 2F6glichkeit 2F6glichkeit F6glichkeit F6glichkeit HomeInhalt
Eka-Bazaar-Eka-Bazaar:root{--main-color-one:rgb(248,58,38);--main-color-two:rgb(255,186,0);--main-color-three:rgb(255,106,58);--main-color-four:rgb(255,105,92);--secondary-color:#F7A3A8;--secondary-color-two:#ffdcd2;--feedback-bg-item:rgb(27,28,37);--section-bg-1:#FFFBFB;--section-bg-2:#FFF6EE;--section-bg-3:#F4F8FB;--section-bg-4:#F2F3FB;--section-bg-5:#F9F5F2;--section-bg-6:#E5EFF8;--breadcrumb-bg:#E5EFF8;--heading-color:#;--body-color:#;--light-color:#;--extra-light-color:rgb(153,153,153);--review-color:#FABE50;--new-color:#5AB27E;--heading-font:"SourceSansPro",serif;--body-font:"SourceSansPro",sans-serif;} Home AboutUs CATEGORIES li.menu-item-has-children.d-block.d-sm-none.back.mt-3{text-align:center;}li.menu-item-has-children.d-block.d-sm-none.back.mt-3>a::after{display:none!important;}li.menu-item-has-children.d-block.d-sm-none.back.mt-3ula{display:flex!important;align-items:center;}li.menu-item-has-children.d-block.d-sm-none.back.mt-3ulimg{display:block;height:26px;width:26px;min-width:26px;border-radius:50%;}li.menu-item-has-children.d-block.d-sm-none.back.mt-3ulspan{display:block;margin-left:10px;margin-right:10px;}English(UK)Türkçe0NoIteminWishlist0NoIteminWishlist.d-flex.align-items-start.mb-8.metainfo-inner-wrap{margin-top:30px;}.nbar-link,a.nbar-item{cursor:pointer;}.nbar-item,.nbar-link{color:#4a4a4a;display:block;line-height:1.5;padding:.5rem.75rem;position:relative;}.nbar-item{flex-grow:0;flex-shrink:0;}a{color:inherit;cursor:pointer;text-decoration:none;}.lang-dropdown.nbar-dropdown{}.lang-dropdown.nbar-dropdown.nbar-item{display:flex;align-items:center;}.lang-dropdown.nbar-dropdown.nbar-itemimg{display:block;height:26px;width:26px;min-width:26px;border-radius:50%;}.lang-dropdown.nbar-dropdown.nbar-itemspan{display:block;margin-left:10px;margin-right:10px;}.list{background-color:inherit;border-radius:inherit;box-shadow:inherit;}.loader{display:none;z-index:;}.block:not(:last-child),.box:not(:last-child),.breadcrumb:not(:last-child),.content:not(:last-child),.highlight:not(:last-child),.level:not(:last-child),.list:not(:last-child),.messe:not(:last-child),.notification:not(:last-child),.pination:not(:last-child),.progress:not(:last-child),.subtitle:not(:last-child),.table-container:not(:last-child),.table:not(:last-child),.tabs:not(:last-child),.title:not(:last-child){margin-bottom:inherit;}.button.is-loading::after,.control.is-loading::after,.loader,.select.is-loading::after{animation:inherit;}.nbar-item.has-dropdown{padding:0;}.nbar-dropdown{font-size:.875rem;padding-bottom:.5rem;padding-top:.5rem;}.nbar-link,a.nbar-item{cursor:pointer;}@mediascreenand(min-width:1024px){.nbar-item,.nbar-link{align-items:center;display:flex;}.nbar-item{display:flex;}.nbar-item.has-dropdown{align-items:stretch;}.nbar-dropdown.is-right{left:auto;right:0;}.nbar-dropdown.is-boxed,.nbar.is-spaced.nbar-dropdown{border-radius:6px;border-top:none;box-shadow:08px8pxrgba(10,10,10,.1),0001pxrgba(10,10,10,.1);display:block;opacity:0;pointer-events:none;top:calc(100%+(-4px));transform:translateY(-5px);transition-duration:86ms;transition-property:opacity,transform;}.nbar-dropdown{background-color:#fff;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:2pxsolid#dbdbdb;box-shadow:08px8pxrgba(10,10,10,.1);display:none;font-size:.875rem;left:0;min-width:100%;position:absolute;top:100%;z-index:20;}.nbar-dropdowna.nbar-item{padding-right:3rem;}.nbar-dropdown.nbar-item{padding:.375rem1rem;white-space:nowrap;}.nbar-item.has-dropdown.is-active.nbar-link,.nbar-item.has-dropdown:focus.nbar-link,.nbar-item.has-dropdown:hover.nbar-link{background-color:#fafafa;}.nbar-item.is-active.nbar-dropdown,.nbar-item.is-hoverable:focus.nbar-dropdown,.nbar-item.is-hoverable:focus-within.nbar-dropdown,.nbar-item.is-hoverable:hover.nbar-dropdown{display:block;}.nbar-item.is-active.nbar-dropdown.is-boxed,.nbar-item.is-hoverable:focus.nbar-dropdown.is-boxed,.nbar-item.is-hoverable:focus-within.nbar-dropdown.is-boxed,.nbar-item.is-hoverable:hover.nbar-dropdown.is-boxed,.nbar.is-spaced.nbar-item.is-active.nbar-dropdown,.nbar.is-spaced.nbar-item.is-hoverable:focus.nbar-dropdown,.nbar.is-spaced.nbar-item.is-hoverable:focus-within.nbar-dropdown,.nbar.is-spaced.nbar-item.is-hoverable:hover.nbar-dropdown{opacity:1;pointer-events:auto;transform:translateY(0);}}English(UK)TürkçeSignInSignUpSearchNowProductSuggestionsHomeBestFashionEka-Bazaar 2F6glichkeit 2F6glichkeit F6glichkeit F6glichkeit HomeAndBestPriceBestFashionAndBestPriceBuyNow2024/2025WINTERCOLLECTIONWaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,AquaGreenAddtoCart$69.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,KhakiAddtoCart$69.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,NyblueAddtoCart$69.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,RedAddtoCart$69.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,GrayAddtoCart$69.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,BeigeAddtoCart$69.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,AquaGreenAddtoCart$69.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,GreyAddtoCart$69.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,BeigeAddtoCart$69.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,KhakiAddtoCart$69.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,BlackAddtoCart$69.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,RedAddtoCart$69.00NewWinterSeasonCollection$69.00BuyNow2024/2025WINTERSEASONAllRETAILCLOTHINGSALESWaterproofMen&'sJacketNyBlueAddtoCart$59.00WaterproofMen&'sJacketBeigeAddtoCart$59.00WaterproofMen&'sJacketBlackAddtoCart$59.00WaterproofMen&'sJacketBrownAddtoCart$59.00WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,KhakiAddtoCart$69.90WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,NyBlueAddtoCart$69.90WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,BlackAddtoCart$69.90WaterandColdProofMen&'sCoat,ModernandStylish,NewSeason,RedAddtoCart$69.90Contact+905364060518FollowMe BestSellerBooks SpecialOffer©2024AllRightReservedbyEka-BazaarCartCompareWishlistLoginletsite_currency_symbol='$';$('.theme-one-footer.col-lg-3').removeClass('col-lg-3').addClass('col-lg-4');$('.theme-two-footer.col-lg-3').removeClass('col-lg-3').addClass('col-lg-4');$('.theme-aromatic-footer.col-lg-3').removeClass('col-lg-3').addClass('col-lg-4');$('.theme-electro-footer.footer-top-contents.col-lg-3').removeClass('col-lg-3').addClass('col-lg-4');$(document).on('click','.newsletter-submit-btn',function(e){e.preventDefault();varemail=$('.footer-widgetinput.email').val();varerrrContaner=$(this).parent().parent().find('.form-messe-show');errrContaner.html('');varel=$(this);$.ajax({url:"eka-bazaar.com/subscribe-newsletter",type:"POST",data:{_token:"JGVAEa5TTAcX5K8qPETCO48cqY2oaPshtKyL675x",email:email},beforeSend:function(){$('.loader').show();el.text('Submiting..');el.attr('disabled',true);},success:function(data){$('.loader').hide();$('.email').val('');el.text('Subscribe');el.attr('disabled',false);errrContaner.html(''+data.msg+'');},error:function(data){$('.loader').hide();el.text('Subscribe');el.attr('disabled',false);varerrors=data.responseJSON.errors;errrContaner.html(''+errors.email[0]+'');}});});$(document).on('submit','.custom-form-builder-land',function(e){e.preventDefault();varbtn=$('#contact_form_btn');varform=$(this);varformID=form.attr('id');varmsgContainer=form.find('.error-messe');varformSelector=document.getElementById(formID);varformData=newFormData(formSelector);msgContainer.html('');$.ajax({url:"eka-bazaar.com/tenant/submit-custom-form",type:"POST",headers:{'X-CSRF-TOKEN':"JGVAEa5TTAcX5K8qPETCO48cqY2oaPshtKyL675x",},beforeSend:function(){btn.html('Submitting..');},processData:false,contentType:false,data:formData,success:function(data){form.find('.ajax-loading-wrap').removeClass('show').addClass('hide');msgContainer.html(''+data.msg+'');btn.text('SubmitMesse');form[0].reset();},error:function(data){form.find('.ajax-loading-wrap').removeClass('show').addClass('hide');varerrors=data.responseJSON.errors;varmarkup='';$.each(errors,function(index,value){markup+=''+value+'';})markup+='';msgContainer.html(markup);btn.text('SubmitMesse');}});});(function($){"usestrict";$(document).ready(function(){$(document).on('click','.langue_dropdownulli',function(e){varel=$(this);el.parent().parent().find('.selected-langue').text(el.text());el.parent().removeClass('show');$.ajax({url:"eka-bazaar.com/lang-change",type:"GET",data:{'lang':el.data('value')},success:function(data){location.reload();}})});});}(jQuery));$(function(){$(document).ready(function(){$(document).on('click','.physical-explore-category-area.store-tabs.list',function(e){e.preventDefault();letel=$(this);lettab=el.data('tab');letlimit=el.data('limit');letallId=el.data('all-id');letsort_by=el.data('sort_by');letsort_to=el.data('sort_to');$.ajax({type:'GET',url:"eka-bazaar.com/category-wise-product/theme-bookpoint/physical",data:{category:tab,limit:limit,allId:allId,sort_by:sort_by,sort_to:sort_to},beforeSend:function(){$('.loader').fadeIn(200);},success:function(data){lettab=$('li.list[data-tab='+data.category+']');letmarkup_wrapper=$('.physical-explore-category-area.markup_wrapper');$('li.list').removeClass('active');tab.addClass('active');markup_wrapper.hide();markup_wrapper.html(data.markup);markup_wrapper.fadeIn();$('.loader').fadeOut(200);},error:function(data){console.log('error')}});});$(document).on('click','.digital-explore-category-area.store-tabs.list',function(e){e.preventDefault();letel=$(this);lettab=el.data('tab');letlimit=el.data('limit');letallId=el.data('all-id');letsort_by=el.data('sort_by');letsort_to=el.data('sort_to');$.ajax({type:'GET',url:"eka-bazaar.com/category-wise-product/theme-bookpoint",data:{category:tab,limit:limit,allId:allId,sort_by:sort_by,sort_to:sort_to},beforeSend:function(){$('.loader').fadeIn(200);},success:function(data){lettab=$('li.list[data-tab='+data.category+']');letmarkup_wrapper=$('.digital-explore-category-area.markup_wrapper');$('li.list').removeClass('active');tab.addClass('active');markup_wrapper.hide();markup_wrapper.html(data.markup);markup_wrapper.fadeIn();$('.loader').fadeOut(200);},error:function(data){console.log('error')}});});});});letimes=document.querySelectorAll(".blurred-img");imes.forEach(function(e,t){letimg=imes[t].querySelector('img');if(img.complete){e.classList.add("loaded")}else{//iftheimg.completeisnottruethenwaituntilimeloadedimg.addEventListener("load",function(){e.classList.add("loaded")});}});toastr.options={"closeButton":true,"debug":false,"newestOnTop":true,"progressBar":true,"positionClass":"toast-top-right","preventDuplicates":true,"onclick":null,"showDuration":"300","hideDuration":"1000","timeOut":"2000","extendedTimeOut":"2000","showEasing":"swing","hideEasing":"linear","showMethod":"slideDown","hideMethod":"slideUp"};$(function(){$(document).on('keyup','#search_form_input',function(e){e.preventDefault();letsearch_text=$(this).val();$.ajax({url:'eka-bazaar.com/search',type:'GET',data:{search:search_text},beforeSend:function(){},success:function(data){if(data.product_object.length>0){$('.product-suggestion-list').html(data.markup);}}});});//CompareProduct$(document).on('click','.quick-view-compare-btn',function(e){e.preventDefault();letquick_view_has_campaign='0';letquick_view_campaign_expired='0';if(quick_view_has_campaign===1){if(quick_view_campaign_expired===0){toastr.error('Thecampaignisover,Sorry!youcannotcartthisproduct');returnfalse;}}letselected_size=$('#selected_size').val();letselected_color=$('#selected_color').val();letpid_id=getQuickViewAttributesForCart();letproduct_id=quick_view_product_id;letquantity=Number($('#quick-view-quantity').val().trim());letprice=$('#price').text().split(site_currency_symbol)[1Eka-Bazaar 2F6glichkeit 2F6glichkeit F6glichkeit F6glichkeit Home];letattributes={};letproduct_variant=pid_id;letproductAttribute=quick_view_selected_variant;attributes['price']=price;//ifselectedattributeisavalidproductitemif(quickViewValidateSelectedAttributes()){$.ajax({url:'eka-bazaar.com/shop/product/compare/add',type:'POST',data:{product_id:product_id,quantity:quantity,pid_id:pid_id,product_variant:product_variant,selected_size:selected_size,selected_color:selected_color,_token:'JGVAEa5TTAcX5K8qPETCO48cqY2oaPshtKyL675x'},beforeSend:function(){},success:function(data){if(data.quantity_msg){toastr.warning(data.quantity_msg);}elseif(data.error_msg){toastr.error(data.error_msg);}else{toastr.success(data.msg,'GotoCart','#',);$('.track-icon-list').load(location.href+".track-icon-list");}},error:function(err){toastr.error('Anerroroccurred')}});}else{toastr.error('Selectallattributetoproceed')}});$(document).on('click','.compare-btn',function(e){e.preventDefault();letpid_id=null;letproduct_id=$(this).data("product_id");letquantity=1;letproduct_variant=null;$.ajax({url:'eka-bazaar.com/shop/product/compare/add',type:'POST',data:{product_id:product_id,quantity:quantity,pid_id:pid_id,product_variant:product_variant,selected_size:null,selected_color:null,_token:'JGVAEa5TTAcX5K8qPETCO48cqY2oaPshtKyL675x'},beforeSend:function(){},success:function(data){if(data.quantity_msg){toastr.warning(data.quantity_msg);}elseif(data.error_msg){toastr.error(data.error_msg);}else{toastr.success(data.msg,'GotoCart','#',);$('.track-icon-list').load(location.href+".track-icon-list");}},error:function(err){toastr.error('Anerroroccurred')}});});$(document).on('click','.add-to-wishlist-btn',function(e){e.preventDefault();letpid_id=null;letproduct_id=$(this).data("product_id");letquantity=1;letproduct_variant=null;$.ajax({url:'eka-bazaar.com/shop/product/wishlist/add',type:'POST',data:{product_id:product_id,quantity:quantity,pid_id:pid_id,product_variant:product_variant,selected_size:null,selected_color:null,_token:'JGVAEa5TTAcX5K8qPETCO48cqY2oaPshtKyL675x'},beforeSend:function(){},success:function(data){if(data.quantity_msg){toastr.warning(data.quantity_msg);}elseif(data.error_msg){toastr.error(data.error_msg);}else{toastr.success(data.msg,'GotoCart','#',);$('.track-icon-list').load(location.href+".track-icon-list");}},error:function(err){toastr.error('Anerroroccurred')}});});$(document).on('click','.add-to-cart-btn',function(e){e.preventDefault();letpid_id=null;letproduct_id=$(this).data("product_id");letquantity=1;letproduct_variant=null;$.ajax({url:'eka-bazaar.com/shop/product/cart/add',type:'POST',data:{product_id:product_id,quantity:quantity,pid_id:pid_id,product_variant:product_variant,selected_size:null,selected_color:null,_token:'JGVAEa5TTAcX5K8qPETCO48cqY2oaPshtKyL675x'},beforeSend:function(){},success:function(data){if(data.quantity_msg){toastr.warning(data.quantity_msg);}elseif(data.error_msg){toastr.error(data.error_msg);}else{toastr.success(data.msg,'GotoCart','#',);$('.track-icon-list').load(location.href+".track-icon-list");}},error:function(err){toastr.error('Anerroroccurred')}});});$(document).on('click','.digital-add-to-cart-btn',function(e){e.preventDefault();letproduct_id=$(this).data("product_id");$.ajax({url:'eka-bazaar.com/shop/digital/product/cart/add',type:'POST',data:{product_id:product_id,_token:'JGVAEa5TTAcX5K8qPETCO48cqY2oaPshtKyL675x'},beforeSend:function(){},success:function(data){if(data.quantity_msg){toastr.warning(data.quantity_msg);}elseif(data.error_msg){toastr.error(data.error_msg);}else{toastr.success(data.msg,'GotoCart','#',);lettrack_icon_list=$('.track-icon-list');track_icon_list.hide();track_icon_list.load(location.href+".track-icon-list");track_icon_list.fadeIn();}},error:function(err){toastr.error('Anerroroccurred')}});});functionstoreIntoSession(product_id){letarrItem=[];if(sessionStore.length===0){sessionStore.setItem('products',product_id);}else{arrItem.push(sessionStore.getItem('products'));arrItem.push(product_id);sessionStore.setItem('products',arrItem);}returnsessionStore.getItem('products');}});$(document).on('click','.social_share_parent',function(e){$('.social_share_wrapper_item').toggleClass('show');});$('body').on('click','.quick-view-size-listsli',function(event){letel=$(this);letvalue=el.data('displayValue');letparentWrap=el.parent().parent();el.addClass('active');el.siblings().removeClass('active');parentWrap.find('input[type=text]').val(value);parentWrap.find('input[type=hidden]').val(el.data('value'));//selectedattributesselectedAttributeSearch(this);});functionselectedAttributeSearch(selected_item){/**searchbasedonallselectedattributes**1.getallselectedattributesin{key:value}format*2.searchinattribute_storeforallailablematches*3.displayailablematches(keepailablematchesselectable,andrestasdisabled)**/letailable_variant_types=[];letselected_options={};$('.quick-view-size-listsli').addClass('disabled');//getallselectedattributesin{key:value}formatquick_view_ailable_options.map(function(k,option){letselected_option=$(option).find('li.active');lettype=selected_option.closest('.quick-view-size-lists').data('type');letvalue=selected_option.data('displayValue');if(type){ailable_variant_types.push(type);}if(type&&value){selected_options[type]=value;}});quickViewSyncIme(get_quick_view_selected_options());quickViewSyncPrice(get_quick_view_selected_options());quickViewSyncStock(get_quick_view_selected_options());//searchinattribute_storeforallailablematchesletailable_variants_selection=[];letselected_attributes_by_type={};quick_view_attribute_store.map(function(arr){letmatched=true;Object.keys(selected_options).map(function(type){if(arr[type]!==selected_options[type]){matched=false;}})if(matched){ailable_variants_selection.push(arr);//insertas{key:[value,value...]}Object.keys(arr).map(function(type){//notarrayailableforthegivenkeyif(!selected_attributes_by_type[type]){selected_attributes_by_type[type]=[]}//insertvalueifnotinsertedyetif(selected_attributes_by_type[type].indexOf(arr[type])0){stock_messe=`InStock`;product_item_left_el.text(`Only!${stock_count}ItemLeft!`);product_item_left_el.addClass('text-success');product_item_left_el.removeClass('text-danger');}else{stock_messe=`OurfoStock`;product_item_left_el.text(`NoItemLeft!`);product_item_left_el.addClass('text-danger');product_item_left_el.removeClass('text-success');}product_stock_el.html(stock_messe);}else{product_stock_el.html(product_stock_el.data("stock-text"))product_item_left_el.html(product_item_left_el.data("stock-text"))}}functionattributeSelected(){lettotal_options_count=$('.quick-view-size-lists').length;letselected_options_count=$('.quick-view-size-listsli.active').length;returntotal_options_count===selected_options_count;}functionaddslashes(str){return(str+'').replace(/[\\"']/g,'\\$&').replace(/\u0000/g,'\\0');}functiongetQuickViewSelectionHash(selected_options){returnMD5(JSON.stringify(selected_options));}functionget_quick_view_selected_options(){letselected_options={};varquick_view_ailable_options=$('.quick-view-value-input-area');//getallselectedattributesin{key:value}formatquick_view_ailable_options.map(function(k,option){letselected_option=$(option).find('li.active');lettype=selected_option.closest('.quick-view-size-lists').data('type');letvalue=selected_option.data('displayValue');if(type&&value){selected_options[type]=value;}});letordered_data={};letselected_options_keys=Object.keys(selected_options).sort();selected_options_keys.map(function(e){ordered_data[e]=selected_options[e];});returnordered_data;}functiongetQuickViewAttributesForCart(){letselected_options=get_quick_view_selected_options();letcart_selected_options=selected_options;lethashed_key=getQuickViewSelectionHash(selected_options);//ifselectedattributesetisailableif(quick_view_additional_info_store[hashed_key]){returnquick_view_additional_info_store[hashed_key]['pid_id'];}//ifselectedattributesetisnotailableif(Object.keys(selected_options).length){toastr.error('Attributenotailable')}return'';}functionquickViewValidateSelectedAttributes(){letselected_options=get_quick_view_selected_options();lethashed_key=getQuickViewSelectionHash(selected_options);//validateifproducthasanyattributeif(quick_view_attribute_store.length){if(!Object.keys(selected_options).length){returnfalse;}if(!quick_view_additional_info_store[hashed_key]){returnfalse;}return!!quick_view_additional_info_store[hashed_key]['pid_id'];}returntrue;}$(document).on('click','.quick_view_add_to_cart',function(e){e.preventDefault();letselected_size=$('#selected_size').val();letselected_color=$('#selected_color').val();letpid_id=getQuickViewAttributesForCart();letproduct_id=quick_view_product_id;letquantity=Number($('#quick-view-quantity').val().trim());letprice=$('#price').text().split(site_currency_symbol)[1];letattributes={};letproduct_variant=pid_id;letproductAttribute=quick_view_selected_variant;attributes['price']=price;//ifselectedattributeisavalidproductitemif(quickViewValidateSelectedAttributes()){$.ajax({url:'eka-bazaar.com/shop/product/cart/add',type:'POST',data:{product_id:product_id,quantity:quantity,pid_id:pid_id,product_variant:product_variant,selected_size:selected_size,selected_color:selected_color,_token:'JGVAEa5TTAcX5K8qPETCO48cqY2oaPshtKyL675x'},beforeSend:function(){},success:function(data){if(data.quantity_msg){toastr.warning(data.quantity_msg);}elseif(data.error_msg){toastr.error(data.error_msg);}else{toastr.success(data.msg,'GotoCart','#',);lettrack_icon_list=$('.track-icon-list');track_icon_list.hide();track_icon_list.load(location.href+".track-icon-list");track_icon_list.fadeIn();}},error:function(err){toastr.error('Anerroroccurred')}});}else{toastr.error('Selectallattributetoproceed')}});$(document).on('click','.quick_view_add_to_wishlist',function(e){e.preventDefault();letquick_view_has_campaign='0';letquick_view_campaign_expired='0';if(quick_view_has_campaign===1){if(quick_view_campaign_expired===0){toastr.error('Thecampaignisover,Sorry!youcannotcartthisproduct');returnfalse;}}letselected_size=$('#selected_size').val();letselected_color=$('#selected_color').val();letpid_id=getQuickViewAttributesForCart();letproduct_id=quick_view_product_id;letquantity=Number($('#quick-view-quantity').val().trim());letprice=$('#price').text().split(site_currency_symbol)[1];letattributes={};letproduct_variant=pid_id;letproductAttribute=quick_view_selected_variant;attributes['price']=price;//ifselectedattributeisavalidproductitemif(quickViewValidateSelectedAttributes()){$.ajax({url:'eka-bazaar.com/shop/product/wishlist/add',type:'POST',data:{product_id:product_id,quantity:quantity,pid_id:pid_id,product_variant:product_variant,selected_size:selected_size,selected_color:selected_color,_token:'JGVAEa5TTAcX5K8qPETCO48cqY2oaPshtKyL675x'},beforeSend:function(){},success:function(data){if(data.quantity_msg){toastr.warning(data.quantity_msg);}elseif(data.error_msg){toastr.error(data.error_msg);}else{toastr.success(data.msg,'GotoCart','#',);$('.track-icon-list').load(location.href+".track-icon-list");}},error:function(err){toastr.error('Anerroroccurred')}});}else{toastr.error('Selectallattributetoproceed')}});$(document).on('click','.quick_view_but_now',function(e){e.preventDefault();letselected_size=$('#selected_size').val();letselected_color=$('#selected_color').val();letpid_id=getQuickViewAttributesForCart();letproduct_id=quick_view_product_id;letquantity=Number($('#quick-view-quantity').val().trim());letprice=$('#price').text().split(site_currency_symbol)[1];letattributes={};letproduct_variant=pid_id;letproductAttribute=quick_view_selected_variant;attributes['price']=price;//ifselectedattributeisavalidproductitemif(quickViewValidateSelectedAttributes()){$.ajax({url:'eka-bazaar.com/shop/product/cart/add',type:'POST',data:{product_id:product_id,quantity:quantity,pid_id:pid_id,product_variant:product_variant,selected_size:selected_size,selected_color:selected_color,_token:'JGVAEa5TTAcX5K8qPETCO48cqY2oaPshtKyL675x'},beforeSend:function(){},success:function(data){if(data.quantity_msg){toastr.warning(data.quantity_msg);}elseif(data.error_msg){toastr.error(data.error_msg);}else{toastr.success(data.msg,'GotoCart','#',);$('.track-icon-list').load(location.href+".track-icon-list");}setTimeout(()=>{location.href="eka-bazaar.com/shop/checkout";},2000)},error:function(err){toastr.error('Anerroroccurred')}});}else{toastr.error('Selectallattributetoproceed')}});/*========================================ProductQuantityJS========================================*/$(document).on('click','.quick-view-plus',function(){varselectedInput=$(this).prev('.quick-view-quantity-input');if(selectedInput.val()){selectedInput[0].stepUp(1);}});$(document).on('click','.quick-view-substract',function(){varselectedInput=$(this).next('.quick-view-quantity-input');if(selectedInput.val()>1){selectedInput[0].stepDown(1);}});letscrollPosition=0;(function($){'usestrict'$("#product_quick_view.modal-content.p-5").niceScroll();letsite_currency_symbol='$';$('body').on('click','.quick-view-size-listsli',function(event){letel=$(this);letvalue=el.data('displayValue');letparentWrap=el.parent().parent();el.addClass('active');el.siblings().removeClass('active');parentWrap.find('input[type=text]').val(value);parentWrap.find('input[type=hidden]').val(el.data('value'));//selectedattributesselectedAttributeSearch(this);});functionselectedAttributeSearch(selected_item){/**searchbasedonallselectedattributes**1.getallselectedattributesin{key:value}format*2.searchinattribute_storeforallailablematches*3.displayailablematches(keepailablematchesselectable,andrestasdisabled)**/letailable_variant_types=[];letselected_options={};//getallselectedattributesin{key:value}formatquick_view_ailable_options.map(function(k,option){letselected_option=$(option).find('li.active');lettype=selected_option.closest('.quick-view-size-lists').data('type');letvalue=selected_option.data('displayValue');if(type){ailable_variant_types.push(type);}if(type&&value){selected_options[type]=value;}});quickViewSyncIme(get_quick_view_selected_options());quickViewSyncPrice(get_quick_view_selected_options());//searchinattribute_storeforallailablematchesletailable_variants_selection=[];letselected_attributes_by_type={};quick_view_attribute_store.map(function(arr){letmatched=true;Object.keys(selected_options).map(function(type){if(arr[type]!==selected_options[type]){matched=false;}})if(matched){ailable_variants_selection.push(arr);//insertas{key:[value,value...]}Object.keys(arr).map(function(type){//notarrayailableforthegivenkeyif(!selected_attributes_by_type[type]){selected_attributes_by_type[type]=[]}//insertvalueifnotinsertedyetif(selected_attributes_by_type[type].indexOf(arr[type])0){window.scrollTo(0,scrollPosition);}});//closequickviewdetailsmodelandmakeempty$(document).on("click",".quick-view-close-btn",function(){$("#product_quick_view").fadeOut();setTimeout(function(){$("#product_quick_view").empty();},200);});$(document).on("click","#quick_view.quick-view-close-btn",function(){$("#quick_view").fadeOut();$("#quick_view").removeClass('show');$(".modal-backdrop").fadeOut();});$(document).on('click','.quick-view',function(e){e.preventDefault();//todo:workonshowingcampaigndatecountdownletdata=$(this).data();letrating=$(this).data('rating');letstock_msg="Itemisnotailableinstock";letstock_msg_type="text-danger";letquick_view=$('#quick_view');quick_view.find('.flash-countdown-wrapper').hide();if(data.iscampaign){quick_view.find('.flash-countdown-title').text(data.campaigntitle);quick_view.find('.flash-countdown-product-2').attr('data-date',data.campaigndate);letcoundClass=quick_view.find('.flash-countdown-product-2');letoldId=quick_view.find('.flash-countdown-product-2').attr(Eka-Bazaar 2F6glichkeit 2F6glichkeit F6glichkeit F6glichkeit Home'id');coundClass.removeClass(oldId);oldId=oldId.substr(35);letnewClassGen=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15);coundClass.addClass(oldId+newClassGen);coundClass.attr('id',oldId+newClassGen);loopcounter(quick_view.find('.flash-countdown-product-2').attr('id'));quick_view.find('.flash-countdown-wrapper').show();}quick_view.find('a.add-to-cart').data('id',data['id']);quick_view.find('.title').text(data['title']);quick_view.find('.info').text(data['summary']);quick_view.find('.del_price').text(data['price']);quick_view.find('.sale_price').text(data['salePrice']);quick_view.find('.product_category').text(data['category']);quick_view.find('.product_category').attr('href',data['categoryUrl']);quick_view.find('.product-imgimg').attr('src',data['ime']);quick_view.find('.sku_wrapper.sku').text(data['inventory']);quick_view.find('.badge-t').text(data['badge']);if(data['campaignPercente']){quick_view.find('.discount-t').text(data['campaignPercente']);}else{quick_view.find('.discount-t').text('');}quick_view.find('#unit').text(data['unit']);quick_view.find('#uom').text(data['uom']);//inventoryif(data['inStock']){stock_msg="Instock"+data['inStock'];stock_msg_type="text-success";}quick_view.find('.is_ailable').text(stock_msg);quick_view.find('.is_ailable').addClass(stock_msg_type);if(data['inventory']&&data['inventory'].length){quick_view.find('.sku_wrapper').show();}//subcategoryletsubcategory_html='';letsubcategory=data['subcategory'];for(leti=0;i