${function() {
const variantData = data.variant || {"id":"41416c69-03cd-4af2-9b0d-50ee2ca28d33","product_id":"e2cddd66-c26d-4db1-8895-adfef0e941ba","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"20110621-black-s","barcode":"","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/537eea5feb1edc94e064b213af23300b.png","path":"537eea5feb1edc94e064b213af23300b.png","width":661,"height":651,"alt":"Cashmere Classic Elegant Suits","aspect_ratio":1.0153609831029187},"wholesale_price":[{"price":65.32,"min_quantity":1}],"weight":"1","compare_at_price":"76.85","price":"65.32","retail_price":"76.85","available":true,"url":"\/products\/cashmere-classic-elegant-suits?variant=41416c69-03cd-4af2-9b0d-50ee2ca28d33","available_quantity":999999999,"options":[{"name":"Color.","value":"black"},{"name":"Size","value":"s"}],"off_ratio":15,"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.