${function() {
const variantData = data.variant || {"id":"34689d2c-c4f9-417b-a6d4-925b82a961f3","product_id":"78309c68-fd79-454c-aa21-065538bd7197","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230520-E10-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/610abb2f8402b0c7394830cfc16b725d.jpg","path":"610abb2f8402b0c7394830cfc16b725d.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/new-floral-print-summer-v-neck-comfortable-casual-vacation-insert-pocket-a-line-dress-long-dress-home-wear?variant=34689d2c-c4f9-417b-a6d4-925b82a961f3","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.