${function() {
const variantData = data.variant || {"id":"103af77c-6f34-4348-94da-3aa94bb6382e","product_id":"052043f3-33c7-4038-8257-b69c173d60e9","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"662305111102-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76dc7f3191d0a6657b3a5bc9f2ce525f.jpeg","path":"76dc7f3191d0a6657b3a5bc9f2ce525f.jpeg","width":800,"height":1000,"alt":"Cotton and Linen Embroidered Cropped Sleeve Dress","aspect_ratio":0.8},"wholesale_price":[{"price":38.74,"min_quantity":1}],"weight":"0.4","compare_at_price":"49","price":"38.74","retail_price":"49","available":true,"url":"\/products\/cotton-and-linen-embroidered-cropped-sleeve-dress?variant=103af77c-6f34-4348-94da-3aa94bb6382e","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":21,"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.