${function() {
const variantData = data.variant || {"id":"862c887c-518a-408b-ab28-bf4a3a0004b5","product_id":"ad73879e-df05-4818-9baf-ab8becfafd6b","title":"Grey-S","weight_unit":"kg","inventory_quantity":-4,"sku":"WL2023A912095-Grey-S","barcode":"","position":7,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e5035d78c1b4571021d28d55449c95d.jpg","path":"4e5035d78c1b4571021d28d55449c95d.jpg","width":2362,"height":3071,"alt":"Aunt Godmother Legend 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\/aunt-godmother-legend-sweatshirt?variant=862c887c-518a-408b-ab28-bf4a3a0004b5","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.