${function() {
const variantData = data.variant || {"id":"ea44d595-0af5-49d3-81a6-6068b5decbf5","product_id":"66123a16-3e95-4a66-85a5-4e21b13ba3cf","title":"yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"662305111063-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/098bfe32034666ac9c8bd37f9a9280c3.jpeg","path":"098bfe32034666ac9c8bd37f9a9280c3.jpeg","width":800,"height":1000,"alt":"Loose Cotton Linen Tie Three Quarter Sleeve Dress","aspect_ratio":0.8},"wholesale_price":[{"price":52.79,"min_quantity":1}],"weight":"0.3","compare_at_price":"64","price":"52.79","retail_price":"64","available":true,"url":"\/products\/loose-cotton-linen-tie-three-quarter-sleeve-dress?variant=ea44d595-0af5-49d3-81a6-6068b5decbf5","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"S"}],"off_ratio":18,"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.