${function() {
const variantData = data.variant || {"id":"93016112-3d5b-46a4-ad3d-4ab0366a6c39","product_id":"b3b8d646-ab73-48f1-a844-d830b2da7a23","title":"beige-M","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-17-R2VEZYRAQ5-beige-M","barcode":"","position":6,"option1":"beige","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d056195a56c9f4918b1efdca84df64e4.jpeg","path":"d056195a56c9f4918b1efdca84df64e4.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"300","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/mens-casual-long-sleeve-pocket-loose-shirt?variant=93016112-3d5b-46a4-ad3d-4ab0366a6c39","available_quantity":999999999,"options":[{"name":"Color","value":"beige"},{"name":"Size","value":"M"}],"off_ratio":0,"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.