${function() {
const variantData = data.variant || {"id":"b35f68dd-1515-46f3-9320-7c04b3ba44db","product_id":"5dfb636b-a2a3-4ae0-b5e6-ee604e34a441","title":"blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"662206201710-blue-S","barcode":"","position":9,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1562610d28aec5ec2081d9ad029c5cd7.jpeg","path":"1562610d28aec5ec2081d9ad029c5cd7.jpeg","width":750,"height":750,"alt":"Wide-Leg Cotton and Linen Pocket Jumpsuit","aspect_ratio":1},"wholesale_price":[{"price":34.65,"min_quantity":1}],"weight":"0","compare_at_price":"60.54","price":"34.65","retail_price":"60.54","available":true,"url":"\/products\/wide-leg-cotton-and-linen-pocket-jumpsuit?variant=b35f68dd-1515-46f3-9320-7c04b3ba44db","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"S"}],"off_ratio":43,"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.