${function() {
const variantData = data.variant || {"id":"487321bd-8ea0-4b44-8aec-334a5d206d96","product_id":"31ceda98-24b9-41ff-8c81-8e52d7575b5c","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WL2023A9122D6-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c8fcd0f2c3f0547e544104d7979504c0.jpg","path":"c8fcd0f2c3f0547e544104d7979504c0.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-liwo?variant=487321bd-8ea0-4b44-8aec-334a5d206d96","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.