${function() {
const variantData = data.variant || {"id":"e3b5a3ca-0293-498c-91b6-9aa6e033cfe7","product_id":"6bcb1c13-0ff5-468f-8697-cc2ac699e876","title":"Coffee-S","weight_unit":"kg","inventory_quantity":999,"sku":"dlz1693027335541","barcode":"","position":1,"option1":"Coffee","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4209dfb64961f602202eafca55ce55b5.jpeg","path":"4209dfb64961f602202eafca55ce55b5.jpeg","width":1200,"height":1600,"alt":"Casual Sleeveless Round Neck Tops","aspect_ratio":0.75},"wholesale_price":[{"price":27.95,"min_quantity":1}],"weight":"0","compare_at_price":"27.95","price":"27.95","retail_price":"27.95","available":true,"url":"\/products\/casual-sleeveless-round-neck-tops-4134?variant=e3b5a3ca-0293-498c-91b6-9aa6e033cfe7","available_quantity":999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":12};
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":"e3b5a3ca-0293-498c-91b6-9aa6e033cfe7","product_id":"6bcb1c13-0ff5-468f-8697-cc2ac699e876","title":"Coffee-S","weight_unit":"kg","inventory_quantity":999,"sku":"dlz1693027335541","barcode":"","position":1,"option1":"Coffee","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4209dfb64961f602202eafca55ce55b5.jpeg","path":"4209dfb64961f602202eafca55ce55b5.jpeg","width":1200,"height":1600,"alt":"Casual Sleeveless Round Neck Tops","aspect_ratio":0.75},"wholesale_price":[{"price":27.95,"min_quantity":1}],"weight":"0","compare_at_price":"27.95","price":"27.95","retail_price":"27.95","available":true,"url":"\/products\/casual-sleeveless-round-neck-tops-4134?variant=e3b5a3ca-0293-498c-91b6-9aa6e033cfe7","available_quantity":999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":12};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}