${function() {
const variantData = data.variant || {"id":"e31e960a-ea39-41d7-9a9d-4b586081f7bf","product_id":"a21b5e58-0df0-4207-8317-d79f9a8a707c","title":"Black-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Black-M-A00423805","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2f4f7d9d70d049500a48c773725a751.jpeg","path":"d2f4f7d9d70d049500a48c773725a751.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"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\/mens-casual-outfit-sets-5r6v?variant=e31e960a-ea39-41d7-9a9d-4b586081f7bf","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":"e31e960a-ea39-41d7-9a9d-4b586081f7bf","product_id":"a21b5e58-0df0-4207-8317-d79f9a8a707c","title":"Black-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Black-M-A00423805","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2f4f7d9d70d049500a48c773725a751.jpeg","path":"d2f4f7d9d70d049500a48c773725a751.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"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\/mens-casual-outfit-sets-5r6v?variant=e31e960a-ea39-41d7-9a9d-4b586081f7bf","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}