${function() {
const variantData = data.variant || {"id":"e0230701-2e06-4756-ad3a-531cc2cb8fd7","product_id":"cd0988ba-dcc1-449b-a86c-445420feb870","title":"Grey-S","weight_unit":"kg","inventory_quantity":381,"sku":"WL2023A9121D8-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2fd5474b6a48b9b5857495f05c42b530.jpg","path":"2fd5474b6a48b9b5857495f05c42b530.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=e0230701-2e06-4756-ad3a-531cc2cb8fd7","available_quantity":999999999,"options":[{"name":"COLOR","value":"Grey"},{"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.