Blanche Indoor / Outdoor Sofa
${function() {
const variantData = data.variant || {"id":"0689e49c-b5bf-4471-93ce-fdca650799c7","product_id":"4476009d-e3dc-4c30-a5ba-46f9a61e0b0a","title":"Natural Teak","weight_unit":"kg","inventory_quantity":0,"sku":"A0654930","barcode":"","position":1,"option1":"Natural Teak","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9e7915ae1725c78ca6db43120bfcb4f.jpeg","path":"c9e7915ae1725c78ca6db43120bfcb4f.jpeg","width":2248,"height":2923,"alt":"","aspect_ratio":0.7690728703386931},"wholesale_price":[{"price":2958,"min_quantity":1}],"weight":"21.32","compare_at_price":"3698","price":"2958","retail_price":"3698","available":true,"url":"\/products\/blanche-indoor-outdoor-sofa?variant=0689e49c-b5bf-4471-93ce-fdca650799c7","available_quantity":999999999,"options":[{"name":"Color","value":"Natural Teak"}],"off_ratio":20,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Natural Teak
${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
$2,958.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":"0689e49c-b5bf-4471-93ce-fdca650799c7","product_id":"4476009d-e3dc-4c30-a5ba-46f9a61e0b0a","title":"Natural Teak","weight_unit":"kg","inventory_quantity":0,"sku":"A0654930","barcode":"","position":1,"option1":"Natural Teak","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9e7915ae1725c78ca6db43120bfcb4f.jpeg","path":"c9e7915ae1725c78ca6db43120bfcb4f.jpeg","width":2248,"height":2923,"alt":"","aspect_ratio":0.7690728703386931},"wholesale_price":[{"price":2958,"min_quantity":1}],"weight":"21.32","compare_at_price":"3698","price":"2958","retail_price":"3698","available":true,"url":"\/products\/blanche-indoor-outdoor-sofa?variant=0689e49c-b5bf-4471-93ce-fdca650799c7","available_quantity":999999999,"options":[{"name":"Color","value":"Natural Teak"}],"off_ratio":20,"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 : A0654930
Weight : 21.32kg
${function(){
const variantData = data.variant || {"id":"0689e49c-b5bf-4471-93ce-fdca650799c7","product_id":"4476009d-e3dc-4c30-a5ba-46f9a61e0b0a","title":"Natural Teak","weight_unit":"kg","inventory_quantity":0,"sku":"A0654930","barcode":"","position":1,"option1":"Natural Teak","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9e7915ae1725c78ca6db43120bfcb4f.jpeg","path":"c9e7915ae1725c78ca6db43120bfcb4f.jpeg","width":2248,"height":2923,"alt":"","aspect_ratio":0.7690728703386931},"wholesale_price":[{"price":2958,"min_quantity":1}],"weight":"21.32","compare_at_price":"3698","price":"2958","retail_price":"3698","available":true,"url":"\/products\/blanche-indoor-outdoor-sofa?variant=0689e49c-b5bf-4471-93ce-fdca650799c7","available_quantity":999999999,"options":[{"name":"Color","value":"Natural Teak"}],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}