${function() {
const variantData = data.variant || {"id":"68f89d12-5b6d-4786-b665-c6d2436b5c2c","product_id":"66c19746-4f4e-4108-aa6b-d330863e80ff","title":"Green-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056483824","barcode":"","position":3,"option1":"Green","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c7cbe41617205112af85c4b938f0a08.jpeg","path":"5c7cbe41617205112af85c4b938f0a08.jpeg","width":1200,"height":1600,"alt":"Winter Neckchief Warm Scarf","aspect_ratio":0.75},"wholesale_price":[{"price":9.09,"min_quantity":1}],"weight":"0","compare_at_price":"9.09","price":"9.09","retail_price":"9.09","available":true,"url":"\/products\/winter-neckchief-warm-scarf-5767?variant=68f89d12-5b6d-4786-b665-c6d2436b5c2c","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"One-size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"68f89d12-5b6d-4786-b665-c6d2436b5c2c","product_id":"66c19746-4f4e-4108-aa6b-d330863e80ff","title":"Green-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056483824","barcode":"","position":3,"option1":"Green","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c7cbe41617205112af85c4b938f0a08.jpeg","path":"5c7cbe41617205112af85c4b938f0a08.jpeg","width":1200,"height":1600,"alt":"Winter Neckchief Warm Scarf","aspect_ratio":0.75},"wholesale_price":[{"price":9.09,"min_quantity":1}],"weight":"0","compare_at_price":"9.09","price":"9.09","retail_price":"9.09","available":true,"url":"\/products\/winter-neckchief-warm-scarf-5767?variant=68f89d12-5b6d-4786-b665-c6d2436b5c2c","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"One-size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}