${function() {
const variantData = data.variant || {"id":"9ed17d60-a44d-455b-b37c-69816ac0a534","product_id":"350334bb-d855-4c57-a777-ae9415a2153e","title":"yellow-M","weight_unit":"kg","inventory_quantity":0,"sku":"662305111068-yellow-M","barcode":"","position":1,"option1":"yellow","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b2638b375a725ca05a9e9872c46e9e87.jpeg","path":"b2638b375a725ca05a9e9872c46e9e87.jpeg","width":1000,"height":1000,"alt":"Vintage Cotton Linen Thin Three Quarter Sleeve Dress","aspect_ratio":1},"wholesale_price":[{"price":41.59,"min_quantity":1}],"weight":"0.3","compare_at_price":"50","price":"41.59","retail_price":"50","available":true,"url":"\/products\/vintage-cotton-linen-thin-three-quarter-sleeve-dress?variant=9ed17d60-a44d-455b-b37c-69816ac0a534","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"M"}],"off_ratio":17,"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.