${function() {
const variantData = data.variant || {"id":"5fa3b79f-5913-4f0b-92a0-ccf3c8353737","product_id":"b50d0eab-e3f6-42ef-b088-3a0e30f0dc88","title":"Dark Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS169429-DGY00S","barcode":"","position":1,"option1":"Dark Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c16540a95ae8e3883037d5325275ac8.jpeg","path":"4c16540a95ae8e3883037d5325275ac8.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.99","price":"24.99","retail_price":"38.99","available":true,"url":"\/products\/hippie-guitar-and-i-think-to-myself-what-a-wonderful-world-print-sweatshirt?variant=5fa3b79f-5913-4f0b-92a0-ccf3c8353737","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"},{"name":"Size","value":"S"}],"off_ratio":36,"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.