Tassel Crystal Hanging Chandelier Retro 4 Heads Black Ceiling Pendant Light for Restaurant
${function() {
const variantData = data.variant || {"id":"5d28c408-fde5-4e9c-9cac-97827a269785","product_id":"bcdf62bd-7812-4f3f-95b2-98d4455f58d7","title":"Black","weight_unit":"g","inventory_quantity":0,"sku":"22182063","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8534de0d4c60e14dd5646792e035f541.jpeg","path":"8534de0d4c60e14dd5646792e035f541.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":966.79,"min_quantity":1}],"weight":"0","compare_at_price":"1274.99","price":"966.79","retail_price":"1274.99","available":true,"url":"\/products\/tassel-crystal-hanging-chandelier-retro-4-heads-black-ceiling-pendant-light-for-restaurant?variant=5d28c408-fde5-4e9c-9cac-97827a269785","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":24,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
(Tax included)
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
(Tax included)
`;
}()}
Color:
Black
${function(){
const optName = "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
$966.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":"5d28c408-fde5-4e9c-9cac-97827a269785","product_id":"bcdf62bd-7812-4f3f-95b2-98d4455f58d7","title":"Black","weight_unit":"g","inventory_quantity":0,"sku":"22182063","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8534de0d4c60e14dd5646792e035f541.jpeg","path":"8534de0d4c60e14dd5646792e035f541.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":966.79,"min_quantity":1}],"weight":"0","compare_at_price":"1274.99","price":"966.79","retail_price":"1274.99","available":true,"url":"\/products\/tassel-crystal-hanging-chandelier-retro-4-heads-black-ceiling-pendant-light-for-restaurant?variant=5d28c408-fde5-4e9c-9cac-97827a269785","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"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.
${function(){
const variantData = data.variant || {"id":"5d28c408-fde5-4e9c-9cac-97827a269785","product_id":"bcdf62bd-7812-4f3f-95b2-98d4455f58d7","title":"Black","weight_unit":"g","inventory_quantity":0,"sku":"22182063","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8534de0d4c60e14dd5646792e035f541.jpeg","path":"8534de0d4c60e14dd5646792e035f541.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":966.79,"min_quantity":1}],"weight":"0","compare_at_price":"1274.99","price":"966.79","retail_price":"1274.99","available":true,"url":"\/products\/tassel-crystal-hanging-chandelier-retro-4-heads-black-ceiling-pendant-light-for-restaurant?variant=5d28c408-fde5-4e9c-9cac-97827a269785","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}