${function() {
const variantData = data.variant || {"id":"e4387332-3a1e-4485-8448-5d41668ddfcb","product_id":"6a97b6ae-3bae-4442-babf-1c46f96362cd","title":"Black-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Black-M-A00427796","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8453312df6995d2f4e4fc077a405507d.jpeg","path":"8453312df6995d2f4e4fc077a405507d.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\/two-piece-black-t-shirt-and-pants?variant=e4387332-3a1e-4485-8448-5d41668ddfcb","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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":"e4387332-3a1e-4485-8448-5d41668ddfcb","product_id":"6a97b6ae-3bae-4442-babf-1c46f96362cd","title":"Black-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Black-M-A00427796","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8453312df6995d2f4e4fc077a405507d.jpeg","path":"8453312df6995d2f4e4fc077a405507d.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\/two-piece-black-t-shirt-and-pants?variant=e4387332-3a1e-4485-8448-5d41668ddfcb","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}