${function() {
const variantData = data.variant || {"id":"85a5f965-eb5e-4412-9e1c-7ce7e47acc35","product_id":"0efc0288-55eb-4c16-a573-f56ee96d8a22","title":"Orange-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV333378-ORA00S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/db0e72e7b7428e3f42c513663c3be715.jpeg","path":"db0e72e7b7428e3f42c513663c3be715.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"30.99","price":"18.99","retail_price":"30.99","available":true,"url":"\/products\/retro-goodbye-print-tank-top-2?variant=85a5f965-eb5e-4412-9e1c-7ce7e47acc35","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":1};
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.