${function() {
const variantData = data.variant || {"id":"c48ad01b-844d-40cc-8cab-d4f1813988c1","product_id":"2aaa3509-d009-4c40-8532-79fdd2946e6f","title":"gray-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221024638-gray-one size","barcode":"","position":1,"option1":"gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/24939c52f1423b58397895ea51adb52d.jpeg","path":"24939c52f1423b58397895ea51adb52d.jpeg","width":800,"height":800,"alt":"Two Wear Half Zip Large Lapel Soft Waxy Sweater","aspect_ratio":1},"wholesale_price":[{"price":52.36,"min_quantity":1}],"weight":"0.6","compare_at_price":"60.66","price":"52.36","retail_price":"60.66","available":true,"url":"\/products\/two-wear-half-zip-large-lapel-soft-waxy-sweater?variant=c48ad01b-844d-40cc-8cab-d4f1813988c1","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"name":"size","value":"one size"}],"off_ratio":14,"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.