${function() {
const variantData = data.variant || {"id":"060f71c6-1238-4b72-a020-e173317019e0","product_id":"3823c9de-3013-4df3-b684-b67ea58a059b","title":"Black-One Size","weight_unit":"kg","inventory_quantity":0,"sku":"2092810-black-onesize","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7d2c51a0c4c4b5b7b22096c94a367ebc.jpeg","path":"7d2c51a0c4c4b5b7b22096c94a367ebc.jpeg","width":750,"height":1000,"alt":"High Neck Straps Middle Length Women Cape","aspect_ratio":0.75},"wholesale_price":[{"price":46.88,"min_quantity":1}],"weight":"0.43","compare_at_price":"53.04","price":"46.88","retail_price":"53.04","available":true,"url":"\/products\/high-neck-straps-middle-length-women-cape?variant=060f71c6-1238-4b72-a020-e173317019e0","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":12,"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.