${function() {
const variantData = data.variant || {"id":"186f1a73-9984-46df-a35b-8eedc4295e56","product_id":"63436e08-4df6-4c69-88dd-06e932b1e4aa","title":"White-S","weight_unit":"kg","inventory_quantity":904,"sku":"BL230509868-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22a4b7a99151462d9bd7558613126624.jpeg","path":"22a4b7a99151462d9bd7558613126624.jpeg","width":800,"height":1000,"alt":"Stylish Lace Patchwork Off-shoulder Dress","aspect_ratio":0.8},"wholesale_price":[{"price":32.65,"min_quantity":1}],"weight":"0.3","compare_at_price":"50","price":"32.65","retail_price":"50","available":true,"url":"\/products\/stylish-lace-patchwork-off-shoulder-dress?variant=186f1a73-9984-46df-a35b-8eedc4295e56","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":35,"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.