${function() {
const variantData = data.variant || {"id":"2265b8e4-a645-476f-9dd9-edd85b21c4d3","product_id":"f03959c0-9410-495a-bd4d-abf2a40da239","title":"khaki-L","weight_unit":"kg","inventory_quantity":0,"sku":"662209011948-khaki-L","barcode":"","position":4,"option1":"khaki","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/403d15c0a86beb2067fda529d33295da.jpeg","path":"403d15c0a86beb2067fda529d33295da.jpeg","width":800,"height":1000,"alt":"Macaron shoulder pad leisure two-piece set","aspect_ratio":0.8},"wholesale_price":[{"price":65.37,"min_quantity":1}],"weight":"0.5","compare_at_price":"128.18","price":"65.37","retail_price":"128.18","available":true,"url":"\/products\/macaron-shoulder-pad-leisure-two-piece-set?variant=2265b8e4-a645-476f-9dd9-edd85b21c4d3","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"L"}],"off_ratio":49,"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.