${function() {
const variantData = data.variant || {"id":"2e76f7f5-0c64-4dfa-a878-7614807f5fdd","product_id":"2bc14391-7760-486c-98a9-a163e3c418be","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Yellow-S-A00441753","barcode":"","position":9,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/542f66c43c9709e57d4a80555581a8d2.jpeg","path":"542f66c43c9709e57d4a80555581a8d2.jpeg","width":739,"height":738,"alt":"","aspect_ratio":1.0013550135501355},"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=2e76f7f5-0c64-4dfa-a878-7614807f5fdd","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"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":"2e76f7f5-0c64-4dfa-a878-7614807f5fdd","product_id":"2bc14391-7760-486c-98a9-a163e3c418be","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Yellow-S-A00441753","barcode":"","position":9,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/542f66c43c9709e57d4a80555581a8d2.jpeg","path":"542f66c43c9709e57d4a80555581a8d2.jpeg","width":739,"height":738,"alt":"","aspect_ratio":1.0013550135501355},"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=2e76f7f5-0c64-4dfa-a878-7614807f5fdd","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}