${function() {
const variantData = data.variant || {"id":"28576d32-642b-423c-aa1a-5dc8a7afdc6f","product_id":"8d21759c-bcf7-4fff-a954-307c76d0600c","title":"5-11","weight_unit":"kg","inventory_quantity":999,"sku":"X103-230424-27-2MCPTN2WPM-4-11","barcode":"","position":1,"option1":"5","option2":"11","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d936a53f7c16bc3d50a17699f5eeef6d.jpeg","path":"d936a53f7c16bc3d50a17699f5eeef6d.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":3,"min_quantity":1}],"weight":"0.02","compare_at_price":"3","price":"3","retail_price":"3","available":true,"url":"\/products\/lgbt-pride-rainbow-personalized-phone-case?variant=28576d32-642b-423c-aa1a-5dc8a7afdc6f","available_quantity":999999999,"options":[{"name":"Color","value":"5"},{"name":"Model","value":"11"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.