${function() {
const variantData = data.variant || {"id":"82acdee4-e2ea-4bc8-9a69-0a9fd149333a","product_id":"c05984f6-0d59-4c0d-84ba-845719e7be7a","title":"Floral-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230608-E05-Floral-S","barcode":"","position":1,"option1":"Floral","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ad89796b4af3493b44533f68f3a6990d.jpg","path":"ad89796b4af3493b44533f68f3a6990d.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/summer-new-fashion-print-v-neck-loose-dress-short-sleeved-temperament-commuter-casual-wind-in-the-long-dress?variant=82acdee4-e2ea-4bc8-9a69-0a9fd149333a","available_quantity":999999999,"options":[{"name":"Color","value":"Floral"},{"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.