Iliustruotasis mokslas 2020/6 - Barysas Rolandas, vyr. redaktorius

Prekės kodas: 80006220

Turimas kiekis: Prekė sandėlyje

1.0000
€100 su PVM
Turite klausimų apie šią prekę? Klauskite
Dinozaurų klonavimas Mokslininkai sutvarkys Jūsų šukuoseną Skiepai nuo nerimo Kompiuterio sukurta nauja gyvybės forma
Informacija
Autorius Barysas Rolandas, vyr. redaktorius
Būklė Gera
Leidykla VERSLO ŽINIOS
Metai 2020
Puslapiai 80
formatas 21x28
isbn -
Įrišimas Minkštas
Parašyti atsiliepimą
').fadeIn()); }, complete: function() { $('#submitReview').attr('disabled', false); }, success: function(data) { $('.alert, .text-danger').remove(); if (data['error']) { if (data['error']['name']) { $('#review__reply #name').after($('' + data['error']['name'] + '').fadeIn()); } if (data['error']['text']) { $('#review__reply #review__item').after($('' + data['error']['text'] + '').fadeIn()); } if (data['error']['captcha']) { $('.review__replyCaptcha .input-group').after($('' + data['error']['captcha'] + '').fadeIn()); } var error = $('#review__reply .text-danger:visible').first(); var scroll = error.offset().top - 50; $('html, body').animate({ scrollTop: scroll },500); if (googleCaptcha) { grecaptcha.reset(); } } if (data['success']) { $('#review').before($(data['success']).fadeIn()); var success = $('#reviews .alert-success:visible').first(); var success_scroll = success.offset().top - 50; $('html, body').animate({ scrollTop: success_scroll },500); $('input[name=\'name\'], textarea[name=\'text\'], input[name=\'captcha\']').val(''); } } }); });
'); $('.alert').delay(1000).fadeOut('slow'); $(elements.header_cart_wrapper).load('index.php?route=module/cart', function() { $(elements.header_cart_heading).trigger('click'); }); } } }); }); // Remove errors if user enter data for required field $(".productCard__pricingDetails input[type=\'text\'], .productCard__pricingDetails input[type=\'hidden\'], .productCard__pricingDetails input[type=\'radio\'], .productCard__pricingDetails input[type=\'checkbox\'], .productCard__pricingDetails select, .productCard__pricingDetails textarea").change(function() { if ($(this).closest('.form-group').hasClass('has-error')) { $(this).closest('.form-group').removeClass('has-error'); $(this).closest('.form-group').find('.text-danger').fadeOut('fast'); } }); $(document).ready(function() { $('.productCard__actionButtons .btn--number').click(function() { updatePrice(); }); $(':input[name^="option"],:input[name^="quantity"]').change(function(){ updatePrice(); }); }); // Function update price function updatePrice() { var ajaxurl = domain + 'index.php?route=product/product/updatePrice'; jQuery.ajax({ type: 'post', url: ajaxurl, dataType: 'json', data: jQuery(':input[name^="option"][type=\'checkbox\']:checked, :input[type=\'hidden\'], :input[name^="option"][type=\'radio\']:checked, select[name^="option"], :input[name=\'quantity\']'), success: function (data) { if (data.special) { jQuery('#item__pricingPrice--specialUpdate').fadeOut('100').delay(100).queue(function(n){jQuery(this).html(data.special); n();}).fadeIn('100'); jQuery('#item__pricingPrice--oldUpdate').fadeOut('100').delay(100).queue(function(n){jQuery(this).html(data.price); n();}).fadeIn('100'); jQuery('.item__pricingSaving').fadeOut('100').delay(100).queue(function(n){jQuery(this).html(data.saving_amount); n();}).fadeIn('100'); jQuery('.promo-tag__default--discount').replaceWith(data.percent_discount).fadeIn(); // Sticky addtocart jQuery('#item__pricingPrice--specialUpdate2').fadeOut('100').delay(100).queue(function(n){jQuery(this).html(data.special); n();}).fadeIn('100'); jQuery('#item__pricingPrice--oldUpdate2').fadeOut('100').delay(100).queue(function(n){jQuery(this).html(data.price); n();}).fadeIn('100'); jQuery('.item__pricingSaving2').fadeOut('100').delay(100).queue(function(n){jQuery(this).html(data.saving_amount); n();}).fadeIn('100'); } else { jQuery('#item__pricingPrice--update').fadeOut('100').queue(function(n){jQuery(this).html(data.price); n();}).fadeIn('100'); // Sticky addtocart jQuery('#item__pricingPrice--update2').fadeOut('100').queue(function(n){jQuery(this).html(data.price); n();}).fadeIn('100'); } if (data.option_quantity) { jQuery('.productCard__actionButtons #addToCart, .productCard__actionButtons .inputQuantity__input, .stickyAddToCart #addToCartSticky').attr('data-quantity', data.option_quantity); } // Change leasing value }, error: function(xhr, ajaxOptions, thrownError) { } }); } function removeParam(key, sourceURL) { var rtn = sourceURL.split("?")[0], param, params_arr = [], queryString = (sourceURL.indexOf("?") !== -1) ? sourceURL.split("?")[1] : ""; if (queryString !== "") { params_arr = queryString.split("&"); for (var i = params_arr.length - 1; i >= 0; i -= 1) { param = params_arr[i].split("=")[0]; if (param === key) { params_arr.splice(i, 1); } } rtn = rtn + "?" + params_arr.join("&"); } return rtn; }
Rašyk
Skambink