${function() {
const variantData = data.variant || {"id":"1a7764ce-67c5-4587-8d44-8ae2d585e91d","product_id":"abd2b70b-dc67-4766-b19c-22355e36cdc5","title":"beige-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662212092474-beige-one size","barcode":"","position":1,"option1":"beige","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ddc83510b97959234fac75aa90a0e8f.jpeg","path":"4ddc83510b97959234fac75aa90a0e8f.jpeg","width":774,"height":913,"alt":"Vintage Textured Hooded Knit Dress","aspect_ratio":0.8477546549835706},"wholesale_price":[{"price":74.69,"min_quantity":1}],"weight":"0.3","compare_at_price":"92","price":"74.69","retail_price":"92","available":true,"url":"\/products\/vintage-textured-hooded-knit-dress?variant=1a7764ce-67c5-4587-8d44-8ae2d585e91d","available_quantity":999999999,"options":[{"name":"color","value":"beige"},{"name":"size","value":"one size"}],"off_ratio":19,"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.