Black Staircase Led Pendant Ligh Modern Living Room Loft Hanging Lamp Villa Hotel Apartment Long Chandelier Black Round Fixture
${function() {
const variantData = data.variant || {"id":"48fdca94-6a26-4e1d-a4eb-f7422a1aac10","product_id":"810f7e3d-59d1-479e-98c4-fa47d5cb7ee6","title":"1 head-Cold White","weight_unit":"lb","inventory_quantity":0,"sku":"3256805157876488-1 head-Cold White","barcode":"","position":1,"option1":"1 head","option2":"Cold White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c46174d24926cfc857e90f8c76b342e4.jpeg","path":"c46174d24926cfc857e90f8c76b342e4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":230.79,"min_quantity":1}],"weight":"0","compare_at_price":"302.99","price":"230.79","retail_price":"302.99","available":true,"url":"\/products\/black-staircase-led-pendant-ligh-modern-living-room-loft-hanging-lamp-villa-hotel-apartment-long-chandelier-black-round-fixture?variant=48fdca94-6a26-4e1d-a4eb-f7422a1aac10","available_quantity":999999999,"options":[{"name":"Body Color","value":"1 head"},{"name":"Emitting Color","value":"Cold White"}],"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:
1 head
${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:
Cold 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}
`
}()}
Add to cart
$230.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":"48fdca94-6a26-4e1d-a4eb-f7422a1aac10","product_id":"810f7e3d-59d1-479e-98c4-fa47d5cb7ee6","title":"1 head-Cold White","weight_unit":"lb","inventory_quantity":0,"sku":"3256805157876488-1 head-Cold White","barcode":"","position":1,"option1":"1 head","option2":"Cold White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c46174d24926cfc857e90f8c76b342e4.jpeg","path":"c46174d24926cfc857e90f8c76b342e4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":230.79,"min_quantity":1}],"weight":"0","compare_at_price":"302.99","price":"230.79","retail_price":"302.99","available":true,"url":"\/products\/black-staircase-led-pendant-ligh-modern-living-room-loft-hanging-lamp-villa-hotel-apartment-long-chandelier-black-round-fixture?variant=48fdca94-6a26-4e1d-a4eb-f7422a1aac10","available_quantity":999999999,"options":[{"name":"Body Color","value":"1 head"},{"name":"Emitting Color","value":"Cold White"}],"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 : 3256805157876488-1 head-Cold White
${function(){
const variantData = data.variant || {"id":"48fdca94-6a26-4e1d-a4eb-f7422a1aac10","product_id":"810f7e3d-59d1-479e-98c4-fa47d5cb7ee6","title":"1 head-Cold White","weight_unit":"lb","inventory_quantity":0,"sku":"3256805157876488-1 head-Cold White","barcode":"","position":1,"option1":"1 head","option2":"Cold White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c46174d24926cfc857e90f8c76b342e4.jpeg","path":"c46174d24926cfc857e90f8c76b342e4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":230.79,"min_quantity":1}],"weight":"0","compare_at_price":"302.99","price":"230.79","retail_price":"302.99","available":true,"url":"\/products\/black-staircase-led-pendant-ligh-modern-living-room-loft-hanging-lamp-villa-hotel-apartment-long-chandelier-black-round-fixture?variant=48fdca94-6a26-4e1d-a4eb-f7422a1aac10","available_quantity":999999999,"options":[{"name":"Body Color","value":"1 head"},{"name":"Emitting Color","value":"Cold White"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}