${function() {
const variantData = data.variant || {"id":"e5418458-63ff-4d81-bed9-9bf393e8ab2b","product_id":"314c90e0-08b6-42a0-8ae3-48107c7999b1","title":"yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428463-yellow-S","barcode":"","position":7,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8164c1b460593a9f42c5c7227b58406f.jpeg","path":"8164c1b460593a9f42c5c7227b58406f.jpeg","width":800,"height":800,"alt":"Comfortable Casual Cotton Linen Dress","aspect_ratio":1},"wholesale_price":[{"price":35.49,"min_quantity":1}],"weight":"0.45","compare_at_price":"46","price":"35.49","retail_price":"46","available":true,"url":"\/products\/comfortable-casual-cotton-linen-dress?variant=e5418458-63ff-4d81-bed9-9bf393e8ab2b","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"S"}],"off_ratio":23,"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.