${function() {
const variantData = data.variant || {"id":"1b5680a9-4648-4510-91a4-4411e0cd6110","product_id":"2031f72f-8406-4c3a-8937-7233ea7dc84f","title":"Tank top-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LUH0028600RTUS","barcode":"","position":1,"option1":"Tank top","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/16dd9d34c85dd0b3c455dfd89740728e.jpeg","path":"16dd9d34c85dd0b3c455dfd89740728e.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"33","price":"19.99","retail_price":"33","available":true,"url":"\/products\/unisex-fantasy-mushroom-world-art-illustration-printed-casual-tank-top-1?variant=1b5680a9-4648-4510-91a4-4411e0cd6110","available_quantity":999999999,"options":[{"name":"Style","value":"Tank top"},{"name":"Size","value":"S"}],"off_ratio":39,"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.