${function() {
const variantData = data.variant || {"id":"68116ee5-93cf-4ffb-9de1-167a4e15bb08","product_id":"e3522f38-be42-4c12-b449-964359898bbb","title":"Floral grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"a-Floral grey-S-A0025731","barcode":"","position":1,"option1":"Floral grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6464eca711c1478a2746d28302a8b632.jpeg","path":"6464eca711c1478a2746d28302a8b632.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"29.99","retail_price":"39.99","available":true,"url":"\/products\/strappy-long-jumpsuit?variant=68116ee5-93cf-4ffb-9de1-167a4e15bb08","available_quantity":1000,"options":[{"name":"color","value":"Floral grey"},{"name":"size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":0};
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.