${function() {
const variantData = data.variant || {"id":"11924591-fa9e-43f5-ad5a-356e44ec34f1","product_id":"9832776e-e491-4d49-aeca-89bd11dbb602","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS173146-GRY00S","barcode":"","position":7,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f128e97fc3342681f82634e0277a6695.jpeg","path":"f128e97fc3342681f82634e0277a6695.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"21.99","retail_price":"33.99","available":true,"url":"\/products\/hippie-what-a-wonderful-world-print-t-shirt?variant=11924591-fa9e-43f5-ad5a-356e44ec34f1","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":35,"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.