Family Camping

Địa chỉ: Phố Chu Huy Mân, Long Biên, Hà Nội
Số điện thoại: 0948422422

Liên hệ với chúng tôi

`; $videoEl.append(videoHtml); }else{ $videoEl.find("iframe").remove(); $(selector).parent().find('img').show() $(selector).attr("src", src); } } function validate(evt) { var theEvent = evt || window.event; var key = theEvent.keyCode || theEvent.which; key = String.fromCharCode( key ); var regex = /[0-9]|\./; if( !regex.test(key) ) { theEvent.returnValue = false; if(theEvent.preventDefault) theEvent.preventDefault(); } } var selectCallbackQuickView = function(variant, selector) { $('#quick-view-product form').show(); var productItem = jQuery('.quick-view-product .product-item'), addToCart = productItem.find('.add_to_cart_detail'), productPrice = productItem.find('.price'), comparePrice = productItem.find('.old-price'), discountLabel= productItem.find('.label_product'), form2 = jQuery('.soluong1'), status = productItem.find('.soluong'), sku = productItem.find('.sku_'), totalPrice = productItem.find('.total-price span'); if(variant && variant.sku ){ sku.text(variant.sku); }else{ sku.text('Đang cập nhật'); } if (variant && variant.available) { var form = jQuery('#' + selector.domIdPrefix).closest('form'); for (var i=0,length=variant.options.length; iThêm vào giỏ hàng').removeAttr('disabled'); status.text('Còn hàng'); if(variant.price < 1){ $("#quick-view-product .price").html('Liên hệ'); $("#quick-view-product del, #quick-view-product .quantity_wanted_p").hide(); $("#quick-view-product .prices .old-price").hide(); discountLabel.hide() form2.hide(); }else{ productPrice.html(Bizweb.formatMoney(variant.price, "{{amount_no_decimals_with_comma_separator}}₫")); if ( variant.compare_at_price > variant.price ) { comparePrice.html(Bizweb.formatMoney(variant.compare_at_price, "{{amount_no_decimals_with_comma_separator}}₫")).show(); let save = variant.compare_at_price - variant.price discountLabel.html('-'+Math.ceil(save / variant.compare_at_price * 100)+ "%").show() productPrice.addClass('on-sale'); } else { comparePrice.hide(); discountLabel.hide() productPrice.removeClass('on-sale'); } $(".quantity_wanted_p").show(); $(".input_qty_qv_").show(); form2.show(); } updatePricingQuickView(); /*begin variant image*/ if (variant && variant.featured_image) { var originalImage = $("#product-featured-image-quickview"); var newImage = variant.featured_image; var element = originalImage[0]; Bizweb.Image.switchImage(newImage, element, function (newImageSizedSrc, newImage, element) { $('#thumblist_quickview img').each(function() { var parentThumbImg = $(this).parent(); var productImage = $(this).parent().data("image"); if (newImageSizedSrc.includes(productImage)) { $(this).parent().trigger('click'); return false; } }); }); $('#product-featured-image-quickview').attr('src',variant.featured_image.src); } } else { addToCart.addClass('disabled').attr('disabled', 'disabled'); addToCart.removeClass('hidden').addClass('btn_buy').attr('disabled','disabled').html('
Hết hàng
').show(); status.text('Hết hàng'); $(".quantity_wanted_p").show(); if(variant){ if(variant.price < 1){ $("#quick-view-product .price").html('Liên hệ'); $("#quick-view-product del").hide(); //$("#quick-view-product .quantity_wanted_p").hide(); $("#quick-view-product .prices .old-price").hide(); discountLabel.hide() form2.hide(); comparePrice.hide(); discountLabel.hide(); productPrice.removeClass('on-sale'); addToCart.addClass('disabled').attr('disabled', 'disabled'); addToCart.removeClass('hidden').addClass('btn_buy').attr('disabled','disabled').html('
Hết hàng
').show(); }else{ if ( variant.compare_at_price > variant.price ) { comparePrice.html(Bizweb.formatMoney(variant.compare_at_price, "{{amount_no_decimals_with_comma_separator}}₫")).show(); productPrice.addClass('on-sale'); let save = variant.compare_at_price - variant.price discountLabel.html('-'+Math.ceil(save / variant.compare_at_price * 100)+ "%").show() } else { comparePrice.hide(); discountLabel.hide(); productPrice.removeClass('on-sale'); $("#quick-view-product .prices .old-price").html(''); discountLabel.hide() } $("#quick-view-product .price").html(Bizweb.formatMoney(variant.price, "{{amount_no_decimals_with_comma_separator}}₫")); $("#quick-view-product del ").hide(); $("#quick-view-product .prices .old-price").show(); discountLabel.shiw() $(".input_qty_qv_").hide(); form2.hide(); addToCart.addClass('disabled').attr('disabled', 'disabled'); addToCart.removeClass('hidden').addClass('btn_buy').attr('disabled','disabled').html('
Hết hàng
').show(); } }else{ $("#quick-view-product .price").html('Liên hệ'); $("#quick-view-product del").hide(); $("#quick-view-product .quantity_wanted_p").hide(); $("#quick-view-product .prices .old-price").hide(); discountLabel.hide() form2.hide(); comparePrice.hide(); discountLabel.hide(); productPrice.removeClass('on-sale'); addToCart.addClass('disabled').attr('disabled', 'disabled'); addToCart.removeClass('hidden').addClass('btn_buy').attr('disabled','disabled').html('
Hết hàng
').show(); } } /*begin variant image*/ if (variant && variant.featured_image) { var originalImage = $("#product-featured-image-quickview"); var newImage = variant.featured_image; var element = originalImage[0]; Bizweb.Image.switchImage(newImage, element, function (newImageSizedSrc, newImage, element) { $('#thumblist_quickview img').each(function() { var parentThumbImg = $(this).parent(); var productImage = $(this).parent().data("image"); if (newImageSizedSrc.includes(productImage)) { $(this).parent().trigger('click'); return false; } }); }); $('#product-featured-image-quickview').attr('src',variant.featured_image.src); } };