×
HERSHEY’S
HERSHEY’S - NUGGETS SPECIAL DARK WITH ALMONDS (CHOCOLATE ĐẮNG & HẠNH NHÂN 286G)
Mô tả sản phẩm
- Socola đen Hershey hạnh nhân Hershey’s Nuggets Special Dark With Almonds là sự kết hợp của socola đen và hạnh nhân. Bạn sẽ cảm nhận vị nguyên gốc của socola đắng nhẹ, và giòn giòn, bùi bùi của hạt hạnh nhân bên trong.
- Kẹo socola đen Hershey’s Nuggets là món quà cho những bữa tiệc sang trọng, ngọt ngào, những bữa sum họp gia đình, bạn bè…
- Món ăn dinh dưỡng này bạn sẽ nhận được lợi ích sức khỏe từ công dụng tuyệt vời của socola.
HERSHEY’S - NUGGETS SPECIAL DARK WITH ALMONDS (CHOCOLATE ĐẮNG & HẠNH NHÂN 286G)
","summary":null,"template_layout":null,"available":false,"tags":[],"price":240000.0000,"price_min":240000.0000,"price_max":240000.0000,"price_varies":false,"compare_at_price":0,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":39949351,"barcode":"034000018741","sku":"034000018741","title":"Default Title","options":["Default Title"],"option1":"Default Title","option2":null,"option3":null,"available":false,"taxable":true,"price":240000.0000,"compare_at_price":null,"inventory_management":"bizweb","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"g","weight":250,"requires_shipping":true,"image":{"src":"https://bizweb.dktcdn.net/100/414/020/products/f191a82a-9822-4905-9ec5-db9fcb5b6cae.jpg?v=1672238823313"}}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-d70654d5-d32c-4583-bb83-4b4a1c00ac46.jpg?v=1672238807827"},"images":[{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-d70654d5-d32c-4583-bb83-4b4a1c00ac46.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-4e5e6a59-67f7-458f-8f40-efcdbc1bf53e.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-455956f1-9950-42c4-af68-331366d7086c.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-4f0a5c9d-612d-4160-ba11-46922f4c276c.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-e1498c59-0422-4669-9216-7f27bc61ea4b.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-c6565634-1220-4587-ae0f-815943679e80.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/f191a82a-9822-4905-9ec5-db9fcb5b6cae.jpg?v=1672238823313"}],"options":["Title"],"created_on":"2020-12-24T22:18:06","modified_on":"2024-03-15T15:58:40","published_on":"2022-06-02T13:41:58"}
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();
}
}
function changeContactFormBody (sku){
$('#comment').val(`Đăng ký nhận thông báo khi có hàng. Sản phảm: HERSHEY’S - NUGGETS SPECIAL DARK WITH ALMONDS (CHOCOLATE ĐẮNG & HẠNH NHÂN 286G). SKU: ${sku}`)
}
changeContactFormBody('034000018741')
var selectCallback = function (variant, selector) {
if (variant) {
var form = jQuery('#' + selector.domIdPrefix).closest('form');
for (var i = 0, length = variant.options.length; i < length; i++) {
var radioButton = form.find('.swatch[data-option-index="' + i + '"] :radio[value="' + variant.options[i] + '"]');
if (radioButton.size()) {
radioButton.get(0).checked = true;
}
}
}
var addToCart = jQuery('.form-product .add_to_cart'),
buyNow = jQuery('.form-product .buynow'),
group = jQuery('.form_product_content'),
form = jQuery('.form-product .button_actions'),
form2 = jQuery('.soluong'),
product_sku = jQuery('.details-pro .product_sku .status_name'),
productPrice = jQuery('.details-pro .special-price .product-price'),
qty = jQuery('.first_status .availabel'),
sale = jQuery('.details-pro .old-price .product-price-old'),
comparePrice = jQuery('.details-pro .old-price .product-price-old'),
discountLabel= jQuery('.details-pro .label_product'),
savePrice = jQuery('.details-pro .save-price'),
vat = jQuery('.form-group .vat');
/* SKU */
if (variant && variant.sku != "" && variant.sku != null) {
product_sku.html(variant.sku);
changeContactFormBody(variant.sku)
} else {
product_sku.html('Đang cập nhật');
changeContactFormBody('')
}
/*** VAT ***/
if (variant) {
if (variant.taxable) {
$('.form-group').removeClass('hidden').find('.vat').text('(Đã bao gồm VAT)');
} else {
$('.form-group').removeClass('hidden').find('.vat').text('(Chưa bao gồm VAT)');
}
}
if (variant && variant.available) {
if (variant.inventory_management == "bizweb" || variant.inventory_management == "sapo") {
if (variant.inventory_quantity != 0 ) {
qty.html(' Còn hàng');
} else if (variant.inventory_quantity == '') {
qty.html(' Hết hàng');
}
} else {
qty.html(' Còn hàng');
}
group.removeClass('hidden');
addToCart.html('Thêm vào giỏ ').removeAttr('disabled').removeAttr('disabled').removeClass('hidden');;
buyNow.html('Mua ngay ').removeAttr('disabled').removeClass('hidden');
$('#stock-notify').addClass('hidden')
if (variant.price == 0) {
productPrice.html('Liên hệ');
comparePrice.hide();
discountLabel.hide();
savePrice.hide();
form.addClass('hidden');
vat.addClass('hidden');
form2.addClass('hidden');
sale.removeClass('sale');
group.addClass('hidden');
$('#stock-notify').addClass('hidden')
if (variant.inventory_management == "bizweb" || variant.inventory_management == "sapo") {
if (variant.inventory_quantity != 0) {
qty.html(' Còn hàng');
} else if (variant.inventory_quantity == '') {
qty.html(' Hết hàng');
}
} else {
qty.html(' Còn hàng');
}
} 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) {
let save = variant.compare_at_price - variant.price
discountLabel.html(`-${Math.ceil(save / variant.compare_at_price * 100)}%`).show()
savePrice.html(`(Tiết kiệm ${Bizweb.formatMoney(save, "{{amount_no_decimals_with_comma_separator}}₫")} )`).show();
comparePrice.html(Bizweb.formatMoney(variant.compare_at_price, "{{amount_no_decimals_with_comma_separator}}₫")).show();
sale.addClass('sale');
if (variant.inventory_management == "bizweb" || variant.inventory_management == "sapo") {
if (variant.inventory_quantity != 0) {
qty.html(' Còn hàng');
form2.removeClass('hidden');
form.removeClass('hidden');
vat.removeClass('hidden');
} else if (variant.inventory_quantity == '') {
qty.html(' Còn hàng');
form2.removeClass('hidden');
form.removeClass('hidden');
vat.removeClass('hidden');
}
} else {
qty.html(' Còn hàng');
form2.removeClass('hidden');
form.removeClass('hidden');
vat.removeClass('hidden');
}
} else {
comparePrice.hide();
discountLabel.hide();
savePrice.hide();
sale.removeClass('sale');
form2.removeClass('hidden');
vat.removeClass('hidden');
if (variant.inventory_management == "bizweb" || variant.inventory_management == "sapo") {
if (variant.inventory_quantity != 0) {
qty.html(' Còn hàng');
form2.removeClass('hidden');
form.removeClass('hidden');
} else if (variant.inventory_quantity == '') {
qty.html(' Còn hàng');
form2.removeClass('hidden');
form.removeClass('hidden');
}
} else {
qty.html(' Còn hàng');
form2.removeClass('hidden');
form.removeClass('hidden');
}
}
}
} else {
addToCart.html('Hết hàng ').attr('disabled', 'disabled');
buyNow.html('Hết hàng ').attr('disabled', 'disabled').addClass('hidden');
qty.html('Hết hàng');
$('#stock-notify').removeClass('hidden')
form.removeClass('hidden');
form2.addClass('hidden');
group.removeClass('hidden');
vat.removeClass('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) {
form.addClass('hidden');
let save = variant.compare_at_price - variant.price
discountLabel.html(`-${Math.ceil(save / variant.compare_at_price * 100)}%`).show()
savePrice.html(`(Tiết kiệm ${Bizweb.formatMoney(save, "{{amount_no_decimals_with_comma_separator}}₫")} )`).show();
comparePrice.html(Bizweb.formatMoney(variant.compare_at_price, "{{amount_no_decimals_with_comma_separator}}₫")).show();
sale.addClass('sale');
addToCart.html('Hết hàng ').attr('disabled', 'disabled').removeClass('hidden');
buyNow.html('Hết hàng ').attr('disabled', 'disabled').addClass('hidden')
$('#stock-notify').removeClass('hidden')
if (variant.inventory_management == "bizweb" || variant.inventory_management == "sapo") {
if (variant.inventory_quantity != 0 && variant.available) {
qty.html(' Còn hàng');
} else {
qty.html(' Hết hàng');
form2.addClass('hidden');
form.removeClass('hidden');
}
} else {
qty.html(' Còn hàng');
}
} else {
discountLabel.hide();
savePrice.hide();
comparePrice.hide();
vat.removeClass('hidden');
sale.removeClass('sale');
form.addClass('hidden');
addToCart.html('Hết hàng ').attr('disabled', 'disabled').removeClass('hidden');
buyNow.html('Hết hàng ').attr('disabled', 'disabled')
$('#stock-notify').removeClass('hidden')
if (variant.inventory_management == "bizweb" || variant.inventory_management == "sapo") {
if (variant.inventory_quantity != 0 && variant.available) {
qty.html(' Còn hàng');
} else{
form2.addClass('hidden');
qty.html(' Hết hàng');
form.removeClass('hidden');
}
} else {
qty.html(' Còn hàng');
}
}
} else {
productPrice.html('Liên hệ');
form2.addClass('hidden');
vat.addClass('hidden');
comparePrice.hide();
discountLabel.hide();
savePrice.hide();
form.removeClass('hidden');
sale.removeClass('sale');
$('#stock-notify').addClass('hidden')
}
} else {
productPrice.html('Liên hệ');
form2.addClass('hidden');
vat.addClass('hidden');
comparePrice.hide();
discountLabel.hide();
savePrice.hide();
form.addClass('hidden');
sale.removeClass('sale');
$('#stock-notify').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) {
$('.slider-nav .slick-slide').each(function () {
var $this = $(this);
var imgThis = $this.find('img').attr('data-img');
if (newImage.src.split("?")[0] == imgThis.split("?")[0]) {
var pst = $this.attr('data-slick-index');
jQuery(".slider-for").slick('slickGoTo', pst);
$('.pict.image').attr('src',newImage.src)
}
});
});
setTimeout(function () {
$('.checkurl').attr('href', $(this).attr('src'));
if (ww >= 1200) {
}
}, 200);
}
};
jQuery('.swatch .swatch-element :radio').change(function() {
var optionIndex = jQuery(this).closest('.swatch').attr('data-option-index');
var optionValue = jQuery(this).val();
$(`.single-option-selector[data-option="option${+optionIndex+1}"]`)
.val(optionValue)
.trigger('change');
});
$('#ega-sticky-addcart').on('change','.single-option-selector',function(e){
var optionIndex = jQuery(e.target).data('option')
var optionValue = jQuery(e.target).val()
$(`.form-product .single-option-selector[data-option="${optionIndex}"]`)
.val(optionValue)
.trigger('change');
})
$(".dp-flex img").click(function(e){
e.preventDefault();
var hr = $(this).attr('data-src');
$('.checkurl ').attr('src',hr);
$('.large-image a').attr('data-href',hr);
});
if (ww >= 1200){
}
/*For recent product*/
var alias = 'hershey-s-nuggets-special-dark';
/*end*/
if (ww >= 1200){
}
","summary":null,"template_layout":null,"available":false,"tags":[],"price":240000.0000,"price_min":240000.0000,"price_max":240000.0000,"price_varies":false,"compare_at_price":0,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":39949351,"barcode":"034000018741","sku":"034000018741","title":"Default Title","options":["Default Title"],"option1":"Default Title","option2":null,"option3":null,"available":false,"taxable":true,"price":240000.0000,"compare_at_price":null,"inventory_management":"bizweb","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"g","weight":250,"requires_shipping":true,"image":{"src":"https://bizweb.dktcdn.net/100/414/020/products/f191a82a-9822-4905-9ec5-db9fcb5b6cae.jpg?v=1672238823313"}}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-d70654d5-d32c-4583-bb83-4b4a1c00ac46.jpg?v=1672238807827"},"images":[{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-d70654d5-d32c-4583-bb83-4b4a1c00ac46.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-4e5e6a59-67f7-458f-8f40-efcdbc1bf53e.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-455956f1-9950-42c4-af68-331366d7086c.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-4f0a5c9d-612d-4160-ba11-46922f4c276c.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-e1498c59-0422-4669-9216-7f27bc61ea4b.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/0ec8c238-a84a-4d06-97b0-2d73b36145d8-c6565634-1220-4587-ae0f-815943679e80.jpg?v=1672238807827"},{"src":"https://bizweb.dktcdn.net/100/414/020/products/f191a82a-9822-4905-9ec5-db9fcb5b6cae.jpg?v=1672238823313"}],"options":["Title"],"created_on":"2020-12-24T22:18:06","modified_on":"2024-03-15T15:58:40","published_on":"2022-06-02T13:41:58"}
function onQtyChange(){
let qty = parseInt($('.pd-qtym').val())
let variantId = parseInt($('#product-selectors').val()) || parseInt($('.details-product [name="variantId"]').val())
let validQty = validateQty(productDetail,variantId, qty)
validQty && $('.pd-qtym').val(validQty)
}
function onQtyCRChange(){
let qty = parseInt($('.cr-qty-input').val())
console.log(qty)
let variantId = window.EGACRAddonSettings.variantId
let validQty = validateQty(productDetail,variantId, qty)
if(validQty){
window.EGACRAddon.updateQty(validQty)
}
}
let isProductInit = false
$(document).ready(function (e) {
$('#gallery_02').slick({
slidesToShow: 4,
slidesToScroll: 1,
asNavFor: '.slider-for',
dots: false,
arrows: false,
focusOnSelect: true,
infinite: false,
});
$(window).on('scroll mousemove touchstart',()=>{
if(isProductInit) return
isProductInit = true
$('#gallery_1').lightGallery({
thumbnail: false,
youtubePlayerParams: { autoplay: 1 }
});
var wDW = $(window).width();
$('#gallery_1').slick({
autoplay: false,
autoplaySpeed: 6000,
dots: false,
arrows: true,
infinite: false,
speed: 300,
slidesToShow: 1,
slidesToScroll: 1,
asNavFor: '#gallery_02'
})
let prevPos = 0
$('#gallery_1 .item').on('mousedown', function(e){
prevPos = e.pageX
$(this).one('mouseup', function(e){
$(this).off('mousemove');
$('#gallery_1 .item').css('pointer-events','initial')
}).on('mousemove', function(e){
if(prevPos !== e.pageX){
prev = e.pageX
$('#gallery_1 .item').css('pointer-events','none')
e.preventDefault()
}
});
});
$('#gallery_1').on('swipe', function(event, slick, currentSlide, nextSlide){
$('#gallery_1 .item').css('pointer-events','none')
});
$('#gallery_1').on('beforeChange', function(event, slick, currentSlide, nextSlide){
$('#gallery_1 .item').css('pointer-events','initial')
});
$('#gallery_1').on('afterChange', function(event, slick, currentSlide, nextSlide){
$('#gallery_1 .item').css('pointer-events','initial')
});
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'
});
$('#ega-sticky-addcart .box-variant').append($('.selector-wrapper').clone())
});
// load more content
var $proContent = $('#content');
if($proContent.height() > 625){
$('.ega-pro__seemore').show();
$('.ega-pro__seemore').click(function(){
$(this).toggleClass("show");
if($(this).hasClass('show')){
$('.product_getcontent').css("maxHeight","none");
$(this).find('a').html('Thu gọn')
}else{
$('.product_getcontent').css("maxHeight","500px");
$(this).find('a').html('Xem thêm')
}
})
}else{
$('.ega-pro__seemore').hide();
}
// set recent view
function setProductRecent(){
try{
let productUrl = 'hershey-s-nuggets-special-dark'
let storage = JSON.parse(localStorage.getItem('recentProduct')) || []
if(storage && !storage.includes(productUrl) ){
storage = [productUrl].concat(storage)
storage.length > 7 && storage.pop()
localStorage.setItem('recentProduct', JSON.stringify(storage))
}}catch(e){
console.log(e)
}
}
setProductRecent()
$(document).on('change', '#qtym',onQtyChange)
$(document).on('click', '.btn_num',onQtyChange)
$(document).on('click', '.cr-qty-btn',onQtyCRChange)
$(document).on('change','.cr-qty-input',onQtyCRChange)
$(document).on('click','.sapo-product-reviews-badge', function(){
$('html,body').animate({scrollTop: $('#section-review').offset().top},300)
})
})
$(".action-buy").click(function(){
$("#add-to-cart-form .add_to_cart").trigger("click");
})
$("#qtym").change(function(){
debugger;
})
$('#ega-sticky-addcart .add_to_cart').click(()=>{
$('.details-product .add_to_cart').trigger('click');
})
});
abc
Thương hiệu:
|
Mã sản phẩm: