","summary":"
\n","template_layout":null,"available":true,"tags":["Banh ty","onspa","ShinTung","Van khoa"],"price":0.0000,"price_min":0.0000,"price_max":0.0000,"price_varies":false,"compare_at_price":0.0000,"compare_at_price_min":0.0000,"compare_at_price_max":0.0000,"compare_at_price_varies":false,"variants":[{"id":24262511,"barcode":"T040107K3","sku":"T040107K3","title":"Default Title","options":["Default Title"],"option1":"Default Title","option2":null,"option3":null,"available":true,"taxable":false,"price":0.0000,"compare_at_price":0.0000,"inventory_management":"bizweb","inventory_policy":"continue","inventory_quantity":100,"weight_unit":"g","weight":50,"requires_shipping":true,"image":null}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/321/071/products/1485076709.jpg?v=1555491304170"},"images":[{"src":"https://bizweb.dktcdn.net/100/321/071/products/1485076709.jpg?v=1555491304170"}],"options":["Title"],"created_on":"2019-04-17T15:54:27","modified_on":"2019-04-17T15:55:19","published_on":"2019-04-03T16:06:00"};
VAN KHÓA ĐỒNG (2 NGÃ) CODE T040107K3
-
Tình trạng:
Còn hàng
-
Thương hiệu:
ShinTung-Onspa
-
Mã sản phẩm:
T040107K3
Nguyên liệu:
Tay: Zinc alloy
Thân: Brass
Lõi bên trong: Ceramic, Brass and Silicon
Quy cách :
Độ dày: ≥ 2mm
Răng nối: G1/2"
Số lần vặn tối đa: 100,000
Nhiệt độ: 0°C ≤ TEMP.(°C) ≤ 60°C
Áp lực tối đa: ≤ 5 kg/cm²
","summary":"
\n","template_layout":null,"available":true,"tags":["Banh ty","onspa","ShinTung","Van khoa"],"price":0.0000,"price_min":0.0000,"price_max":0.0000,"price_varies":false,"compare_at_price":0.0000,"compare_at_price_min":0.0000,"compare_at_price_max":0.0000,"compare_at_price_varies":false,"variants":[{"id":24262511,"barcode":"T040107K3","sku":"T040107K3","title":"Default Title","options":["Default Title"],"option1":"Default Title","option2":null,"option3":null,"available":true,"taxable":false,"price":0.0000,"compare_at_price":0.0000,"inventory_management":"bizweb","inventory_policy":"continue","inventory_quantity":100,"weight_unit":"g","weight":50,"requires_shipping":true,"image":null}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/321/071/products/1485076709.jpg?v=1555491304170"},"images":[{"src":"https://bizweb.dktcdn.net/100/321/071/products/1485076709.jpg?v=1555491304170"}],"options":["Title"],"created_on":"2019-04-17T15:54:27","modified_on":"2019-04-17T15:55:19","published_on":"2019-04-03T16:06:00"};
var selectCallback = function(variant, selector) {
if (variant) {
var form = jQuery('#' + selector.domIdPrefix).closest('form');
for (var i=0,length=variant.options.length; i
Chỉ còn ' + variant.inventory_quantity +' sản phẩm');
max.attr("max", variant.inventory_quantity);
max.val(1);
} else if (variant.inventory_quantity == ''){
qty.html('Hết hàng');
}
}else{
qty.html('Còn hàng');
}
addToCart.html('Mua ngay
Đặt hàng online, giao hàng tận nơi').removeAttr('disabled');
qtyBtn.removeClass('hidden');
if(variant.price == 0){
productPrice.html('Liên hệ');
comparePrice.hide();
savePrice.hide();
comparePriceText.hide();
savePriceText.hide();
form.addClass('hidden');
}else{
form.removeClass('hidden');
productPrice.html(Bizweb.formatMoney(variant.price, "{{amount_no_decimals_with_comma_separator}}₫"));
// Also update and show the product's compare price if necessary
if ( variant.compare_at_price > variant.price ) {
comparePrice.html(Bizweb.formatMoney(variant.compare_at_price, "{{amount_no_decimals_with_comma_separator}}₫")).show();
savePrice.html(Bizweb.formatMoney(variant.compare_at_price - variant.price, "{{amount_no_decimals_with_comma_separator}}₫")).show();
comparePriceText.show();
savePriceText.show();
} else {
comparePrice.hide();
savePrice.hide();
comparePriceText.hide();
savePriceText.hide();
}
}
} else {
qty.html('Hết hàng');
addToCart.text('Hết hàng').attr('disabled', 'disabled');
qtyBtn.addClass('hidden');
if(variant){
if(variant.price != 0){
form.removeClass('hidden');
productPrice.html(Bizweb.formatMoney(variant.price, "{{amount_no_decimals_with_comma_separator}}₫"));
// Also update and show the product's compare price if necessary
if ( variant.compare_at_price > variant.price ) {
comparePrice.html(Bizweb.formatMoney(variant.compare_at_price, "{{amount_no_decimals_with_comma_separator}}₫")).show();
savePrice.html(Bizweb.formatMoney(variant.compare_at_price - variant.price, "{{amount_no_decimals_with_comma_separator}}₫")).show();
comparePriceText.show();
savePriceText.show();
} else {
comparePrice.hide();
savePrice.hide();
comparePriceText.hide();
savePriceText.hide();
}
}else{
productPrice.html('Liên hệ');
comparePrice.hide();
savePrice.hide();
comparePriceText.hide();
savePriceText.hide();
form.addClass('hidden');
}
}else{
productPrice.html('Liên hệ');
comparePrice.hide();
savePrice.hide();
comparePriceText.hide();
savePriceText.hide();
form.addClass('hidden');
}
}
/*begin variant image*/
if (variant && variant.image) {
var originalImage = jQuery(".large-image img");
var newImage = variant.image;
var element = originalImage[0];
Bizweb.Image.switchImage(newImage, element, function (newImageSizedSrc, newImage, element) {
jQuery(element).parents('a').attr('href', newImageSizedSrc);
jQuery(element).attr('src', newImageSizedSrc);
});
$('.checkurl').attr('href',$(this).attr('data-image'));
$('.zoomContainer').remove();
$('#zoom_01').removeData('elevateZoom');
setTimeout(function(){
$('.zoomContainer').remove();
$('#zoom_01').removeData('elevateZoom');
$('#zoom_01').elevateZoom({
gallery:'gallery_01',
zoomWindowWidth:420,
zoomWindowHeight:500,
zoomWindowOffetx: 10,
easing : true,
scrollZoom : true,
cursor: 'pointer',
galleryActiveClass: 'active',
imageCrossfade: true
});
},300);
}
/*end of variant image*/
};
jQuery(function($) {
// Add label if only one product option and it isn't 'Title'. Could be 'Size'.
// Hide selectors if we only have 1 variant and its title contains 'Default'.
$('.selector-wrapper').hide();
$('.selector-wrapper').css({
'text-align':'left',
'margin-bottom':'15px'
});
});
jQuery('.swatch :radio').change(function() {
var optionIndex = jQuery(this).closest('.swatch').attr('data-option-index');
var optionValue = jQuery(this).val();
jQuery(this)
.closest('form')
.find('.single-option-selector')
.eq(optionIndex)
.val(optionValue)
.trigger('change');
});
$(document).ready(function() {
setTimeout(function(){
$('.zoomContainer').remove();
$('#zoom_01').removeData('elevateZoom');
$('#zoom_01').elevateZoom({
gallery:'gallery_01',
zoomWindowWidth:420,
zoomWindowHeight:500,
zoomWindowOffetx: 10,
easing : true,
scrollZoom : true,
cursor: 'pointer',
galleryActiveClass: 'active',
imageCrossfade: true
});
},500);
jQuery('.thumb-link').on('click', function(event) {
var largeImage = jQuery(this).attr('data-image');
var smallImage = jQuery(this).find('img', 0).attr('src');
var ez = jQuery('#zoom_01').data('elevateZoom');
ez.swaptheimage(largeImage, largeImage);
jQuery('.large-image > .zoomWrapper > img').attr('data-zoom-image', jQuery(this).attr('data-lightbox-image'));
event.stopPropagation();
event.preventDefault();
});
jQuery("#gallery_01").owlCarousel({
loop:false,
margin:10,
responsiveClass:true,
dots:false,
nav:true,
items: 4,
responsive:{
0:{
items:4
},
600:{
items:4
},
1000:{
items:4
}
}
});
});
$('#gallery_01 img, .swatch-element label').click(function(e){
$('.checkurl').attr('href',$(this).attr('data-image'));
$('.zoomWindowContainer > div').attr('href',$(this).attr('data-image'));
var ths = $(this).attr('data-img');
$('.large-image .checkurl').attr('href', ths);
$('.large-image .checkurl img').attr('src', ths);
var thumbLargeimg = $('.details-product .large-image a').attr('href').split('?')[0];
var thumMedium = $('#gallery_01 .owl-item .item a').find('img').attr('src');
var url = [];
$('.zoomContainer').remove();
$('#zoom_01').removeData('elevateZoom');
$('#zoom_01').elevateZoom({
gallery:'gallery_01',
zoomWindowWidth:420,
zoomWindowHeight:500,
zoomWindowOffetx: 10,
easing : true,
scrollZoom : true,
cursor: 'pointer',
galleryActiveClass: 'active',
imageCrossfade: true
});
})