${function() {
const variantData = data.variant || {"id":"38ad3f84-fc21-4ce1-bacd-df4b9bc88af7","product_id":"aee880d5-decf-4f6e-8aa9-e8aaaa760523","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS92189-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce8338856cc0b7dbc7931e3cb0b26ae6.jpeg","path":"ce8338856cc0b7dbc7931e3cb0b26ae6.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"19.99","retail_price":"34.99","available":true,"url":"\/products\/womens-bright-and-colourful-rainbow-sleeveless-tee-2?variant=38ad3f84-fc21-4ce1-bacd-df4b9bc88af7","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":43,"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.