${function() {
const variantData = data.variant || {"id":"7c28da09-6901-4558-b273-8c215ca20208","product_id":"2bc14391-7760-486c-98a9-a163e3c418be","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Pink-S-A00441697","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8befed0d11d05b9609ecce39936e2645.jpeg","path":"8befed0d11d05b9609ecce39936e2645.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.9,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"19.9","retail_price":"40","available":true,"url":"\/products\/three-quarter-sleeve-round-neck-cotton-and-linen-shirt?variant=7c28da09-6901-4558-b273-8c215ca20208","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":50,"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":"7c28da09-6901-4558-b273-8c215ca20208","product_id":"2bc14391-7760-486c-98a9-a163e3c418be","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Pink-S-A00441697","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8befed0d11d05b9609ecce39936e2645.jpeg","path":"8befed0d11d05b9609ecce39936e2645.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.9,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"19.9","retail_price":"40","available":true,"url":"\/products\/three-quarter-sleeve-round-neck-cotton-and-linen-shirt?variant=7c28da09-6901-4558-b273-8c215ca20208","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}