${function() {
const variantData = data.variant || {"id":"1530ca79-6ed9-4b70-8eb9-71c030b48813","product_id":"c207fef7-7ebf-4d1f-a38d-2e20c62f2eec","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"WL2023A91207A-White-S","barcode":"","position":13,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/809a28be3ef137c0feebd2602cb3165e.jpg","path":"809a28be3ef137c0feebd2602cb3165e.jpg","width":2362,"height":3073,"alt":"It\u2019s Me Hi I\u2019m The Cool Aunt T-shirt","aspect_ratio":0.768630003254149},"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"25","retail_price":"40","available":true,"url":"\/products\/it-s-me-hi-i-m-the-cool-aunt-t-shirt?variant=1530ca79-6ed9-4b70-8eb9-71c030b48813","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.