${function() {
const variantData = data.variant || {"id":"5a138a50-5b72-41b6-b5b1-035a63435266","product_id":"b1fcde62-b872-4efc-a075-5c1ac39aee8f","title":"Grey-S","weight_unit":"kg","inventory_quantity":-6,"sku":"WL2023A912077-Grey-S","barcode":"","position":7,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e62429f5e565e26d5a7c3ef25acd1fc0.jpg","path":"e62429f5e565e26d5a7c3ef25acd1fc0.jpg","width":2362,"height":3071,"alt":"In My Cool Aunt Era Sweatshirt","aspect_ratio":0.769130576359492},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35","retail_price":"55","available":true,"url":"\/products\/in-my-cool-aunt-era-sweatshirt?variant=5a138a50-5b72-41b6-b5b1-035a63435266","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.