Moonlight Landscape Floor Lamp
${function() {
const variantData = data.variant || {"id":"d209f649-f7d2-448f-98f3-f0d06ba7efd1","product_id":"18c4d2af-94f4-42b8-a059-d968ee7a9d8a","title":"L 59.1\u2033(150cm) x H 47.2\u2033(120cm)-White-US Plug","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"L 59.1\u2033(150cm) x H 47.2\u2033(120cm)","option2":"White","option3":"US Plug","note":"","image":{"src":"\/\/img.staticdj.com\/8abf6cde926d1be32afdbde34f80d3a5.jpeg","path":"8abf6cde926d1be32afdbde34f80d3a5.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2650,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"2650","retail_price":"0","available":true,"url":"\/products\/moonlight-landscape-floor-lamp?variant=d209f649-f7d2-448f-98f3-f0d06ba7efd1","available_quantity":999999999,"options":[{"name":"Size","value":"L 59.1\u2033(150cm) x H 47.2\u2033(120cm)"},{"name":"Colour","value":"White"},{"name":"Plug options","value":"US Plug"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
L 59.1″(150cm) x H 47.2″(120cm)
${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}
`
}()}
Colour:
White
${function(){
const optName = "Colour";
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}
`
}()}
Plug Options:
US Plug
${function(){
const optName = "Plug options";
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
$2,650.00
${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":"d209f649-f7d2-448f-98f3-f0d06ba7efd1","product_id":"18c4d2af-94f4-42b8-a059-d968ee7a9d8a","title":"L 59.1\u2033(150cm) x H 47.2\u2033(120cm)-White-US Plug","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"L 59.1\u2033(150cm) x H 47.2\u2033(120cm)","option2":"White","option3":"US Plug","note":"","image":{"src":"\/\/img.staticdj.com\/8abf6cde926d1be32afdbde34f80d3a5.jpeg","path":"8abf6cde926d1be32afdbde34f80d3a5.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2650,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"2650","retail_price":"0","available":true,"url":"\/products\/moonlight-landscape-floor-lamp?variant=d209f649-f7d2-448f-98f3-f0d06ba7efd1","available_quantity":999999999,"options":[{"name":"Size","value":"L 59.1\u2033(150cm) x H 47.2\u2033(120cm)"},{"name":"Colour","value":"White"},{"name":"Plug options","value":"US Plug"}],"off_ratio":0,"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.
${function(){
const variantData = data.variant || {"id":"d209f649-f7d2-448f-98f3-f0d06ba7efd1","product_id":"18c4d2af-94f4-42b8-a059-d968ee7a9d8a","title":"L 59.1\u2033(150cm) x H 47.2\u2033(120cm)-White-US Plug","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"L 59.1\u2033(150cm) x H 47.2\u2033(120cm)","option2":"White","option3":"US Plug","note":"","image":{"src":"\/\/img.staticdj.com\/8abf6cde926d1be32afdbde34f80d3a5.jpeg","path":"8abf6cde926d1be32afdbde34f80d3a5.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2650,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"2650","retail_price":"0","available":true,"url":"\/products\/moonlight-landscape-floor-lamp?variant=d209f649-f7d2-448f-98f3-f0d06ba7efd1","available_quantity":999999999,"options":[{"name":"Size","value":"L 59.1\u2033(150cm) x H 47.2\u2033(120cm)"},{"name":"Colour","value":"White"},{"name":"Plug options","value":"US Plug"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}