${function() {
const variantData = data.variant || {"id":"f08ad6c6-7472-4e37-a8c7-b21ca2064187","product_id":"04e204de-3903-4362-bc10-d242e44e9b67","title":"red-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211131620-red-S","barcode":"","position":4,"option1":"red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8d8bae5807850bb4278da49eeb282c83.jpeg","path":"8d8bae5807850bb4278da49eeb282c83.jpeg","width":800,"height":800,"alt":"All-match woolen shawl all-match small vest","aspect_ratio":1},"wholesale_price":[{"price":23.8,"min_quantity":1}],"weight":"0.17","compare_at_price":"40.34","price":"23.8","retail_price":"40.34","available":true,"url":"\/products\/all-match-woolen-shawl-all-match-small-vest?variant=f08ad6c6-7472-4e37-a8c7-b21ca2064187","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"S"}],"off_ratio":41,"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.