Ceiling Lamp Living Room Lamp Modern Simple Atmosphere Light Luxury Enamel Color Master Bedroom Room Full House Lamps
${function() {
const variantData = data.variant || {"id":"5b283d06-049c-4212-a849-a0ddf6ed90a1","product_id":"35e74b60-c561-429e-bbbc-237f9dc61c3c","title":"Dia51CM-Tri-color dimming","weight_unit":"g","inventory_quantity":0,"sku":"211201-311-Dia51CM-Tri-color dimming","barcode":"","position":1,"option1":"Dia51CM","option2":"Tri-color dimming","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b40775e90e53b86d8dc96d6f7410780a.jpeg","path":"b40775e90e53b86d8dc96d6f7410780a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":524.79,"min_quantity":1}],"weight":"0","compare_at_price":"691.99","price":"524.79","retail_price":"691.99","available":true,"url":"\/products\/ceiling-lamp-living-room-lamp-modern-simple-atmosphere-light-luxury-enamel-color-master-bedroom-room-full-house-lamps?variant=5b283d06-049c-4212-a849-a0ddf6ed90a1","available_quantity":999999999,"options":[{"name":"Size","value":"Dia51CM"},{"name":"Light source","value":"Tri-color dimming"}],"off_ratio":24,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
(Tax included)
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
(Tax included)
`;
}()}
Size:
Dia51CM
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Light Source:
Tri-color dimming
${function(){
const optName = "Light source";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$524.79
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"5b283d06-049c-4212-a849-a0ddf6ed90a1","product_id":"35e74b60-c561-429e-bbbc-237f9dc61c3c","title":"Dia51CM-Tri-color dimming","weight_unit":"g","inventory_quantity":0,"sku":"211201-311-Dia51CM-Tri-color dimming","barcode":"","position":1,"option1":"Dia51CM","option2":"Tri-color dimming","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b40775e90e53b86d8dc96d6f7410780a.jpeg","path":"b40775e90e53b86d8dc96d6f7410780a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":524.79,"min_quantity":1}],"weight":"0","compare_at_price":"691.99","price":"524.79","retail_price":"691.99","available":true,"url":"\/products\/ceiling-lamp-living-room-lamp-modern-simple-atmosphere-light-luxury-enamel-color-master-bedroom-room-full-house-lamps?variant=5b283d06-049c-4212-a849-a0ddf6ed90a1","available_quantity":999999999,"options":[{"name":"Size","value":"Dia51CM"},{"name":"Light source","value":"Tri-color dimming"}],"off_ratio":24,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
Sku : 211201-311-Dia51CM-Tri-color dimming
${function(){
const variantData = data.variant || {"id":"5b283d06-049c-4212-a849-a0ddf6ed90a1","product_id":"35e74b60-c561-429e-bbbc-237f9dc61c3c","title":"Dia51CM-Tri-color dimming","weight_unit":"g","inventory_quantity":0,"sku":"211201-311-Dia51CM-Tri-color dimming","barcode":"","position":1,"option1":"Dia51CM","option2":"Tri-color dimming","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b40775e90e53b86d8dc96d6f7410780a.jpeg","path":"b40775e90e53b86d8dc96d6f7410780a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":524.79,"min_quantity":1}],"weight":"0","compare_at_price":"691.99","price":"524.79","retail_price":"691.99","available":true,"url":"\/products\/ceiling-lamp-living-room-lamp-modern-simple-atmosphere-light-luxury-enamel-color-master-bedroom-room-full-house-lamps?variant=5b283d06-049c-4212-a849-a0ddf6ed90a1","available_quantity":999999999,"options":[{"name":"Size","value":"Dia51CM"},{"name":"Light source","value":"Tri-color dimming"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}