${function() {
const variantData = data.variant || {"id":"20f7143e-3553-4d12-9409-9c504e06ecbe","product_id":"8faba3a9-2bcc-47bd-8b08-71dcb082880f","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662212092479-black-one size","barcode":"","position":1,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6163b5a40fc71547c766c14c725e9e82.jpeg","path":"6163b5a40fc71547c766c14c725e9e82.jpeg","width":860,"height":860,"alt":"Vintage Mock Neck Tie Sweater Dress","aspect_ratio":1},"wholesale_price":[{"price":59.74,"min_quantity":1}],"weight":"0.35","compare_at_price":"79","price":"59.74","retail_price":"79","available":true,"url":"\/products\/vintage-mock-neck-tie-sweater-dress?variant=20f7143e-3553-4d12-9409-9c504e06ecbe","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"one size"}],"off_ratio":24,"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.