Domašneje konservirovanije - sost. Sitdikova V. R.

Prekės kodas: 5857100127

Turimas kiekis: Prekė sandėlyje

1.0000
€200 su PVM
Turite klausimų apie šią prekę? Klauskite
Informacija
Autorius sost. Sitdikova V. R.
Būklė Gera
Leidykla KAZANJ
Metai 1991
Puslapiai 202
formatas 13x20
isbn 5857100127
Į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(); } else { jQuery('#item__pricingPrice--update').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