${function() {
const variantData = data.variant || {"id":"250498fb-b9a7-4986-8f5b-2bc798392a41","product_id":"b0693f06-4f3a-4d76-ba18-e70cdcb9c906","title":"red-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211021251-red-one size","barcode":"","position":1,"option1":"red","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4677ba3884977da1ae4a20babcac76e2.jpeg","path":"4677ba3884977da1ae4a20babcac76e2.jpeg","width":739,"height":739,"alt":"Sweet and gentle turtleneck button-down sweater","aspect_ratio":1},"wholesale_price":[{"price":38.94,"min_quantity":1}],"weight":"0.45","compare_at_price":"73.47","price":"38.94","retail_price":"73.47","available":true,"url":"\/products\/sweet-and-gentle-turtleneck-button-down-sweater?variant=250498fb-b9a7-4986-8f5b-2bc798392a41","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"one size"}],"off_ratio":47,"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.