${function() {
const variantData = data.variant || {"id":"2e5a7090-5fa7-48d7-9a59-6733b7e6cf08","product_id":"5cfd821e-3f8c-4509-ac61-b836323106e5","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-27-XHYLZDQWH8-black-S","barcode":"","position":7,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4cc36789640eb11758bbab0ffe132e48.jpeg","path":"4cc36789640eb11758bbab0ffe132e48.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"300","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-linen-loose-stand-collar-solid-color-pocket-short-sleeve-shirt?variant=2e5a7090-5fa7-48d7-9a59-6733b7e6cf08","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"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.