${function() {
const variantData = data.variant || {"id":"7ba89a92-9283-4ec6-9178-7d8d383192f8","product_id":"469c8d54-4f1b-4888-aacb-c16d54ca8645","title":"Black-One Size","weight_unit":"lb","inventory_quantity":0,"sku":"20101505-black","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d5a09aeb1900057f7bfd760829ef45fb.png","path":"d5a09aeb1900057f7bfd760829ef45fb.png","width":685,"height":675,"alt":"Knitted Autumn And Winter High Neck Loose Sweater","aspect_ratio":1.0148148148148148},"wholesale_price":[{"price":41.25,"min_quantity":1}],"weight":"0","compare_at_price":"76.39","price":"41.25","retail_price":"76.39","available":true,"url":"\/products\/knitted-autumn-and-winter-high-neck-loose-sweater?variant=7ba89a92-9283-4ec6-9178-7d8d383192f8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":46,"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.