Ceiling Lamp Retro industrial wind embedded living room dining room bedroom ceiling lamp
${function() {
const variantData = data.variant || {"id":"a7b842a8-2484-45f0-8de1-5483f08f6567","product_id":"156e538f-39e0-4128-b01c-ca99f58bc3ff","title":"As show-A-Without light source","weight_unit":"g","inventory_quantity":0,"sku":"211217-308-As show-A-Without light source","barcode":"","position":1,"option1":"As show","option2":"A-Without light source","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/512284e58fcfb414e4ff6e863514f5a9.jpeg","path":"512284e58fcfb414e4ff6e863514f5a9.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":153.79,"min_quantity":1}],"weight":"0","compare_at_price":"200.99","price":"153.79","retail_price":"200.99","available":true,"url":"\/products\/ceiling-lamp-retro-industrial-wind-embedded-living-room-dining-room-bedroom-ceiling-lamp?variant=a7b842a8-2484-45f0-8de1-5483f08f6567","available_quantity":999999999,"options":[{"name":"Color","value":"As show"},{"name":"Light source","value":"A-Without light source"}],"off_ratio":23,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
(Tax included)
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
(Tax included)
`;
}()}
Color:
As show
${function(){
const optName = "Color";
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:
A-Without light source
${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
$153.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":"a7b842a8-2484-45f0-8de1-5483f08f6567","product_id":"156e538f-39e0-4128-b01c-ca99f58bc3ff","title":"As show-A-Without light source","weight_unit":"g","inventory_quantity":0,"sku":"211217-308-As show-A-Without light source","barcode":"","position":1,"option1":"As show","option2":"A-Without light source","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/512284e58fcfb414e4ff6e863514f5a9.jpeg","path":"512284e58fcfb414e4ff6e863514f5a9.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":153.79,"min_quantity":1}],"weight":"0","compare_at_price":"200.99","price":"153.79","retail_price":"200.99","available":true,"url":"\/products\/ceiling-lamp-retro-industrial-wind-embedded-living-room-dining-room-bedroom-ceiling-lamp?variant=a7b842a8-2484-45f0-8de1-5483f08f6567","available_quantity":999999999,"options":[{"name":"Color","value":"As show"},{"name":"Light source","value":"A-Without light source"}],"off_ratio":23,"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 : 211217-308-As show-A-Without light source
${function(){
const variantData = data.variant || {"id":"a7b842a8-2484-45f0-8de1-5483f08f6567","product_id":"156e538f-39e0-4128-b01c-ca99f58bc3ff","title":"As show-A-Without light source","weight_unit":"g","inventory_quantity":0,"sku":"211217-308-As show-A-Without light source","barcode":"","position":1,"option1":"As show","option2":"A-Without light source","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/512284e58fcfb414e4ff6e863514f5a9.jpeg","path":"512284e58fcfb414e4ff6e863514f5a9.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":153.79,"min_quantity":1}],"weight":"0","compare_at_price":"200.99","price":"153.79","retail_price":"200.99","available":true,"url":"\/products\/ceiling-lamp-retro-industrial-wind-embedded-living-room-dining-room-bedroom-ceiling-lamp?variant=a7b842a8-2484-45f0-8de1-5483f08f6567","available_quantity":999999999,"options":[{"name":"Color","value":"As show"},{"name":"Light source","value":"A-Without light source"}],"off_ratio":23,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}