","summary":"
Phụ kiện Panel gắn nổi dành cho đèn Led Panel Tấm 1200x300
\n","template_layout":null,"available":true,"tags":["MPE","Phụ kiện"],"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":24282461,"barcode":"SMPL-12030","sku":"SMPL-12030","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":300,"requires_shipping":true,"image":null}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/321/071/products/phu-kien-panel-gan-noi-977e3e2b-412a-42f8-9f80-674ec223be3a-9e35219e-60c6-4faf-bc58-4228d2ed0f4f-fb52dae6-8e72-46dc-93ab-2ae5e5b4ca29.jpg?v=1555577285763"},"images":[{"src":"https://bizweb.dktcdn.net/100/321/071/products/phu-kien-panel-gan-noi-977e3e2b-412a-42f8-9f80-674ec223be3a-9e35219e-60c6-4faf-bc58-4228d2ed0f4f-fb52dae6-8e72-46dc-93ab-2ae5e5b4ca29.jpg?v=1555577285763"}],"options":["Title"],"created_on":"2019-04-18T15:48:05","modified_on":"2019-04-18T15:49:12","published_on":"2019-04-17T16:10:00"};
PHỤ KIỆN PANEL GẮN NỔI MPE SMPL-12030
-
Tình trạng:
Còn hàng
-
Thương hiệu:
MPE
-
Mã sản phẩm:
SMPL-12030
","summary":"
Phụ kiện Panel gắn nổi dành cho đèn Led Panel Tấm 1200x300
\n","template_layout":null,"available":true,"tags":["MPE","Phụ kiện"],"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":24282461,"barcode":"SMPL-12030","sku":"SMPL-12030","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":300,"requires_shipping":true,"image":null}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/321/071/products/phu-kien-panel-gan-noi-977e3e2b-412a-42f8-9f80-674ec223be3a-9e35219e-60c6-4faf-bc58-4228d2ed0f4f-fb52dae6-8e72-46dc-93ab-2ae5e5b4ca29.jpg?v=1555577285763"},"images":[{"src":"https://bizweb.dktcdn.net/100/321/071/products/phu-kien-panel-gan-noi-977e3e2b-412a-42f8-9f80-674ec223be3a-9e35219e-60c6-4faf-bc58-4228d2ed0f4f-fb52dae6-8e72-46dc-93ab-2ae5e5b4ca29.jpg?v=1555577285763"}],"options":["Title"],"created_on":"2019-04-18T15:48:05","modified_on":"2019-04-18T15:49:12","published_on":"2019-04-17T16:10: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
});
})