${function() {
const variantData = data.variant || {"id":"3f71f929-b8e2-4d3e-9f87-9ed9cfcb2adf","product_id":"1c5906e5-f45c-4008-a7a3-5b2057a989c9","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693027178695","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/043accca3a572f4c55efecb829c1dd3c.jpeg","path":"043accca3a572f4c55efecb829c1dd3c.jpeg","width":1200,"height":1600,"alt":"Sleeveless Casual Cotton Shirts & Tops","aspect_ratio":0.75},"wholesale_price":[{"price":14.11,"min_quantity":1}],"weight":"0","compare_at_price":"14.11","price":"14.11","retail_price":"14.11","available":true,"url":"\/products\/sleeveless-casual-cotton-shirts-tops-7391?variant=3f71f929-b8e2-4d3e-9f87-9ed9cfcb2adf","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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":"3f71f929-b8e2-4d3e-9f87-9ed9cfcb2adf","product_id":"1c5906e5-f45c-4008-a7a3-5b2057a989c9","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693027178695","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/043accca3a572f4c55efecb829c1dd3c.jpeg","path":"043accca3a572f4c55efecb829c1dd3c.jpeg","width":1200,"height":1600,"alt":"Sleeveless Casual Cotton Shirts & Tops","aspect_ratio":0.75},"wholesale_price":[{"price":14.11,"min_quantity":1}],"weight":"0","compare_at_price":"14.11","price":"14.11","retail_price":"14.11","available":true,"url":"\/products\/sleeveless-casual-cotton-shirts-tops-7391?variant=3f71f929-b8e2-4d3e-9f87-9ed9cfcb2adf","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}