${function() {
const variantData = data.variant || {"id":"1d6f698c-0829-4e67-9d4e-3d9215252f8f","product_id":"66c19746-4f4e-4108-aa6b-d330863e80ff","title":"Yellow-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056483823","barcode":"","position":2,"option1":"Yellow","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e2280ba98120f70b0afb05a9901cf99a.jpeg","path":"e2280ba98120f70b0afb05a9901cf99a.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=1d6f698c-0829-4e67-9d4e-3d9215252f8f","available_quantity":1000,"options":[{"name":"Color","value":"Yellow"},{"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":"1d6f698c-0829-4e67-9d4e-3d9215252f8f","product_id":"66c19746-4f4e-4108-aa6b-d330863e80ff","title":"Yellow-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056483823","barcode":"","position":2,"option1":"Yellow","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e2280ba98120f70b0afb05a9901cf99a.jpeg","path":"e2280ba98120f70b0afb05a9901cf99a.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=1d6f698c-0829-4e67-9d4e-3d9215252f8f","available_quantity":1000,"options":[{"name":"Color","value":"Yellow"},{"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}
`
}()}