${function() {
const variantData = data.variant || {"id":"b8163516-4fc1-4328-b580-7e439811d1de","product_id":"e1e4ab9b-fe06-45df-98ab-be118af2d3b4","title":"Wathet-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21010906-wathet-s","barcode":"","position":1,"option1":"Wathet","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/32dc730bcbe3cf51a46aa675cd001dba.jpeg","path":"32dc730bcbe3cf51a46aa675cd001dba.jpeg","width":600,"height":800,"alt":"Ladies casual long sleeve dress","aspect_ratio":0.75},"wholesale_price":[{"price":36.75,"min_quantity":1}],"weight":"0.36","compare_at_price":"59.78","price":"36.75","retail_price":"59.78","available":true,"url":"\/products\/ladies-casual-long-sleeve-dress-c1gg?variant=b8163516-4fc1-4328-b580-7e439811d1de","available_quantity":999999999,"options":[{"name":"Color","value":"Wathet"},{"name":"Size","value":"S"}],"off_ratio":39,"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.