${function() {
const variantData = data.variant || {"id":"5312fa59-7478-4ace-a9aa-78dde33bad2b","product_id":"cd0988ba-dcc1-449b-a86c-445420feb870","title":"Beige-S","weight_unit":"kg","inventory_quantity":425,"sku":"WL2023A9121D8-Beige-S","barcode":"","position":11,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f27e8a600706eff41c14539b69641b94.jpg","path":"f27e8a600706eff41c14539b69641b94.jpg","width":1000,"height":1300,"alt":"Cool Aunts Club Sweatshirt","aspect_ratio":0.7692307692307693},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35","retail_price":"55","available":true,"url":"\/products\/cool-aunts-club-sweatshirt-a1yv?variant=5312fa59-7478-4ace-a9aa-78dde33bad2b","available_quantity":999999999,"options":[{"name":"COLOR","value":"Beige"},{"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.