${function() {
const variantData = data.variant || {"id":"5ad9dbe9-4913-4f02-bc10-7e60c4f017f0","product_id":"a53f40aa-f3fd-48e6-8a3d-5d21f1a4f18d","title":"Yellow-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Yellow-M-A00425239","barcode":"","position":1,"option1":"Yellow","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8e5bb32b093a52fe76c372f104fc8ed.jpeg","path":"b8e5bb32b093a52fe76c372f104fc8ed.jpeg","width":750,"height":1125,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/print-sports-t-shirt-and-pants-two-piece-set-tep1?variant=5ad9dbe9-4913-4f02-bc10-7e60c4f017f0","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"M"}],"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":"5ad9dbe9-4913-4f02-bc10-7e60c4f017f0","product_id":"a53f40aa-f3fd-48e6-8a3d-5d21f1a4f18d","title":"Yellow-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Yellow-M-A00425239","barcode":"","position":1,"option1":"Yellow","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8e5bb32b093a52fe76c372f104fc8ed.jpeg","path":"b8e5bb32b093a52fe76c372f104fc8ed.jpeg","width":750,"height":1125,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"71.99","price":"35.99","retail_price":"71.99","available":true,"url":"\/products\/print-sports-t-shirt-and-pants-two-piece-set-tep1?variant=5ad9dbe9-4913-4f02-bc10-7e60c4f017f0","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}