document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write("
X
"); document.write("
"); document.write(" "); document.write(" "); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
اختر المنتج / Select the product
"); document.write("
"); document.write("
"); document.write("
    "); document.write("
  • "); document.write("
  • "); document.write("
  • "); document.write("
  • "); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
معلومات الاتصال
"); document.write("
نوع التسليم
"); document.write("
"); document.write("
"); document.write("
"); document.write("
    "); document.write("
  • "); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write(" "); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write(" "); document.write(" "); document.write("
"); document.write("
"); document.write(" "); document.write("
"); document.write(" +971"); document.write(" "); document.write("
"); document.write("
"); document.write(" "); document.write("
"); document.write(" "); document.write(" "); document.write("
"); document.write("
إرسال المقال الرجاء اكتب العنوان بالكامل
"); document.write("
"); document.write("
معلومات الدفع
"); document.write("
"); document.write("
"); document.write("
"); document.write(" "); document.write("
"); document.write(" "); document.write("
"); document.write("
"); document.write("
"); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write("
"); document.write(" "); document.write("
"); document.write("
"); document.write(" "); document.write("
"); document.write(" "); document.write("
"); window.onload = radioclean; function radioclean(){ var hatadurumu = true; $('#paymentFormElement').fadeOut(0); $('#paymentFormText').fadeOut(0); const arabicToLatinMap = { '٠': '0', '١': '1', '٢': '2', '٣': '3', '٤': '4', '٥': '5', '٦': '6', '٧': '7', '٨': '8', '٩': '9' }; function convertArabicToLatin(input) { return input.split('').map(char => arabicToLatinMap[char] || char).join(''); } $('#Telephone').on('input', function () { let currentValue = $(this).val(); let convertedValue = convertArabicToLatin(currentValue); if (currentValue !== convertedValue) { $(this).val(convertedValue); } }); $(".orderBtn").click(function () { var controlCargo = $(".cargo-options input[type='radio']:checked").val(); var controlProduct = $(".ProductPiece input[type='radio']:checked").val(); var controlCargoPoint = $("#PostaKutusuKodu").val(); var controlPaymentType = $('#PaymentType').find(":selected").val(); var controlName = $("#Name").val(); var controlTelephone = $("#Telephone").val(); var controlCity = $("#City").val(); var controlBinaDaireNo = $("#BinaDaireNo").val(); let message = ""; let error = false; if (controlProduct == null || controlProduct =="") { message = "اختر المنتج / Select the product"; error = true ; $('html,body').animate({scrollTop: $('.ProductPiece').offset().top}, 300); } if (controlName == null || controlName =="") { message = message + "
الإسم الكامل"; error = true ; $("#Name").focus(); } if (controlTelephone == null || controlTelephone =="") { message = message + "
الهاتف "; error = true ; $("#Telefon").focus(); } if (controlBinaDaireNo == null || controlBinaDaireNo =="" && controlCargo == 1) { message = message + "
العنوان الكامل"; error = true ; $("#BinaDaireNo").focus(); } if (controlPaymentType == null || controlPaymentType =="") { message = message + "
معلومات الدفع"; error = true ; } if (error == true) { $(".modal-body").html(message); $(".modal-footer").fadeOut(0); $("#myModal").modal("show"); console.log(error); console.log(message); return false; } else { if (controlPaymentType == 6) { $(".modal-body").html("
To create an order with a selected delivery type,
please pay by credit card.
DO YOU WANT TO CONTINUE?If you do not want to make transactions with a credit card, check the payment option at the door."); $(".modal-footer").fadeIn(0); $("#myModal").modal("show"); return false ; } else { return true; } } }); $('#PaymentType').on('change', function (e) { var PaymentTypeSelected = this.value; var PaymentDiscount = $('option:selected',this).data("discount"); if (PaymentTypeSelected == 6 && PaymentDiscount != 0) { $(".paymentNote").html("10% discount when paying by card"); $(".packetateslim").fadeIn(); } else { $(".paymentNote").text(""); //$(".packetateslim").fadeOut(); } }); var urlParams = new URLSearchParams(queryString); var queryString = window.location.search; var urlParams = new URLSearchParams(queryString); var refCode = urlParams.get('ref') var utm_source = urlParams.get('utm_source') var utm_medium = urlParams.get('utm_medium') var utm_campaign = urlParams.get('utm_campaign') var utm_content = urlParams.get('utm_content') var click_id = urlParams.get('click_id') $('#refCode').val(refCode); $('#utm_source').val(utm_source); $('#utm_medium').val(utm_medium); $('#utm_campaign').val(utm_campaign); $('#utm_content').val(utm_content); $('#click_id').val(click_id); $('#http_user_agent').val(navigator.userAgent); //console.log(navigator.userAgent); $('#PostaKodu').on("select2:select", function(e) { var value = e.params.data; $('#YerelBolge').val(value.YerelBolge); }); $('.ProductPiece').find('input').removeAttr('checked'); } function optionquery(piece,product,web,fid) { $.post("https://api.senicos.shop/FormApi", {piece: piece, product: product, web: web, cmd: 'check'}, function(kod) { $('#ProductOption').html(kod); }); $(".priceImgagesSelect").fadeOut(0); $(".priceImgages").fadeIn(0); $("#priceImg"+ fid).fadeOut(0); $("#priceImgSelect"+ fid).fadeIn(0); $("#SiparisFiyatID").val(fid); $('html,body').animate({scrollTop: $('#informationBlock').offset().top}, 200); } function VariantSelected(v,s) { $('.variantselect'+s).attr('disabled', 'disabled'); $('#VariantSelected' + v +''+ s).removeAttr('disabled'); $('.VaryantSelect' + s).fadeOut(0); $('#VariantSelect' + v +''+ s).fadeIn(0); } function cargoTypeSelect(t) { if (t==0) { $('input:radio[name="TeslimatTuru"]').filter('[value="1"]').click(); } else { document.getElementById("orderSubmitForm").submit(); } $('#myModal').modal('hide'); } function cityselect(city) { $("#ZipCodeSelect").fadeIn(0); $("#PostaKodu").val(""); $('#PostaKodu').select2({ placeholder: "الرمز البريدي / Postal Code", allowClear: true, ajax: { url: 'https://api.senicos.shop/FormApi/?operation=true&command=zipcode&city=' + $("#City :selected").text(), processResults: function (data, params) { params.page = params.page || 3; return { results: data.results, pagination: { more: (params.page * 10) < data.count_filtered } }; } } }); } function telephonecheck(t) { } function PaymentSelected(p) { if (p == '2') { $(".orderBtn").text('تأكيد الطلب'); } if (p == '6') { $(".orderBtn").text('Kredi Kartıyla Ödemeye Devam Et'); } } var SelectCityText = "اختر المدينة"; function numarator(deger) { var yaz = new String(); var numaralar = "0123456789"; var chars = deger.value.split(""); for (i = 0; i < chars.length; i++) { if (numaralar.indexOf(chars[i]) != -1) yaz += chars[i]; } if (deger.value != yaz) deger.value = yaz; } function latinText(text) { var textinput = new String(); var alphabet = "ABCDESFGHIJKLMNOPRSTOUVYZXWQabcdefghijklmnoprstuvyzxwq"; var charsAlphabet = text.value.split(""); for (i = 0; i < charsAlphabet.length; i++) { if (alphabet.indexOf(charsAlphabet[i]) != -1) textinput += charsAlphabet[i]; } if (text.value != textinput) text.value = textinput; } var araniyor_Txt = "الرجاء الإنتظار"; var noResultsText = "no"; function loadingStart() { $(".alert-message").fadeIn(300); } function loadingStop() { $(".alert-message").fadeOut(100); }