${function() {
const variantData = data.variant || {"id":"bd7119e9-b1fd-4ffe-89cb-0e6c5f578e7e","product_id":"9ebebced-96ad-4b53-9f59-08a3422ba886","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"SP230301VD1B-99526573","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/564850ae3cec177b2640888591e00ea5.jpeg","path":"564850ae3cec177b2640888591e00ea5.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"22.99","price":"22.99","retail_price":"22.99","available":true,"url":"\/products\/mens-sexy-soft-patent-leather-tank-top-7452797?variant=bd7119e9-b1fd-4ffe-89cb-0e6c5f578e7e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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.