Modern loft hanging Glass Pendant Light industrial lustre decor Lights Fixtures E27/G9 for Living Room Kitchen Restaurant Lamp
${function() {
const variantData = data.variant || {"id":"a2573b8f-9356-465f-8d06-ebd9388ec111","product_id":"db7d34e8-5f60-4759-974b-823e573eaf52","title":"BS25cm-Without bulb","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"BS25cm","option2":"Without bulb","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a506c1353384eba998407a8985655718.jpeg","path":"a506c1353384eba998407a8985655718.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":72.39,"min_quantity":1}],"weight":"0","compare_at_price":"120.65","price":"72.39","retail_price":"120.65","available":true,"url":"\/products\/modern-loft-hanging-glass-pendant-light-industrial-lustre-decor-lights-fixtures-e27-g9-for-living-room-kitchen-restaurant-lamp?variant=a2573b8f-9356-465f-8d06-ebd9388ec111","available_quantity":999999999,"options":[{"name":"Body Color","value":"BS25cm"},{"name":"Emitting Color","value":"Without bulb"}],"off_ratio":40,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"a2573b8f-9356-465f-8d06-ebd9388ec111","product_id":"db7d34e8-5f60-4759-974b-823e573eaf52","title":"BS25cm-Without bulb","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"BS25cm","option2":"Without bulb","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a506c1353384eba998407a8985655718.jpeg","path":"a506c1353384eba998407a8985655718.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":72.39,"min_quantity":1}],"weight":"0","compare_at_price":"120.65","price":"72.39","retail_price":"120.65","available":true,"url":"\/products\/modern-loft-hanging-glass-pendant-light-industrial-lustre-decor-lights-fixtures-e27-g9-for-living-room-kitchen-restaurant-lamp?variant=a2573b8f-9356-465f-8d06-ebd9388ec111","available_quantity":999999999,"options":[{"name":"Body Color","value":"BS25cm"},{"name":"Emitting Color","value":"Without bulb"}],"off_ratio":40,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minDays = parseInt('15');
const maxDays = parseInt('30');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}