${function() {
const variantData = data.variant || {"id":"f8a07f0a-fac8-4d11-92c7-1383dd003ff5","product_id":"fa0d70cf-74b0-489c-8db9-65c3c52e08d5","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"WL2023A912374-Black-S","barcode":"","position":13,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/384831b9d0bf2b7dcebc69292e1571c0.jpg","path":"384831b9d0bf2b7dcebc69292e1571c0.jpg","width":1817,"height":2362,"alt":"Funtie The Fun Auntie Sweatshirt","aspect_ratio":0.7692633361558001},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35","retail_price":"55","available":true,"url":"\/products\/funtie-the-fun-auntie-sweatshirt?variant=f8a07f0a-fac8-4d11-92c7-1383dd003ff5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":36,"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.