${function() {
const variantData = data.variant || {"id":"0cc3b490-522a-4bb5-b38b-dd767a8a49b9","product_id":"f10a3c34-0ab9-4d81-b240-85fbb53e9a5e","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230526-E09-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/232417ecbf5d638e4e81943305d2c00b.jpg","path":"232417ecbf5d638e4e81943305d2c00b.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/summer-new-fashion-casual-commuter-womens-printed-v-neck-loose-sleeveless-sheath-long-dress-gothic-wind-dress-women?variant=0cc3b490-522a-4bb5-b38b-dd767a8a49b9","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"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.