${function() {
const variantData = data.variant || {"id":"aab32fc3-a4e5-4393-a434-ef8fb2f729fa","product_id":"b5de1399-f69a-4a8f-b406-1debda9e4eaa","title":"colored hearts-S","weight_unit":"kg","inventory_quantity":0,"sku":"662307174404-colored hearts-S","barcode":"","position":1,"option1":"colored hearts","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/44a12ed8320b36fbd7d5d64be725ba65.jpeg","path":"44a12ed8320b36fbd7d5d64be725ba65.jpeg","width":800,"height":800,"alt":"New ruffle love print shorts casual two-piece set","aspect_ratio":1},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"77","price":"69.99","retail_price":"77","available":true,"url":"\/products\/new-ruffle-love-print-shorts-casual-two-piece-set?variant=aab32fc3-a4e5-4393-a434-ef8fb2f729fa","available_quantity":999999999,"options":[{"name":"color","value":"colored hearts"},{"name":"size","value":"S"}],"off_ratio":9,"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.