${function() {
const variantData = data.variant || {"id":"bcf3b619-4fcb-4b2c-9b7d-71f4cd05984b","product_id":"13f253e9-b709-4fed-9c28-5d599754038f","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-04-KZ7Z3X3DRV-black-S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1a29bfa003a576ceb96970f6d9a86c36.jpeg","path":"1a29bfa003a576ceb96970f6d9a86c36.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"300","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/mens-cotton-and-linen-lace-casual-wristband-pocket-casual-shirt?variant=bcf3b619-4fcb-4b2c-9b7d-71f4cd05984b","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.