${function() {
const variantData = data.variant || {"id":"cf43024a-4fcd-4ae8-ae2b-378ba3d869af","product_id":"a1f5efd9-792d-463f-a96d-bc5a36036d3f","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2303231525-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/89dd866d63d48bba04d8726489c6aab9.jpeg","path":"89dd866d63d48bba04d8726489c6aab9.jpeg","width":800,"height":900,"alt":"Nature Linen Slip Dress","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":36.55,"min_quantity":1}],"weight":"0.2","compare_at_price":"50","price":"36.55","retail_price":"50","available":true,"url":"\/products\/nature-linen-slip-dress?variant=cf43024a-4fcd-4ae8-ae2b-378ba3d869af","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":27,"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.