${function() {
const variantData = data.variant || {"id":"053a65fa-24dd-46f0-ae4b-9f96f06c9b5e","product_id":"70711cdb-5661-4ed8-a66c-7c4da7f33c91","title":"white-one size","weight_unit":"kg","inventory_quantity":0,"sku":"6622101341-white-one size","barcode":"","position":1,"option1":"white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/05bd014e6c234a1f7f895642c09c1f49.jpeg","path":"05bd014e6c234a1f7f895642c09c1f49.jpeg","width":1080,"height":1080,"alt":"Half Zip Lapel Loose Fit Knit Sweater","aspect_ratio":1},"wholesale_price":[{"price":47.49,"min_quantity":1}],"weight":"0.5","compare_at_price":"87.94","price":"47.49","retail_price":"87.94","available":true,"url":"\/products\/half-zip-lapel-loose-fit-knit-sweater?variant=053a65fa-24dd-46f0-ae4b-9f96f06c9b5e","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"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.