${function() {
const variantData = data.variant || {"id":"fe2cd96a-87dd-4359-b69b-6023ba4a34a1","product_id":"83b2bae8-e003-432e-848f-f936bc4a5e71","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428464-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1b6d5ceb0ba80c366c2378812bff6ab.jpeg","path":"c1b6d5ceb0ba80c366c2378812bff6ab.jpeg","width":800,"height":800,"alt":"Literary loose high waist dress","aspect_ratio":1},"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"58","price":"48.99","retail_price":"58","available":true,"url":"\/products\/literary-loose-high-waist-dress-26ec?variant=fe2cd96a-87dd-4359-b69b-6023ba4a34a1","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"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.