${function() {
const variantData = data.variant || {"id":"77c6a5a0-8887-405a-9595-749b8e31934f","product_id":"40781960-92eb-4e7f-8630-7e0108bb80e5","title":"Gray-S","weight_unit":"kg","inventory_quantity":-2,"sku":"WL2023A9120E9-Gray-S","barcode":"","position":7,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4533b28e9a1535274482786c5dd97af2.jpg","path":"4533b28e9a1535274482786c5dd97af2.jpg","width":2362,"height":3069,"alt":"I'm In My Aunt Era T-Shirt","aspect_ratio":0.7696318018898664},"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"25","retail_price":"40","available":true,"url":"\/products\/im-in-my-aunt-era-t-shirt?variant=77c6a5a0-8887-405a-9595-749b8e31934f","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":38,"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.