${function() {
const variantData = data.variant || {"id":"4263df5a-c6df-40fa-ac22-32bfa66fb3a0","product_id":"f03959c0-9410-495a-bd4d-abf2a40da239","title":"pink-L","weight_unit":"kg","inventory_quantity":0,"sku":"662209011948-pink-L","barcode":"","position":7,"option1":"pink","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8fd042f6b71ad350d35b09e44caacd12.jpeg","path":"8fd042f6b71ad350d35b09e44caacd12.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=4263df5a-c6df-40fa-ac22-32bfa66fb3a0","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"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.