${function() {
const variantData = data.variant || {"id":"bd29eaa8-544d-4edc-b93b-d99a116f56be","product_id":"b3b8d646-ab73-48f1-a844-d830b2da7a23","title":"White-M","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-17-R2VEZYRAQ5-White-M","barcode":"","position":11,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a5ef81606be9a09e17180af7f5424c32.jpeg","path":"a5ef81606be9a09e17180af7f5424c32.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=bd29eaa8-544d-4edc-b93b-d99a116f56be","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.