${function() {
const variantData = data.variant || {"id":"39cb95c1-64d6-4f3b-8e38-3ae9160f9fcb","product_id":"acbd271a-6a83-45d7-b65f-b769e36cdfd7","title":"green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-13-LHHFBA4BLV-green-S","barcode":"","position":11,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70b8816f71074547b2285c96683b88f5.jpeg","path":"70b8816f71074547b2285c96683b88f5.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"24.99","retail_price":"23.99","available":true,"url":"\/products\/mens-cotton-and-linen-solid-color-round-neck-short-sleeved-t-shirt?variant=39cb95c1-64d6-4f3b-8e38-3ae9160f9fcb","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"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.