${function() {
const variantData = data.variant || {"id":"d3b62772-168c-4227-a2ec-6cd90d63c051","product_id":"af71c76c-d7c5-418b-af94-599e9aaec17f","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV353134-GRN00S","barcode":"","position":13,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8adc2f019a972a58d51884553ae7bc76.jpeg","path":"8adc2f019a972a58d51884553ae7bc76.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"28.6","price":"19.99","retail_price":"28.6","available":true,"url":"\/products\/mens-god-is-love-print-tank-top8394ecb5-eb4d-4464-84f9-be802f7e02d3?variant=d3b62772-168c-4227-a2ec-6cd90d63c051","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":30,"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.