${function() {
const variantData = data.variant || {"id":"3870183a-4637-406c-be7c-9ceca208fe44","product_id":"77cc0bab-6d43-43b0-b074-31b7ec99e435","title":"Wine Red-A-4.5","weight_unit":"kg","inventory_quantity":1000,"sku":"a-Wine Red-A-4.5-A0022861","barcode":"","position":1,"option1":"Wine Red-A","option2":"4.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/28b222e9217cb5fb0122b7f4a37b4b9d.jpeg","path":"28b222e9217cb5fb0122b7f4a37b4b9d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":57.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"57.99","retail_price":"79.99","available":true,"url":"\/products\/rhinestone-snow-boots?variant=3870183a-4637-406c-be7c-9ceca208fe44","available_quantity":1000,"options":[{"name":"Color (All styles are fleece)","value":"Wine Red-A"},{"name":"Size","value":"4.5"}],"off_ratio":28,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.