${function() {
const variantData = data.variant || {"id":"4d496fb6-f86b-450d-bd95-4411d8e393c4","product_id":"e3bdf9b7-6f4e-4e80-8801-d773b915dbd1","title":"black-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428471-black-S","barcode":"","position":6,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9acdda822f2e5c0132aa8b13d0d7a65.jpeg","path":"e9acdda822f2e5c0132aa8b13d0d7a65.jpeg","width":800,"height":800,"alt":"Literary Japanese style V-neck loose cotton linen gown","aspect_ratio":1},"wholesale_price":[{"price":43.79,"min_quantity":1}],"weight":"0.45","compare_at_price":"52","price":"43.79","retail_price":"52","available":true,"url":"\/products\/literary-japanese-style-v-neck-loose-cotton-linen-gown?variant=4d496fb6-f86b-450d-bd95-4411d8e393c4","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.