${function() {
const variantData = data.variant || {"id":"59449ec4-5174-4c69-ba3b-79bd78c041f7","product_id":"3330b778-e5f1-4425-948d-e3fb3a0dc1b5","title":"grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"162-240527-33-WT00036JQJ-grey-S","barcode":"","position":9,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1888a1e6266b0d6051b50d6af5adf62a.jpeg","path":"1888a1e6266b0d6051b50d6af5adf62a.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/independence-day-rainbow-element-i-may-be-straight-but-i-dont-hate-printed-t-shirt?variant=59449ec4-5174-4c69-ba3b-79bd78c041f7","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"name":"Size","value":"S"}],"off_ratio":0,"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.