American Bar Simulation Green Plant Chandelier Retro Casual Hot Pot Barbecue Shop Restaurant Art Pendant Light
${function() {
const variantData = data.variant || {"id":"c8e81b9c-2749-4b09-944d-6a776cc93843","product_id":"7bffe795-3ac9-4a5b-a2f7-0b27de096a98","title":"Default Title","weight_unit":"lb","inventory_quantity":0,"sku":"3256804089216866-3 Head 55xH60CM-Three Colour","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4a6b233306eadd4a711327b6bdfb720.jpeg","path":"e4a6b233306eadd4a711327b6bdfb720.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":862.79,"min_quantity":1}],"weight":"0","compare_at_price":"1137.99","price":"862.79","retail_price":"1137.99","available":true,"url":"\/products\/american-bar-simulation-green-plant-chandelier-retro-casual-hot-pot-barbecue-shop-restaurant-art-pendant-light?variant=c8e81b9c-2749-4b09-944d-6a776cc93843","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":24,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
(Tax included)
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
(Tax included)
`;
}()}
Title:
Default Title
${function(){
const optName = "Title";
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
$862.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":"c8e81b9c-2749-4b09-944d-6a776cc93843","product_id":"7bffe795-3ac9-4a5b-a2f7-0b27de096a98","title":"Default Title","weight_unit":"lb","inventory_quantity":0,"sku":"3256804089216866-3 Head 55xH60CM-Three Colour","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4a6b233306eadd4a711327b6bdfb720.jpeg","path":"e4a6b233306eadd4a711327b6bdfb720.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":862.79,"min_quantity":1}],"weight":"0","compare_at_price":"1137.99","price":"862.79","retail_price":"1137.99","available":true,"url":"\/products\/american-bar-simulation-green-plant-chandelier-retro-casual-hot-pot-barbecue-shop-restaurant-art-pendant-light?variant=c8e81b9c-2749-4b09-944d-6a776cc93843","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"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 : 3256804089216866-3 Head 55xH60CM-Three Colour
${function(){
const variantData = data.variant || {"id":"c8e81b9c-2749-4b09-944d-6a776cc93843","product_id":"7bffe795-3ac9-4a5b-a2f7-0b27de096a98","title":"Default Title","weight_unit":"lb","inventory_quantity":0,"sku":"3256804089216866-3 Head 55xH60CM-Three Colour","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4a6b233306eadd4a711327b6bdfb720.jpeg","path":"e4a6b233306eadd4a711327b6bdfb720.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":862.79,"min_quantity":1}],"weight":"0","compare_at_price":"1137.99","price":"862.79","retail_price":"1137.99","available":true,"url":"\/products\/american-bar-simulation-green-plant-chandelier-retro-casual-hot-pot-barbecue-shop-restaurant-art-pendant-light?variant=c8e81b9c-2749-4b09-944d-6a776cc93843","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}