Aimee - Nordic Creative Rotate Bedroom Room Lamp Room Copper Ceiling Lamp
${function() {
const variantData = data.variant || {"id":"f97f227f-efdf-4dbd-a5b9-7581d7f1b935","product_id":"af4ad85f-9abe-4eda-b14e-2f0f156790c3","title":"3 milky white-Without bulb","weight_unit":"g","inventory_quantity":0,"sku":"201126-05-3milkywhite-Withoutbulb","barcode":"","position":1,"option1":"3 milky white","option2":"Without bulb","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c8b8f16fc22761d0ef98ba99694d2586.jpeg","path":"c8b8f16fc22761d0ef98ba99694d2586.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":274.79,"min_quantity":1}],"weight":"6000","compare_at_price":"361.99","price":"274.79","retail_price":"361.99","available":true,"url":"\/products\/aimee-nordic-creative-rotate-bedroom-room-lamp-room-copper-ceiling-lamp?variant=f97f227f-efdf-4dbd-a5b9-7581d7f1b935","available_quantity":999999999,"options":[{"name":"The color of the light","value":"3 milky white"},{"name":"Light source powe","value":"Without bulb"}],"off_ratio":24,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
(Tax included)
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
(Tax included)
`;
}()}
The Color Of The Light:
3 milky white
${function(){
const optName = "The color of the light";
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 Powe:
Without bulb
${function(){
const optName = "Light source powe";
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
$274.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":"f97f227f-efdf-4dbd-a5b9-7581d7f1b935","product_id":"af4ad85f-9abe-4eda-b14e-2f0f156790c3","title":"3 milky white-Without bulb","weight_unit":"g","inventory_quantity":0,"sku":"201126-05-3milkywhite-Withoutbulb","barcode":"","position":1,"option1":"3 milky white","option2":"Without bulb","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c8b8f16fc22761d0ef98ba99694d2586.jpeg","path":"c8b8f16fc22761d0ef98ba99694d2586.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":274.79,"min_quantity":1}],"weight":"6000","compare_at_price":"361.99","price":"274.79","retail_price":"361.99","available":true,"url":"\/products\/aimee-nordic-creative-rotate-bedroom-room-lamp-room-copper-ceiling-lamp?variant=f97f227f-efdf-4dbd-a5b9-7581d7f1b935","available_quantity":999999999,"options":[{"name":"The color of the light","value":"3 milky white"},{"name":"Light source powe","value":"Without bulb"}],"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 : 201126-05-3milkywhite-Withoutbulb
Weight : 6000g
${function(){
const variantData = data.variant || {"id":"f97f227f-efdf-4dbd-a5b9-7581d7f1b935","product_id":"af4ad85f-9abe-4eda-b14e-2f0f156790c3","title":"3 milky white-Without bulb","weight_unit":"g","inventory_quantity":0,"sku":"201126-05-3milkywhite-Withoutbulb","barcode":"","position":1,"option1":"3 milky white","option2":"Without bulb","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c8b8f16fc22761d0ef98ba99694d2586.jpeg","path":"c8b8f16fc22761d0ef98ba99694d2586.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":274.79,"min_quantity":1}],"weight":"6000","compare_at_price":"361.99","price":"274.79","retail_price":"361.99","available":true,"url":"\/products\/aimee-nordic-creative-rotate-bedroom-room-lamp-room-copper-ceiling-lamp?variant=f97f227f-efdf-4dbd-a5b9-7581d7f1b935","available_quantity":999999999,"options":[{"name":"The color of the light","value":"3 milky white"},{"name":"Light source powe","value":"Without bulb"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}