${function() {
const variantData = data.variant || {"id":"975e52c4-af6e-4db3-a2ca-1567ed728a92","product_id":"d08c1518-3529-446d-a26a-3afedf1e3cef","title":"Orange-S","weight_unit":"kg","inventory_quantity":997,"sku":"PH1-220516-14-Orange-S","barcode":"","position":7,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d5b8e67e49b9dc9b9b58ad7e792fd9c.jpeg","path":"5d5b8e67e49b9dc9b9b58ad7e792fd9c.jpeg","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.04","price":"26.99","retail_price":"41.04","available":true,"url":"\/products\/2021-ethnic-retro-striped-hawaiian-shirt-11888906-variant-707870?variant=975e52c4-af6e-4db3-a2ca-1567ed728a92","available_quantity":997,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":13};
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.