${function() {
const variantData = data.variant || {"id":"e0b507d6-bed2-4e2a-a18f-8ad2ad946e81","product_id":"fa0d70cf-74b0-489c-8db9-65c3c52e08d5","title":"Grey-S","weight_unit":"kg","inventory_quantity":-1,"sku":"WL2023A912374-Grey-S","barcode":"","position":7,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/620f08cbcc0f5b10be4604873f1c9ee7.jpg","path":"620f08cbcc0f5b10be4604873f1c9ee7.jpg","width":1080,"height":1404,"alt":"Funtie The Fun Auntie 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\/funtie-the-fun-auntie-sweatshirt?variant=e0b507d6-bed2-4e2a-a18f-8ad2ad946e81","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.