Įdomioji psichologija - Platonovas K.

Prekės kodas: 10017265B

Turimas kiekis: Išparduota

vertė V. Krutulys iš antrojo papildyto leidimo
Turite klausimų apie šią prekę? Klauskite
Informacija
Autorius Platonovas K.
Būklė Gera
Leidykla MINTI
Metai 1966
Puslapiai 335
Įrišimas Kietas
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\'], input[name=\'email\'], 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'); }); // Analytic Data Tracking Events if (json.analytics) { $('#footer').before(json.analytics); } } } }); }); // 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'); } }); // 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'); // Sometime product have no valid special price, but at option it still exists 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'); } else { jQuery('#item__pricingPrice--update').fadeOut('100').queue(function(n){jQuery(this).html(data.price); n();}).fadeIn('100'); if (data.price_excl && jQuery('#item__pricingPriceExcl--update').length) { jQuery('#item__pricingPriceExcl--update').fadeOut('100').queue(function(n){jQuery(this).html(data.price_excl); 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; } $(document).ready(function() { if (typeof dataLayer !== 'undefined') { dataLayer.push({ 'ecommerce': { 'detail': { 'actionField': {'list': 'Product card'}, 'products': [{ 'name': 'Įdomioji psichologija Platonovas K ', 'id': '9958', 'price': '011', }] } } }); dataLayer.push({ 'item_id': '9958', 'page_type': 'product_page', 'total_value': 011 }); } });
Rašyk
Skambink