Solana - Tassel Chain Led Chandelier
${function() {
const variantData = data.variant || {"id":"de671532-4d6b-4567-b2f3-1549c4e4a513","product_id":"f5f85503-cb18-47de-af27-4fad2539d1aa","title":"DIA20CM-Silver body-White Light","weight_unit":"g","inventory_quantity":0,"sku":"200000531:193#DIA20CM;5:361385#Silver body;136:200003939#White Light","barcode":"","position":1,"option1":"DIA20CM","option2":"Silver body","option3":"White Light","note":"","image":{"src":"\/\/img.staticdj.com\/7b6a7928b8f9280034b3c599eefde52f.jpeg","path":"7b6a7928b8f9280034b3c599eefde52f.jpeg","width":800,"height":800,"alt":"Solana - Tassel Chain Led Chandelier Dia20Cm \/ Silver Body White Light","aspect_ratio":1},"wholesale_price":[{"price":123.79,"min_quantity":1}],"weight":"0","compare_at_price":"161.99","price":"123.79","retail_price":"161.99","available":true,"url":"\/products\/solana-tassel-chain-led-chandelier?variant=de671532-4d6b-4567-b2f3-1549c4e4a513","available_quantity":999999999,"options":[{"name":"Style","value":"DIA20CM"},{"name":"Color","value":"Silver body"},{"name":"Emitting Color","value":"White Light"}],"off_ratio":24,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
(Tax included)
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
(Tax included)
`;
}()}
Style:
DIA20CM
${function(){
const optName = "Style";
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}
`
}()}
Color:
Silver body
${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}
`
}()}
Emitting Color:
White Light
${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
$123.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":"de671532-4d6b-4567-b2f3-1549c4e4a513","product_id":"f5f85503-cb18-47de-af27-4fad2539d1aa","title":"DIA20CM-Silver body-White Light","weight_unit":"g","inventory_quantity":0,"sku":"200000531:193#DIA20CM;5:361385#Silver body;136:200003939#White Light","barcode":"","position":1,"option1":"DIA20CM","option2":"Silver body","option3":"White Light","note":"","image":{"src":"\/\/img.staticdj.com\/7b6a7928b8f9280034b3c599eefde52f.jpeg","path":"7b6a7928b8f9280034b3c599eefde52f.jpeg","width":800,"height":800,"alt":"Solana - Tassel Chain Led Chandelier Dia20Cm \/ Silver Body White Light","aspect_ratio":1},"wholesale_price":[{"price":123.79,"min_quantity":1}],"weight":"0","compare_at_price":"161.99","price":"123.79","retail_price":"161.99","available":true,"url":"\/products\/solana-tassel-chain-led-chandelier?variant=de671532-4d6b-4567-b2f3-1549c4e4a513","available_quantity":999999999,"options":[{"name":"Style","value":"DIA20CM"},{"name":"Color","value":"Silver body"},{"name":"Emitting Color","value":"White Light"}],"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 : 200000531:193#DIA20CM;5:361385#Silver body;136:200003939#White Light
${function(){
const variantData = data.variant || {"id":"de671532-4d6b-4567-b2f3-1549c4e4a513","product_id":"f5f85503-cb18-47de-af27-4fad2539d1aa","title":"DIA20CM-Silver body-White Light","weight_unit":"g","inventory_quantity":0,"sku":"200000531:193#DIA20CM;5:361385#Silver body;136:200003939#White Light","barcode":"","position":1,"option1":"DIA20CM","option2":"Silver body","option3":"White Light","note":"","image":{"src":"\/\/img.staticdj.com\/7b6a7928b8f9280034b3c599eefde52f.jpeg","path":"7b6a7928b8f9280034b3c599eefde52f.jpeg","width":800,"height":800,"alt":"Solana - Tassel Chain Led Chandelier Dia20Cm \/ Silver Body White Light","aspect_ratio":1},"wholesale_price":[{"price":123.79,"min_quantity":1}],"weight":"0","compare_at_price":"161.99","price":"123.79","retail_price":"161.99","available":true,"url":"\/products\/solana-tassel-chain-led-chandelier?variant=de671532-4d6b-4567-b2f3-1549c4e4a513","available_quantity":999999999,"options":[{"name":"Style","value":"DIA20CM"},{"name":"Color","value":"Silver body"},{"name":"Emitting Color","value":"White Light"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}