${function() {
const variantData = data.variant || {"id":"319fb842-f1f0-4b87-83f3-7262364318f2","product_id":"e3bdf9b7-6f4e-4e80-8801-d773b915dbd1","title":"yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428471-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be7fddfaa51603d16cb0218a0017d175.jpeg","path":"be7fddfaa51603d16cb0218a0017d175.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=319fb842-f1f0-4b87-83f3-7262364318f2","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"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.