${function() {
const variantData = data.variant || {"id":"ad57d617-7e52-45af-a26b-faad0f2ceb1e","product_id":"76995f26-27e8-4c7d-85dd-9b13ff398064","title":"coffee-L","weight_unit":"kg","inventory_quantity":99999996,"sku":"66211104796-coffee-L","barcode":"","position":1,"option1":"coffee","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4febe3b7bfe2f42690e432100b2756c6.jpeg","path":"4febe3b7bfe2f42690e432100b2756c6.jpeg","width":900,"height":1200,"alt":"Fashion casual loose solid color two-piece sets","aspect_ratio":0.75},"wholesale_price":[{"price":48.59,"min_quantity":1}],"weight":"0","compare_at_price":"69","price":"48.59","retail_price":"69","available":true,"url":"\/products\/fashion-casual-loose-solid-color-two-piece-sets?variant=ad57d617-7e52-45af-a26b-faad0f2ceb1e","available_quantity":999999999,"options":[{"name":"color","value":"coffee"},{"name":"size","value":"L"}],"off_ratio":30,"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.