${function() {
const variantData = data.variant || {"id":"76cb2af6-ec01-4332-a69d-0071b4662e5c","product_id":"d5b3c270-22b6-4051-9e7b-09017300a573","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"230421-H03-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ba46fb04f239528a346df67e3496015.jpg","path":"9ba46fb04f239528a346df67e3496015.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":41.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"41.99","retail_price":"0","available":true,"url":"\/products\/womens-dress-literary-style-cotton-and-linen-striped-round-neck-long-sleeve-insert-pockets-simple-loose-long-section-pullover-dress?variant=76cb2af6-ec01-4332-a69d-0071b4662e5c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.