${function() {
const variantData = data.variant || {"id":"ecad4a02-37ea-42ef-ab59-2b02cacc078a","product_id":"9858f326-22e4-42ba-811f-e96be31320ce","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS263924-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b51614f087bc0df95bc024086beb482.jpeg","path":"7b51614f087bc0df95bc024086beb482.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"24.99","retail_price":"36.99","available":true,"url":"\/products\/womens-turtle-print-casual-t-shirt-3?variant=ecad4a02-37ea-42ef-ab59-2b02cacc078a","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":32,"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.