${function() {
const variantData = data.variant || {"id":"3ba6f22c-9c89-4828-8255-a8652bc38309","product_id":"cd0988ba-dcc1-449b-a86c-445420feb870","title":"Black-S","weight_unit":"kg","inventory_quantity":565,"sku":"WL2023A9121D8-Black-S","barcode":"","position":6,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c0cac7e76a09e14f63d5cb685ff03ed.jpg","path":"1c0cac7e76a09e14f63d5cb685ff03ed.jpg","width":1030,"height":1339,"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=3ba6f22c-9c89-4828-8255-a8652bc38309","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.