${function() {
const variantData = data.variant || {"id":"3def0713-b0b5-4ea7-bb90-a41cb03c4947","product_id":"6406478c-8a07-4f54-8cd1-3a079443091c","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":999,"sku":"X103-230925-28-YVHSG3SW5B-Red-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2fd439562749f4f8cf60c96415cab83f.jpeg","path":"2fd439562749f4f8cf60c96415cab83f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":66.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"66.99","price":"66.99","retail_price":"66.99","available":true,"url":"\/products\/womans-winter-fashion-floral-casual-loose-knitted-sweater-jacket?variant=3def0713-b0b5-4ea7-bb90-a41cb03c4947","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
const saveType = "amount";
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.