Авторизация

Регистрация Забыли пароль?

Корзина

Корзина пока пуста
Товаров в корзине: 0
на сумму 0.00 р.
Оформить заказ

Продолжить покупки

'; var oneClickForm = AMI.$('#cart-small__text').html() + '
'; oneClickForm += start + '
например: +7 495 000 00 00' + end; oneClickForm += start + '' + end; oneClickForm += start + '
укажите если хотите получать уведомления о заказе' + end; oneClickForm += '' + hiddenFields + '
'; var cartPopup = new AMI.UI.Popup('
' + oneClickForm + '
', {id:'cartPopupWindow', header:'', width: '310', height: '300', animation:{ open: 'fadein', close: 'fadeout' }, onClose: function(oPopup){cartPopup = null}}); var popup = AMI.$('#cartPopupWindow'); AMI.$(popup).find('.cart-small__title').css('display', 'none').after('
'); var html = 'Моя корзина'; AMI.$(popup).find('.cart-small__info_not_empty').prepend(html); AMI.$('.cart-small__info_not_empty').css('display', 'block'); AMI.$('#one-click-popup-form').bind('submit', function(){ var emailVisField = AMI.$(this).find('input[name=visible_email]'), emailField = AMI.$(this).find('input[name=email]'), nameVisField = AMI.$(this).find('input[name="visible_firstname"]'), nameField = AMI.$(this).find('input[name="lastname"]'), contactField = AMI.$(this).find('input[name="contact"]'), email = AMI.$(emailVisField).attr('value'), name = AMI.$(nameVisField).attr('value'), contact = AMI.$(contactField).attr('value'); if (contact === '' || contact === 'Телефон*') { AMI.$(contactField).attr('value', '').focus(); alert('Введите номер Вашего телефона'); return false; } name = ( name != 'Имя' ) ? name : 'Гость'; email = ( email != 'Адрес email' ) ? email : 'noreply@' + String('https://31vek.com/').replace(/^http|^https|^ftp/, '').replace(/[^a-z0-9.]+/g, ''); AMI.$(emailField).attr('value', email); AMI.$(nameField).attr('value', name); }); amiCart.oneClick = false; } /* regular order popup */ function regularOrder(actionStatus){ if(AMI.$('.cart-small').eq(0).hasClass('cart-small_empty')){ AMI.$('.cart-small').removeClass('cart-small_empty').addClass('cart-small_not_empty'); } if(!cartPopup || !cartPopup.content){ AMI.$('#cart-small__success-message').html(actionStatus); cartPopup = new AMI.UI.Popup('
' + AMI.$('#cart-small__text').html() + '
',{id:'cartPopupWindow', header:'', width: '350', height: '300', animation:{ open: 'fadein', close: 'fadeout' }, onClose: function(oPopup){cartPopup = null}}); AMI.$(cartPopup).find('.cart-small').addClass('cart-small_type_success'); }else{ cartPopup.setHTML(AMI.$('#cart-small__text').html()); } if(cartTmeout){ clearTimeout(cartTmeout); } if (amiCart.paymentMethod === 'kupivkredit'){ var href = AMI.$('.cart-small__order-btn').eq(0).attr('href'); /* hidden block on page */ var get = 'payment_method=' + amiCart.paymentMethod; if (href.indexOf(get) === -1) { if (href.indexOf('?') === -1) href += '?' + get; else href += '&' + get; var cart_popup = AMI.$('#cartPopupWindow'); /* Only popup window, not hidden block */ AMI.$(cart_popup).find('.cart-small__order-btn').attr('href', href); var eshop_cart_total_plain = amiSession.get('eshop_cart_total_plain'); if (parseFloat(eshop_cart_total_plain) Покупка по системе КупиВкредит возможна только при сумме заказа от 3000 р. Вы можете увеличить сумму заказа или выбрать другой способ оплаты при оформлении заказа.
'); } } } /* Callback for amiCard.add function */ AMI.Message.addListener('ON_ADDED_TO_CART', function(actionStatus){ if (amiCart.oneClick) oneClickOrder(actionStatus); else regularOrder(actionStatus); return true; }); function cartPopupCose(){ if((cartPopup==null) || (typeof(cartPopup)=='undefined')) return; cartPopup.close(); cartPopup = null; }

          Принимаем к оплате:

     

Оформление заказа

