${function() {
const variantData = data.variant || {"id":"bb6edcb4-e5d4-4a3f-abc4-4fb7d45ab6b9","product_id":"17a271b2-03f5-40db-b910-9dd6717e672e","title":"Beige-S","weight_unit":"kg","inventory_quantity":-12,"sku":"WL2023A912199-Beige-S","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50f0090a7e2c73b782d504c1b0e75a76.jpg","path":"50f0090a7e2c73b782d504c1b0e75a76.jpg","width":2362,"height":3071,"alt":"Somebody\u2019s Feral Aunt 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\/somebody-s-feral-aunt-sweatshirt?variant=bb6edcb4-e5d4-4a3f-abc4-4fb7d45ab6b9","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"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.