UA-101037900-1

Abundance. The future is better than you think - Diamandis Peter H., Kotler Steven

Prekės kodas: 9781451614213

Turimas kiekis: Prekė sandėlyje

1.0000
€1000 su PVM
Turite klausimų apie šią prekę? Klauskite
Informacija
Autorius Diamandis Peter H., Kotler Steven
Būklė Gera
Leidykla THE FREE PRESS
Metai 2012
Puslapiai 386
formatas 16x24
isbn 9781451614213
Į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\'], 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'); // 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'); // 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': 'Abundance The future is better than you think Diamandis Peter H Kotler Steven', 'id': '67071', 'price': '1000', }] } } }); dataLayer.push({ 'item_id': '67071', 'page_type': 'product_page', 'total_value': 1000 }); } });
Rašyk
Skambink