${function() {
const variantData = data.variant || {"id":"ac33b24e-c2c1-45d1-92d0-c8e81c58f9fb","product_id":"f8041953-4b3d-4ee9-a431-004bcbcf0191","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"H23122902-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/53a6969c461627b35f017c48ed41b1a9.jpeg","path":"53a6969c461627b35f017c48ed41b1a9.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":38,"min_quantity":1}],"weight":"0","compare_at_price":"65","price":"38","retail_price":"65","available":true,"url":"\/products\/love-them-spoil-them-give-them-back-grandma-hoodieb726b88d-a97e-4e9a-b875-f59db3850679?variant=ac33b24e-c2c1-45d1-92d0-c8e81c58f9fb","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.