Nordic Minimalist Industrial Style Table Lamp Creative Post-Modern Designer Bedroom Bedside Study Bar Glass Decorative Lighting
${function() {
const variantData = data.variant || {"id":"42860b68-d060-4fd7-bc23-97038eb365b9","product_id":"9e58ef44-314c-46a8-905b-42ea2981d415","title":"D30xH35cm-Warm Light","weight_unit":"lb","inventory_quantity":194,"sku":"3256802578695566-D30xH35cm-Warm Light","barcode":"","position":1,"option1":"D30xH35cm","option2":"Warm Light","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/114df85a20fd53d4df88e497358694bb.jpeg","path":"114df85a20fd53d4df88e497358694bb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":540.79,"min_quantity":1}],"weight":"0","compare_at_price":"712.99","price":"540.79","retail_price":"712.99","available":true,"url":"\/products\/nordic-minimalist-industrial-style-table-lamp-creative-post-modern-designer-bedroom-bedside-study-bar-glass-decorative-lighting?variant=42860b68-d060-4fd7-bc23-97038eb365b9","available_quantity":999999999,"options":[{"name":"Body Color","value":"D30xH35cm"},{"name":"Wattage","value":"Warm Light"}],"off_ratio":24,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
(Tax included)
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
(Tax included)
`;
}()}
Body Color:
D30xH35cm
${function(){
const optName = "Body 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}
`
}()}
Wattage:
Warm Light
${function(){
const optName = "Wattage";
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
$540.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":"42860b68-d060-4fd7-bc23-97038eb365b9","product_id":"9e58ef44-314c-46a8-905b-42ea2981d415","title":"D30xH35cm-Warm Light","weight_unit":"lb","inventory_quantity":194,"sku":"3256802578695566-D30xH35cm-Warm Light","barcode":"","position":1,"option1":"D30xH35cm","option2":"Warm Light","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/114df85a20fd53d4df88e497358694bb.jpeg","path":"114df85a20fd53d4df88e497358694bb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":540.79,"min_quantity":1}],"weight":"0","compare_at_price":"712.99","price":"540.79","retail_price":"712.99","available":true,"url":"\/products\/nordic-minimalist-industrial-style-table-lamp-creative-post-modern-designer-bedroom-bedside-study-bar-glass-decorative-lighting?variant=42860b68-d060-4fd7-bc23-97038eb365b9","available_quantity":999999999,"options":[{"name":"Body Color","value":"D30xH35cm"},{"name":"Wattage","value":"Warm Light"}],"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 : 3256802578695566-D30xH35cm-Warm Light
${function(){
const variantData = data.variant || {"id":"42860b68-d060-4fd7-bc23-97038eb365b9","product_id":"9e58ef44-314c-46a8-905b-42ea2981d415","title":"D30xH35cm-Warm Light","weight_unit":"lb","inventory_quantity":194,"sku":"3256802578695566-D30xH35cm-Warm Light","barcode":"","position":1,"option1":"D30xH35cm","option2":"Warm Light","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/114df85a20fd53d4df88e497358694bb.jpeg","path":"114df85a20fd53d4df88e497358694bb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":540.79,"min_quantity":1}],"weight":"0","compare_at_price":"712.99","price":"540.79","retail_price":"712.99","available":true,"url":"\/products\/nordic-minimalist-industrial-style-table-lamp-creative-post-modern-designer-bedroom-bedside-study-bar-glass-decorative-lighting?variant=42860b68-d060-4fd7-bc23-97038eb365b9","available_quantity":999999999,"options":[{"name":"Body Color","value":"D30xH35cm"},{"name":"Wattage","value":"Warm Light"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}