Outdoor Waterproof Strip Wall Lamp
${function() {
const variantData = data.variant || {"id":"e1207eb6-6ff7-49ce-8716-2aac573e399c","product_id":"e2d1b21c-9744-473e-9839-63c04044c381","title":"White-Warm White-2W (indoor)","weight_unit":"kg","inventory_quantity":998,"sku":"1005005909555300-White Body-Warm White-2W (indoor)","barcode":"","position":1,"option1":"White","option2":"Warm White","option3":"2W (indoor)","note":"","image":{"src":"\/\/img.staticdj.com\/8e21fe78b93e5ca37d047edad74ef7bc.jpeg","path":"8e21fe78b93e5ca37d047edad74ef7bc.jpeg","width":850,"height":850,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/landy-outdoor-waterproof-strip-wall-lamp861c3964-112a-44e1-ab27-cf4d4101e08c?variant=e1207eb6-6ff7-49ce-8716-2aac573e399c","available_quantity":999999999,"options":[{"name":"Body Color","value":"White"},{"name":"Emitting Color","value":"Warm White"},{"name":"Wattage","value":"2W (indoor)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Body Color:
White
${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}
`
}()}
Emitting Color:
Warm White
${function(){
const optName = "Emitting 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:
2W (indoor)
${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
$22.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":"e1207eb6-6ff7-49ce-8716-2aac573e399c","product_id":"e2d1b21c-9744-473e-9839-63c04044c381","title":"White-Warm White-2W (indoor)","weight_unit":"kg","inventory_quantity":998,"sku":"1005005909555300-White Body-Warm White-2W (indoor)","barcode":"","position":1,"option1":"White","option2":"Warm White","option3":"2W (indoor)","note":"","image":{"src":"\/\/img.staticdj.com\/8e21fe78b93e5ca37d047edad74ef7bc.jpeg","path":"8e21fe78b93e5ca37d047edad74ef7bc.jpeg","width":850,"height":850,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/landy-outdoor-waterproof-strip-wall-lamp861c3964-112a-44e1-ab27-cf4d4101e08c?variant=e1207eb6-6ff7-49ce-8716-2aac573e399c","available_quantity":999999999,"options":[{"name":"Body Color","value":"White"},{"name":"Emitting Color","value":"Warm White"},{"name":"Wattage","value":"2W (indoor)"}],"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.
Sku : 1005005909555300-White Body-Warm White-2W (indoor)
${function(){
const variantData = data.variant || {"id":"e1207eb6-6ff7-49ce-8716-2aac573e399c","product_id":"e2d1b21c-9744-473e-9839-63c04044c381","title":"White-Warm White-2W (indoor)","weight_unit":"kg","inventory_quantity":998,"sku":"1005005909555300-White Body-Warm White-2W (indoor)","barcode":"","position":1,"option1":"White","option2":"Warm White","option3":"2W (indoor)","note":"","image":{"src":"\/\/img.staticdj.com\/8e21fe78b93e5ca37d047edad74ef7bc.jpeg","path":"8e21fe78b93e5ca37d047edad74ef7bc.jpeg","width":850,"height":850,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/landy-outdoor-waterproof-strip-wall-lamp861c3964-112a-44e1-ab27-cf4d4101e08c?variant=e1207eb6-6ff7-49ce-8716-2aac573e399c","available_quantity":999999999,"options":[{"name":"Body Color","value":"White"},{"name":"Emitting Color","value":"Warm White"},{"name":"Wattage","value":"2W (indoor)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}