${function() {
const variantData = data.variant || {"id":"220b1269-3514-4e49-a981-f1f7e7ea9cf5","product_id":"c2606dc1-c3fd-4891-a7c7-fa6f96704490","title":"black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"662209032188-black-2XL","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0bd9b72e349182d0d80c340e61517c54.jpeg","path":"0bd9b72e349182d0d80c340e61517c54.jpeg","width":900,"height":1200,"alt":"Knit Turtleneck Loose Casual Two Piece","aspect_ratio":0.75},"wholesale_price":[{"price":51.94,"min_quantity":1}],"weight":"0.8","compare_at_price":"61.83","price":"51.94","retail_price":"61.83","available":true,"url":"\/products\/knit-turtleneck-loose-casual-two-piece?variant=220b1269-3514-4e49-a981-f1f7e7ea9cf5","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"2XL"}],"off_ratio":16,"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.