${function() {
const variantData = data.variant || {"id":"b64907a4-e759-4cfa-b6db-7f9920404c08","product_id":"89f234f5-d2b4-4695-858b-b836c65720d5","title":"Black-One-Size","weight_unit":"kg","inventory_quantity":1000,"sku":"AHT340418-BLAONE","barcode":"","position":1,"option1":"Black","option2":"One-Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1572f7e7b6981478f920176d38887c7b.jpeg","path":"1572f7e7b6981478f920176d38887c7b.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"15.18","price":"9.99","retail_price":"15.18","available":true,"url":"\/products\/unisex-be-kind-love-is-love-pride-month-rainbow-hat-d9dt?variant=b64907a4-e759-4cfa-b6db-7f9920404c08","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One-Size"}],"off_ratio":34,"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.