پشتیبانی سریع :
22007100
-۰۲۱
این کالا بسته به موجودی در لحظه سفارش از یکی از انبار های بازرگانی ارسال می گردد:
ارسال از انبار بندرعباس: 2 الی 3 روز کاری
ارسال از انبار تهران: 1 الی 2 روز کاری
موجودی و قیمت به روز می باشد با خیال راحت خرید کنید.
40,000,000 تومان قیمت اصلی 40,000,000 تومان بود.38,490,000 تومانقیمت فعلی 38,490,000 تومان است.
تمام سفارشات برای مشتریان VIP بازرگانی امین التجار به صورت رایگان ارسال می گردد.
قابل انجام برای مشتریان Vip
بهترین قیمت در ازاری کیفیت و اصالت
در صورت درخواست مشتریان گرامی
فروش مستقیم از شرکت
با پست پیشتاز

`;
if (distance < 0) {
clearInterval(x);
document.getElementById("lr-countdown").innerHTML = ``;
}
}, 1000);
}
function showPass() {
jQuery(‘#show-pass’).fadeOut();
jQuery(‘#send’).fadeOut();
jQuery(‘#lr-btn’).fadeIn();
jQuery(‘.forget’).fadeIn();
jQuery(‘#show-code’).fadeIn();
jQuery(‘#lr-password-field’).fadeIn();
}
function showCode() {
jQuery(‘#show-code’).fadeOut();
jQuery(‘#send’).fadeIn();
jQuery(‘#lr-btn’).fadeOut();
jQuery(‘#show-pass’).fadeIn();
jQuery(‘.forget’).fadeOut();
jQuery(‘#lr-password-field’).fadeOut();
}
jQuery(‘#show-pass’).click(function() {
showPass();
jQuery(‘#pass’).focus();
});
jQuery(‘#show-code’).click(function() {
showCode();
jQuery(‘#phone’).focus();
});
jQuery(‘#pass’).focus(function() {
jQuery(document).keypress(function(e) {
if (e.which == ’13’) {
e.preventDefault();
jQuery(‘#lr-btn’).click();
}
});
});
function getCookie(cname) {
var name = cname + “=”;
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(‘;’);
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}function getEmail(email) {
jQuery('#lr-send-form').fadeOut();
jQuery('#error-phone').fadeOut();
jQuery('#lr-password-form').fadeIn();
jQuery('#lr-submit-form').fadeOut();
jQuery.ajax({
url: "https://ganjinneh.com/wp-admin/admin-ajax.php",
type: 'GET',
data: {
action: 'get_latest_posts_by_category',
email: email
},
beforeSend: function() {
jQuery('.lr-loader').show();
},
success: function(data) {
if (data == "yes") {
jQuery('.lr-loader').hide();
jQuery('.mobile-number').text(getCookie('phone'));
} else {
jQuery('.lr-loader').hide();
}
}
});
}function getphn() {
jQuery('#lr-submit-form').show();
jQuery('#lr-send-form').hide();
jQuery('#error-phone').fadeOut();
bakalaCountdown();
jQuery('.lr_loader').remove();
jQuery('#login-register .lr-box').removeClass('lr_loading');
jQuery('span.lr-phone-number').text(getCookie('phone'));
jQuery('input.lr-phone-number').val(getCookie('phone'));
}var digits = jQuery('input#autofill-input').val();
var codeCookie = getCookie('opt_code');jQuery('#lr-send-form').on('submit', function(e) {
e.preventDefault();
var nonce = jQuery('meta[name="csrf-token"]').attr('content');
jQuery.ajaxSetup({
headers: {
'X-CSRF-TOKEN': nonce
}
});
var loaderTimeout;
if (jQuery('#pass').length < 1) {
if (jQuery('#phone').val().length > 0) {
jQuery.ajax({
url: “https://ganjinneh.com/bakala/ajax/send_code/”,
type: ‘POST’,
dataType: “json”,
data: {
action: “bakala_send_code”,
phone_email: jQuery(‘#phone’).val(),
},
beforeSend: function() {
jQuery(‘#login-register .lr-box’).append(”);
jQuery(‘#login-register .lr-box’).addClass(‘lr_loading’);
loaderTimeout = setTimeout(function() {
jQuery(‘.lr_loader’).remove();
jQuery(‘#login-register .lr-box’).removeClass(‘lr_loading’);
}, 10000);
},
success: function(response) {
if (response.status_code == 200) {
if (phone_pattern.test(jQuery(‘#phone’).val())) {
getphn();
jQuery(‘#autofill-input’).focus();
} else if (validateEmail(jQuery(‘#phone’).val())) {
jQuery(‘.lr_loader’).remove();
jQuery(‘#login-register .lr-box’).removeClass(‘lr_loading’);
getEmail(jQuery(‘#phone’).val());
} else {
jQuery(‘#error-phone’).fadeIn();
}
} else {
const Toast = Swal.mixin({
toast: true,
position: ‘center’,
showConfirmButton: false,
timer: 3000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener(‘mouseenter’, Swal.stopTimer);
toast.addEventListener(‘mouseleave’, Swal.resumeTimer);
}
});
Toast.fire({
title: response.message,
icon: ‘error’,
});
navigator.vibrate(600);
jQuery(‘#phone’).addClass(‘animated shake’);
}
},
complete: function() {
jQuery(‘.lr_loader’).remove();
jQuery(‘#login-register .lr-box’).removeClass(‘lr_loading’);
},
});
} else {
navigator.vibrate(600);
jQuery(‘#phone’).addClass(‘animated shake’);
jQuery(‘#error-phone’).text(“u0634u0645u0627u0631u0647 u062au0645u0627u0633 u06ccu0627 u0627u06ccu0645u06ccu0644 u062eu0648u062f u0631u0627 u0648u0627u0631u062f u06a9u0646u06ccu062f”);
jQuery(‘#error-phone’).fadeIn();
}
} else {
if (phone_pattern.test(jQuery(‘#phone’).val())) {
jQuery.ajax({
url: “https://ganjinneh.com/bakala/ajax/send_code/”,
type: ‘POST’,
dataType: “json”,
data: {
action: “bakala_send_code”,
phone_email: jQuery(‘#phone’).val(),
},
beforeSend: function() {
jQuery(‘#login-register .lr-box’).append(”);
jQuery(‘#login-register .lr-box’).addClass(‘lr_loading’);
loaderTimeout = setTimeout(function() {
jQuery(‘.lr_loader’).remove();
jQuery(‘#login-register .lr-box’).removeClass(‘lr_loading’);
}, 10000);
},
success: function(response) {
if (response.status_code == 200) {
if (phone_pattern.test(jQuery(‘#phone’).val())) {
getphn();
jQuery(‘#autofill-input’).focus();
} else if (validateEmail(jQuery(‘#phone’).val())) {
jQuery(‘.lr_loader’).remove();
jQuery(‘#login-register .lr-box’).removeClass(‘lr_loading’);
getEmail(jQuery(‘#phone’).val());
} else {
jQuery(‘#error-phone’).fadeIn();
}
} else {
const Toast = Swal.mixin({
toast: true,
position: ‘center’,
showConfirmButton: false,
timer: 3000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener(‘mouseenter’, Swal.stopTimer);
toast.addEventListener(‘mouseleave’, Swal.resumeTimer);
}
});
Toast.fire({
title: response.message,
icon: ‘error’,
});
navigator.vibrate(600);
jQuery(‘#phone’).addClass(‘animated shake’);
}
},
complete: function() {
jQuery(‘.lr_loader’).remove();
jQuery(‘#login-register .lr-box’).removeClass(‘lr_loading’);
jQuery(‘#autofill-input’).focus();
},
});
} else {
navigator.vibrate(600);
jQuery(‘#phone’).addClass(‘animated shake’);
jQuery(‘#error-phone’).text(“u0634u0645u0627u0631u0647 u062au0645u0627u0633 u06ccu0627 u0627u06ccu0645u06ccu0644 u062eu0648u062f u0631u0627 u0648u0627u0631u062f u06a9u0646u06ccu062f”);
jQuery(‘#error-phone’).fadeIn();
}
}
return false;
});
jQuery(‘#lr-btn’).on(‘click’, function() {
var phone_pattern = /^(+98|0098|98|0)?9d{9}$/;
var email_pattern = /^[a-zA-Z-‘ ]*$/;
if (jQuery(‘#phone’).val().length > 0 && jQuery(‘#pass’).val().length > 1) {
jQuery.ajax({
url: “https://ganjinneh.com/wp-admin/admin-ajax.php”,
type: ‘POST’,
dataType: “json”,
data: {
action: “bakala_lr_submit”,
phone_email: jQuery(‘#phone’).val(),
password: jQuery(‘#pass’).val()
},
beforeSend: function() {
jQuery(‘#login-register .lr-box’).append(”);
jQuery(‘#login-register .lr-box’).addClass(‘lr_loading’);
},
success: function(response) {
jQuery(‘.lr_loader’).remove();
jQuery(‘#login-register .lr-box’).removeClass(‘lr_loading’);
if (response.status_code == 200) {
const Toast = Swal.mixin({
toast: true,
position: ‘center’,
showConfirmButton: false,
timer: 1000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener(‘mouseenter’, Swal.stopTimer);
toast.addEventListener(‘mouseleave’, Swal.resumeTimer);
}
});
Toast.fire({
title: response.message,
icon: ‘success’,
}).then((result) => {
location.reload();
});
} else {
const Toast = Swal.mixin({
toast: true,
position: ‘center’,
showConfirmButton: false,
timer: 1000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener(‘mouseenter’, Swal.stopTimer);
toast.addEventListener(‘mouseleave’, Swal.resumeTimer);
}
});
Toast.fire({
title: response.message,
icon: ‘error’,
});
navigator.vibrate(600);
jQuery(‘#pass’).addClass(‘animated shake’);
jQuery(‘#pass’).css(‘borderColor’, ‘#ee5a66’);
jQuery(‘#error-pass’).text(response.message);
jQuery(‘#error-pass’).fadeIn();
}
}
});
}
});
jQuery(‘#lr-submit-form’).on(‘submit’, function(e) {
e.preventDefault();
var urlParams = new URLSearchParams(window.location.search);
var redirect_url = urlParams.get(‘redirect’);
var digits = jQuery(‘input#autofill-input’).val();
jQuery.ajax({
url: “https://ganjinneh.com/bakala/ajax/submit_code/”,
type: ‘POST’,
dataType: “json”,
data: {
action: “bakala_submit_code”,
token: digits,
},
beforeSend: function() {
jQuery(‘#login-register .lr-box’).append(”);
jQuery(‘#login-register .lr-box’).addClass(‘lr_loading’);
},
success: function(response) {
// fillAutofillInput();
jQuery(‘.lr_loader’).remove();
jQuery(‘#login-register .lr-box’).removeClass(‘lr_loading’);
if (response.status_code == 200) {
jQuery(‘body:not(.bk_myaccount) #bakala_login’).modal(‘toggle’);
const Toast = Swal.mixin({
toast: true,
position: ‘center’,
showConfirmButton: false,
timer: 1000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener(‘mouseenter’, Swal.stopTimer);
toast.addEventListener(‘mouseleave’, Swal.resumeTimer);
}
});
if (redirect_url && redirect_url.length > 0) {
window.location.href = redirect_url;
} else if (response.redirect) {
window.location.href = response.redirect;
} else {
location.reload();
}
} else {
const Toast = Swal.mixin({
toast: true,
position: ‘center’,
showConfirmButton: false,
timer: 1000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener(‘mouseenter’, Swal.stopTimer);
toast.addEventListener(‘mouseleave’, Swal.resumeTimer);
}
});
Toast.fire({
title: response.message,
icon: ‘error’,
});
navigator.vibrate(600);
jQuery(‘#lr-token input’).addClass(‘animated shake’);
jQuery(‘#lr-token input’).css(‘borderColor’, ‘#ee5a66’);
jQuery(‘.token-error’).text(response.message);
}
}
});
return false;
});
var phone_pattern = /^(+98|0098|98|0)?9d{9}$/;
var email_pattern = /^[a-zA-Z-‘ ]*$/;
jQuery(‘#phone’).keyup(function() {
if (phone_pattern.test(jQuery(this).val()) == false && !Array.isArray(validateEmail(jQuery(this).val()))) {
jQuery(this).parent().css(‘height’, ‘auto’);
jQuery(‘#send’).attr(‘disabled’, ‘disabled’);
jQuery(this).css(‘borderColor’, ‘#ee5a66’);
} else {
jQuery(this).parent().css(‘height’, ’65px’);
jQuery(‘#send’).removeAttr(‘disabled’);
jQuery(this).css(‘borderColor’, ‘green’);
if (phone_pattern.test(jQuery(this).val())) {
showCode();
} else {
showPass();
}
}
});
jQuery(‘#lr-password-form’).on(‘submit’, function(e) {
e.preventDefault();
var password = jQuery(‘input#password’).val();
jQuery.ajax({
url: “https://ganjinneh.com/wp-admin/admin-ajax.php”,
type: ‘POST’,
dataType: “json”,
data: {
action: “bakala_submit_password”,
password: password,
},
beforeSend: function() {
jQuery(‘#login-register .lr-box’).append(”);
jQuery(‘#login-register .lr-box’).addClass(‘lr_loading’);
},
success: function(response) {
jQuery(‘.lr_loader’).remove();
jQuery(‘#login-register .lr-box’).removeClass(‘lr_loading’);
if (response.status_code == 200) {
jQuery(‘body:not(.bk_myaccount) #bakala_login’).modal(‘toggle’);
const Toast = Swal.mixin({
toast: true,
position: ‘center’,
showConfirmButton: false,
timer: 1000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener(‘mouseenter’, Swal.stopTimer);
toast.addEventListener(‘mouseleave’, Swal.resumeTimer);
}
});
Toast.fire({
title: response.message,
icon: ‘success’,
}).then((result) => {
location.reload();
});
} else {
const Toast = Swal.mixin({
toast: true,
position: ‘center’,
showConfirmButton: false,
timer: 1000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener(‘mouseenter’, Swal.stopTimer);
toast.addEventListener(‘mouseleave’, Swal.resumeTimer);
}
});
Toast.fire({
title: response.message,
icon: ‘error’,
});
navigator.vibrate(600);
jQuery(‘#pass’).addClass(‘animated shake’);
jQuery(‘#password’).css(‘borderColor’, ‘#ee5a66’);
jQuery(‘.password-error’).text(response.message);
}
}
});
return false;
});
function resendCode() {
jQuery.ajax({
url: “https://ganjinneh.com/bakala/ajax/send_code/”,
type: ‘POST’,
data: {
action: “bakala_send_code”,
phone_email: jQuery(‘#phone’).val(),
},
beforeSend: function() {
jQuery(‘.lr-loader’).show();
},
complete: function() {
jQuery(‘.lr-loader’).hide();
},
success: function(data) {
var pattern = /^(+98|0098|98|0)?9d{9}$/;
if (pattern.test(jQuery(‘#phone’).val())) {
bakalaCountdown();
jQuery(‘#lr-submit-form’).fadeIn();
jQuery(‘#lr-send-form’).fadeOut();
jQuery(‘#error-phone’).fadeOut();
} else {
jQuery(‘#error-phone’).fadeIn();
}
}
});
}
jQuery(‘#edit-phone-number,button.header__button.back-icon’).click(function(e) {
e.preventDefault();
jQuery(‘#lr-submit-form’).fadeOut();
jQuery(‘#lr-send-form’).fadeIn();
});
String.prototype.toEnglishDigit = function() {
var find = [“۰”, “۱”, “۲”, “۳”, “۴”, “۵”, “۶”, “۷”, “۸”, “۹”];
var replace = [“0”, “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”];
var replaceString = this;
var regex;
for (var i = 0; i < find.length; i++) {
regex = new RegExp(find[i], "g");
replaceString = replaceString.replace(regex, replace[i]);
}
return replaceString;
};document.querySelectorAll('input').forEach(input => {
input.addEventListener(‘input’, function() {
input.value = input.value.toEnglishDigit();
});
});
jQuery(“#lr-token”)
.find(“input”)
.attr(“maxlength”, 4) // Set maxlength to 4 for the single input field
.on(“keyup”, function(e) {
e.preventDefault();
// Capture the input value
var inputVal = $(this).val();
// Check if the input length matches the required 4 characters
if (inputVal.length === 4) {
if (jQuery(this).parent().data(“autosubmit”)) {
jQuery(this).parent().submit(); // Auto-submit the form if needed
}
}
// Allow backspace, left arrow, and right arrow keys
if (e.keyCode === 8 || e.keyCode === 37 || e.keyCode === 39) {
return;
}
// Allow only numeric characters
if (e.which < 48 || e.which > 57) {
e.preventDefault();
}
});
});
document.addEventListener(‘DOMContentLoaded’, () => {
const autofillInput = jQuery(‘#autofill-input’); // تک فیلد ورودی شما
// تنظیم ویژگی maxlength به 4
autofillInput.attr(‘maxlength’, 4);
// زمانی که کاربر ورودی را وارد میکند
autofillInput.on(‘input’, function(e) {
const otp = e.target.value;
// اطمینان از اینکه فقط اعداد وارد شدهاند
e.target.value = otp.replace(/[^0-9]/g, ”);
// اگر طول ورودی 4 کاراکتر باشد و تماماً عدد باشد
if (otp.length === 4 && /^d{4}$/.test(otp)) {
submitForm();
}
});
function submitForm() {
// اینجا میتوانید فرم را ارسال کنید یا کارهای دیگری که نیاز است انجام دهید
document.getElementById(‘lr-submit’).click();
}
});