Ваша корзина пуста., Пройти в каталог товаров
' + '
' + this.prices_ajax_response.items[i].total_tax + '
'; str += '
' + this.prices_ajax_response.items[i].sku + '
'; if (this.prices_ajax_response.items[i].property_caption) str += '
' + this.prices_ajax_response.items[i].property_caption + '
'; str +='
'; /* /eshop-ordering__item */ } str += '
"; this.prices_ajax_in_progress = false; }, paymentMethod : function(){ if (arguments.length > 1) return this.setPaymentMethod(arguments); else return this.getPaymentMethod(); }, setPaymentMethod : function(){ var select = this.getPaymentMethod(), href = window.location.href, get_name = 'payment_method', get_vars = href.substring(href.indexOf("?") + 1), pos = get_vars.indexOf(get_name + "="), val = get_vars.substring(pos + get_name.length + 1); pos = val.indexOf("&"); if (pos 1) this.updatePaymentMethod(arguments); }, /** * Fires when payment method changed. Dont need ajax. */ updatePaymentMethod : function(select, cancel_callback){ var options = select.getElementsByTagName('option'); var i = 0; while (!options[i].selected && i 0) { var newstr = ' (+' + this.prices_ajax_response.drivers[name].fee_amount + ')'; var oldstr = options[j].getAttribute('data-ami-driver-fee'); if (oldstr){ options[j].innerHTML = options[j].innerHTML.replace(oldstr, newstr); } else { options[j].innerHTML += newstr; } options[j].setAttribute('data-ami-driver-fee', newstr); } } }; }, /** * Set person type: natuaral or juridical */ setPersonType : function(type){ this.person_type = type; document.forms['entryform'].person_type_name.value = type; cform = document.forms['entryform']; var aFields = new Array ('company_custom', 'address_custom', 'inn_custom', 'kpp_custom', 'bank_custom', 'bik_custom', 'account_custom', 'corr_account_custom'); var aFields = new Array ('company_custom', 'address_custom', 'inn_custom', 'kpp_custom', 'bank_custom', 'bik_custom', 'account_custom', 'corr_account_custom'); if(type=='natural') { AMI.$('#natural').removeClass('eshop-ordering__field-sublist_state_hidden'); AMI.$('#juridical').addClass('eshop-ordering__field-sublist_state_hidden'); AMI.$('#juridicalPaymentMethods').attr('disabled', 'disabled'); AMI.$('#naturalPaymentMethods').removeAttr('disabled'); /*cform.person_type[0].checked = true;*/ } else { AMI.$('#juridical').removeClass('eshop-ordering__field-sublist_state_hidden'); AMI.$('#natural').addClass('eshop-ordering__field-sublist_state_hidden'); AMI.$('#juridicalPaymentMethods').removeAttr('disabled'); AMI.$('#naturalPaymentMethods').attr('disabled', 'disabled'); /*cform.person_type[1].checked = true;*/ } setDisabledState(aFields, type == 'natural'); setDisabledState(aFields, type == 'natural'); this.getPricesAjaxResponse(); }, togglePersonType : function(checkbox){ if (!checkbox) { this.setPersonType('natural'); /* default person type */ } else { if (checkbox.checked) { this.setPersonType(checkbox.getAttribute('data-ami-person-checked')); } else { this.setPersonType(checkbox.getAttribute('data-ami-person-unchecked')); } } }, /** * Fires when user select another shipping method */ changeShippingMethod : function(radio){ var method_id = parseInt(radio.getAttribute('data-ami-method-id')); var group_id = parseInt(radio.getAttribute('data-ami-group-id')); if (this.shipping_groups_ids.length > 1) /* many groups of shipping methods at once */ { this.setComplexShippingModuleMethod( group_id, method_id ); } else if (this.shipping_groups_ids.length === 1){ this.setShippingModuleMethod( group_id, method_id, radio.getAttribute('data-ami-custom-shipping') ); } this.getPricesAjaxResponse(); }, /** * */ setShippingModuleMethod : function(group_id, method_id, customShipping){ /* Defining current group and existing method ids */ if (method_id && group_id){ this.current_method_of_group[group_id] = method_id; if (this.avail_shipping_methods[group_id]) this.avail_shipping_methods[group_id].selected_method = method_id; else this.avail_shipping_methods[this.avail_shipping_methods.length - 1].selected_method = method_id; } var form = document.forms['entryform']; form.custom_shipping.value = customShipping; form.get_type_name_custom.value = form.elements['shipping_method_name_' + method_id].value; var form = document.getElementById('eshop-ordering__purchase-form'); /*var fieldsets_qty = form.getAttribute('data-ami-fieldsets-qty'); for (var i = 0 ; i 0) { formCustomShipping.value += (formCustomShipping.value.length == 0 ? otherCustomShipping : '|' + otherCustomShipping); otherCustomShipping = otherCustomShipping.split('|'); for (j = 0 ; j
',{width:784, id:'popup_close_credit', height:750, animation:{ open: 'fadein', close: 'fadeout' }}); }

Поиск

Товар дня

Ультразвуковой стационарный...

Универсальные отпугиватели

Ультразвуковой стационарный отпугиватель крыс, мышей, тараканов ЭкоСнайпер LS-927

1,740.00 р.

Купить

Ультразвуковой стационарный...

Универсальные отпугиватели

Ультразвуковой стационарный отпугиватель крыс, мышей, тараканов ЭкоСнайпер LS-927M

2,690.00 р.

Купить

Ультразвуковой стационарный...

Универсальные отпугиватели

Ультразвуковой стационарный отпугиватель мышей, крыс, моли, муравьев, блох ЭкоСнайпер  UP-118

1,580.00 р.

Купить

Ультразвуковой стационарный...

Универсальные отпугиватели

Ультразвуковой стационарный отпугиватель мышей, крыс, тараканов ЭкоСнайпер  LS-968

1,590.00 р.

Купить

Ультразвуковой стационарный...

Универсальные отпугиватели

Ультразвуковой стационарный отпугиватель мышей, крыс, тараканов, муравьев ЭкоСнайпер  DX-610

1,230.00 р.

Купить

Универсальный стационарный...

Универсальные отпугиватели

Универсальный стационарный ультразвуковой отпугиватель «4 в 1» ЭкоСнайпер UP-116T

2,280.00 р.

Купить

Все права защищены © 2010-2013

Работает на: Amiro CMS